Assignment Week 11 24
Assignment Week 11 24
Assignment Week 11 24
QUESTION 1:
If Red, Green, and Blue have values 0, 150 and 150 respectively then its corresponding values in
HSI are
a. H = π , S = 0 and I = 100
b. H = 0 , S = 1 and I = 100
c. H = π , S = 1 and I = 100
Correct Answer: c.
Detailed Solution:
θ if B ≤ G ( R − G ) + ( R − B)
H = , where θ = cos −1 ,
360 − θ if B > G 2 ( R − G ) 2 + ( R − B)(G − B)
(0 − 150) + (0 − 150)
θ = cos −1 = π; H = π
2 (0 − 150) 2 + (0 − 150)(150 − 150)
3
S = 1− [min( R, G, B)] = 1 − 0 = 1
R+G+ B 300
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
R + G + B 0 + 150 + 150
I= = = 100
3 3
Hence option c is correct.
____________________________________________________________________________
QUESTION 2:
a. Inside
b. Outside
c. On boundaries
Correct Answer: c.
Detailed Solution:
Following chromaticity diagram, spectrum colors are present at boundaries because these are pure
colors.
Hence option c is correct.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
______________________________________________________________________________
QUESTION 3:
I. Hue (i) 0 - 2π
II. Saturation (ii) 0 – 255
III. Intensity (iii) 0 – 1
d) None of these
Correct Answer: b.
Detailed Solution:
Hue is angle measured from the red color axis in anticlockwise direction, in the color hexagon and
it lies in the range 0 to 2π. Intensity ranges from 0 to 255 and saturation can be 0 to 1 or 1 to 255
depending on the normalization.
______________________________________________________________________________
QUESTION 4:
Which of the following color models is suitable from perception point of view?
a) RGB
b) CMYK
c) HSI
Correct Answer: c.
Detailed Solution:
QUESTION 5:
Range of saturation in HSI model is _________________
a. 0 – 255
b. 0 – 2π
c. 0–π
d. 0-1
Correct Answer: d.
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Using the RGB to HSI color conversion relation, for saturation we have
3
S = 1− [min( R, G, B)],
R+G+ B
It is maximum when at least one R, G and B is zero, then S=1.
QUESTION 6:
If Red, Green, and Blue have values 100, 50 and 100 respectively then its corresponding
normalized values in CMY are
Correct Answer: b
Detailed Solution:
C 1 R
M= 1 − G
Y 1 B 𝐶𝐶 1 0.4
, �𝑀𝑀� = �1� − �0.2�,
𝑌𝑌 1 0.4
C = 0.6, M = 0.8 and Y= 0.6
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 7:
Which of the following expression is correct for conversion of RGB values to saturation of HSI
model?
3
a) S = 1 − [max(R, G, B)]
R+G+ B
3
b) S = 1 + [min( R, G, B)]
R+G+ B
3
c) S = 1 − [min( R, G, B)]
R+G + B
d) None of these
Correct Answer: c.
Detailed Solution:
Using the RGB to HSI color conversion relation, for saturation we have
3
S = 1− [min( R, G, B)]
R+G + B
______________________________________________________________________________
QUESTION 8:
In the RGB space given below, which of following point indicates white color?
a. A
b. B
c. C
d. D
Correct Answer: D
______________________________________________________________________________
QUESTION 9:
If Red, Green, and Blue have values 150, 100 and 50 respectively then its corresponding values
in HSI are
b. H = 0 , S = 1 and I = 85
Correct Answer: a
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
θ if B ≤ G ( R − G ) + ( R − B)
H = , where θ = cos −1 ,
360 − θ if B > G 2 ( R − G ) 2 + ( R − B)(G − B)
3
𝑆𝑆 = 1 − [𝑚𝑚𝑚𝑚𝑚𝑚( 𝑅𝑅, 𝐺𝐺, 𝐵𝐵)]
𝑅𝑅 + 𝐺𝐺 + 𝐵𝐵
𝑅𝑅 + 𝐺𝐺 + 𝐵𝐵
𝐼𝐼 =
3
Hence option a is correct.
______________________________________________________________________________
QUESTION 10:
Correct Answer: b.
Detailed Solution:
************END*******