IVP-unit-1-color IP
IVP-unit-1-color IP
https://forms.gle/yUKFPAKs3YjdbAvr5
HVS - human visual system
65%: red 33%: green 2%: blue (blue cones are the most sensitive)
2
Interpretation of color image in human
3 types of photoreceptors:
sensitive to red, green, or blue light.
luminance
hue
saturation
4
Color models
1. CIE standard
2. RGB
3. HSI
4. CMYK
5. YUV
6. YIQ
7. YCbCr
5
RGB Color model
6
RGB Color model
7
Schematic of RGB color cube.
• normalized values of R,
G, B - assumed to be in
the range [0,1].
8
RGB Color model uses primary colors
9
RGB Color model
10
Applications: RGB Color model
11
Limitations of RGB color model-
• Device dependent
12
What color would a person see at first, middle and last
column of an image with size (M,N) and following R,G,B
profiles?
R G B
1 1 1
G
14
CMY(K) (Cyan Magenta Yellow (Black))
15
Color Models for Image – RGB Vs CMY
RGB to CMY
Cyan = White − Red
Magenta = White − Green
Yellow = White − Blue
CMY to RGB
Red = White − Cyan
Green = White −Magenta
Blue = White − Yellow
17
Color Models for Image – RGB Vs CMY
18
CMY Color model
19
RGB Vs CMY
20
Color models for Image – CMYK
21
Color models for Image – CMYK
Image separated for printing with The same image, separated with black. It
cyan, magenta, and yellow inks. minimizes use of ink
22
Limitations: CMY color model
23
What color would a person see at first, middle and last
column of an image with size (M,N) and following R,G,B
profiles?
R G B
1 1 1
G
25
Luminance Chrominance Color model
26
Luminance Chrominance Color model
27
YIQ model
28
YIQ model /NTSC color model
29
YIQ Color model
RGB Y
30
Q
I
Conversions- between Color models
Reverse transform is
31
HSI Color model
32
HSI Color model
33
HSI Color models
34
HSI Color models
35
RGB and HSI models
- increases counterclockwise
36
HSI Color models
• Saturation-
- The distance from the intensity axis corresponds to
“saturation”
- describes how pale the color is.
- values go from 0 to 100 or 1 (normalized) , from white to
the purest color.
37
Angle 0 =black
255 =saturation
Intensity
Pure color
38
Converting colors from RGB to HSI
S = 1 − ( 3 / (R+G+B) ) a
where a is the minimum of R, G and B
I=(R+G+B )/3
39
Converting colors from HSI to RGB
40
Converting colors from HSI to RGB
41
RGB to HSL: A Perceptual Transformation
luminance
42
THANK YOU
43