SlideShare a Scribd company logo
1 of 43
Digital Image Processing
Color Image Processing – The
Electromagnetic Spectrum, Color
Fundamentals and Color Models
Digital Image Processing
2
Color Image Processing - 1
Color and electromagnetic spectrum
Primary colors
Chromaticity diagram
Color models
RGB model
CMY model
HSI model
Outline
Digital Image Processing
Color Image Processing
Motivation
Color powerful descriptor- object identification
and extraction in image analysis
Human discern thousands of colors shades and
intensities.
3
Digital Image Processing
Color Image processing is divided into two majoe areas
Full Color Image Processing- Publishing ,
visualization, internet.
Pseudo color image processing
4
Digital Image Processing
5
Color Image Processing - 1
When passing through a prism, a beam of sunlight is
decomposed into a spectrum of colors : violet, blue, green,
yellow, orange, red
Color spectrum
Digital Image Processing
6
Color Image Processing - 1
Ultraviolet – visible light – infrared
The longer the wavelength (meter), the lower the
frequency (Hz), the lower the energy (electron volts)
Electromagnetic spectrum
Digital Image Processing
Color Fundamentals
Achromatic Light- attribute is intensity.
Chromatic light- 400nm- 700nm - Three attributes
Radiance
Luminance
Brightness
7
Digital Image Processing
8
Color Image Processing - 1
LANDSAT
The first Landsat satellite was launched in 1972
Landsat 7 was launched on April 15, 1999
Landsat 7 sensors: Enhanced Thematic Mapper Plus (ETM+)
Landsat 7 Home page : http://landsat7.usgs.gov/index.php
NASA Landsat 7 Home page : http://landsat.gsfc.nasa.gov/
Multispectral imaging
Digital Image Processing
9
Color Image Processing - 1
Multispectral imaging - example
Southern California Fires
Acquired on: Oct 26, 2003
Wildfires rage through the San Bernadino and
San Diego counties in southern California,
with as many as eight separate fires burning
in the heavily populated area.
Digital Image Processing
10
Color Image Processing - 1
AVIRIS (Airborne Visible-Infrared Imaging Spectrometer)
Number of bands : 224
Wavelength range (um) : 0.4-2.5
Image size : 512 x 614
Home page : http://makalu.jpl.nasa.gov/html/overview.html
Spectrum range
Visible light : 0.4 – 0.77 um
Near infrared : 0.77 – 1.5 um
Medium infrared : 1.6 – 6 um
Far infrared : 8 – 40 um
Hyperspectral imaging
Digital Image Processing
11
Color Image Processing - 1
What does it mean when we say an object is in certain
color?
Why the primary colors of human vision are red, green,
and blue?
Is it true that different portions of red, green, and blue can
produce all the visible color?
What kind of color model is the most suitable one to
describe the human vision?
Questions
Digital Image Processing
12
Color Image Processing - 1
Illuminating and reflecting light
Light source
Emit energy in a range of wavelength
Its intensity may vary in both space and time
Illuminating sources
Emit light (e.g. the sun, light bulb, TV monitors)
Perceived color depends on the emitted freq.
Follows additive rule: R+G+B = White
Reflecting sources
Reflect an incident light (e.g. the color dye, matte surface, cloth)
Perceived color depends on reflected freq (=incident freq – absorbed freq.)
Follows subtractive rule: R+G+B = Black
Digital Image Processing
13
Color Image Processing - 1
Human perception of color
Retina contains photo receptors
Rods: night vision, perceive brightness only
Cones : day vision, can perceive color tone
Cones are divided into three sensible categories
65 % percent of cones are sensible to red light
33 % percent of cones are sensible to green light
2% percent of cones are sensible to blue light
Different cones have different frequency responses
Tri-receptor theory of color vision: the perceived color depends only
on three numbers, Cr, Cg, Cb, rather than the complete light spectrum.
Digital Image Processing
14
Color Image Processing - 1
Human perception of color (cont’)











d
a
C
Y
b
g
r
i
d
a
C
C
Y
i
i
)
(
)
(
,
,
,
)
(
)
(
Digital Image Processing
15
Color Image Processing - 1
For this reason, red, green, and blue are referred to as the
primary colors of human vision. CIE (the international
Commission on Illumination) standard designated three
specific wavelength to these three colors in 1931.
Red : 700 nm
Green : 546.1 nm
Blue : 435.8 nm
Primary colors of human vision
Digital Image Processing
16
Color Image Processing - 1
No single color may be called red, green, or blue.
R, G, B are only specified by standard.
The primary colors can not produce all the visible colors.
Some clarification
Digital Image Processing
17
Color Image Processing - 1
Magenta (R+B)
Cyan (G+B)
Yellow (R+G)
Secondary colors
Color TV reception-additive nature of light
colors
Digital Image Processing
18
Color Image Processing - 1
The characteristics used to distinguish one color from
another are:
Brightness : achromatic notion of intensity
Hue : dominant color (dominant wavelength in a mixture
of light waves) perceived by an observer
Saturation : relative purity or the amount of white mixed
with a hue
Color characterization
Digital Image Processing
19
Color Image Processing - 1
So when we call an object red, orange, etc., we refer to its
hue.
Some clarification
Digital Image Processing
20
Color Image Processing - 1
Chromaticity = hue +
saturation
Tristimulus : the amount
of R, G, and B needed to
form any color (R, G, B)
Trichromatic coefficients :
x, y, z
Chromaticity
1












z
y
x
Z
Y
X
Z
z
Z
Y
X
Y
y
Z
Y
X
X
x
Digital Image Processing
21
Color Image Processing - 1
CIE standard (1931)
Shows all the possible colors
Questions
Can different portions of R, G,
and B create all the possible
colors?
Where is the brown in the
diagram?
Chromaticity diagram
Digital Image Processing
22
Color Image Processing - 1
A triangle can never cover the
house-shoe shape diagram
Chromaticity diagram only
shows dominant wavelengths
and the saturation, and is
independent of the amount of
luminous energy (brightness)
Answers
Digital Image Processing
23
Color Image Processing - 1
RGB model
Color monitor, color video cameras
CMY model
Color printer
HSI model
Color image manipulation
XYZ (CIE standard, Y directly measures the luminance)
YUV (used in PAL color TV)
YIQ (used in NTSC color TV)
YCbCr (used in digital color TV standard BT.601)
Color models
Digital Image Processing
24
Color Image Processing - 1
Color monitors, color
video cameras
Pixel depth : number of
bits used to represent each
pixel
RGB model
Digital Image Processing
25
Color Image Processing - 1
Color printer and copier
Deposit colored pigment on paper
Relationship with RGB model
CMY model






















B
G
R
Y
M
C
1
Digital Image Processing
26
Color Image Processing - 1
The intensity component (I) is decoupled from the color
components (H and S), so it is ideal for image processing
algorithm development.
H and S are closely related to the way human visual
system perceives colors.
HIS space is represented by a vertical intensity axis
&locus of color points that lie on planes perpendicular to
this axis.
As plane move up & down the intensity axis, the
boundaries defined by intersection of each plane with the
faces of cube have a triangular or hexagonal shape
HSI model
Digital Image Processing
27
Color Image Processing - 1
HSI model (cont’)
Digital Image Processing
28
Color Image Processing - 1
HSI model (cont’)
The primary colors are separated by 120
degree. Primary & secondary by 60 &
secondaries by 120
Digital Image Processing
29
Color Image Processing - 1
Converting from RGB to HSI
Converting from HSI to RGB
Model conversion between RGB and HSI
 
 
 
)
(
3
1
)
,
,
min(
)
(
3
1
)
)(
(
)
(
)
(
)
(
2
1
cos
360
2
1
2
1
B
G
R
I
B
G
R
B
G
R
S
B
G
B
R
G
R
B
R
G
R
G
B
if
G
B
if
H




































Digital Image Processing
30
Color Image Processing - 1
Model conversion between RGB and YCbCr
]
240
16
[
,
],
235
,
16
[
128
128
16
000
.
0
017
.
2
164
.
1
813
.
0
329
.
0
164
.
1
598
.
1
000
.
0
164
.
1
128
128
16
071
.
0
368
.
0
439
.
0
439
.
0
291
.
0
148
.
0
098
.
0
504
.
0
257
.
0





















































































Cr
Cb
Y
Cr
Cb
Y
B
G
R
B
G
R
Cr
Cb
Y
Digital Image Processing
Color Image Processing
Digital Image Processing
32
Color Image Processing - 2
Pseudo-color image processing
Full-color image processing
Outline
Digital Image Processing
33
Color Image Processing - 2
Assign color to monochrome images
Perform three independent transformations on the gray
level of any input pixel
The three result can then serve as the red, green, and blue
component of a color image
Pseudo-color image processing
Digital Image Processing
34
Color Image Processing - 2
Pseudo-color image processing (cont’)
Digital Image Processing
35
Color Image Processing - 2
Pseudo-color image processing (cont’)
Digital Image Processing
36
Color Image Processing - 2
Pseudo-color image processing (cont’)
Digital Image Processing
37
Color Image Processing - 2
Multiple monochrome images
Digital Image Processing
38
Color Image Processing - 2
Multiple monochrome images (cont’)
Digital Image Processing
39
Color Image Processing - 2
Use HSI color model to process the image
Use RGB model to display the image
The correspondence between RGB and HSI
Full-color image processing
Digital Image Processing
MTF of Visual system
MTF-Modulation transfer function
It is a graphical response of visual system in spatial
coordinates
MTF can never be negative
It shows the image contrast sensitivity of visual system as
a function of spatial frequency.
The optical transfer function (OTF) of an optical system
such as a camera, microscope, human eye,
or projector specifies how different spatial frequencies are
handled by the system.
40
Digital Image Processing
MTF = |OTF|
= |H(f1,f2)/H(0,0)|
MTF can also be defined as ratio of magnitude of Fourier
transform of i/p & o/p images
Different for different viewers & different viewing angles.
Graphical MTF of human system- bandpass filter
MTF(total) = MTF1*MTF2*MTF3……
41
Digital Image Processing
Statistical Parameters
42
Digital Image Processing
43

More Related Content

Similar to ch1ip.ppt

Project report_DTRL_subrat
Project report_DTRL_subratProject report_DTRL_subrat
Project report_DTRL_subrat
Subrat Prasad
 

Similar to ch1ip.ppt (20)

Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
 
color image processing
color image processingcolor image processing
color image processing
 
Color fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingColor fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image Processing
 
MM3.ppt
MM3.pptMM3.ppt
MM3.ppt
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
 
Color image processing
Color image processingColor image processing
Color image processing
 
Lect 02 second portion
Lect 02  second portionLect 02  second portion
Lect 02 second portion
 
Chapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woodsChapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woods
 
Color models
Color modelsColor models
Color models
 
DIP.ppt
DIP.pptDIP.ppt
DIP.ppt
 
image-pro.ppt
image-pro.pptimage-pro.ppt
image-pro.ppt
 
Project report_DTRL_subrat
Project report_DTRL_subratProject report_DTRL_subrat
Project report_DTRL_subrat
 
The Importance of Terminology and sRGB Uncertainty - Notes - 0.5
The Importance of Terminology and sRGB Uncertainty - Notes - 0.5The Importance of Terminology and sRGB Uncertainty - Notes - 0.5
The Importance of Terminology and sRGB Uncertainty - Notes - 0.5
 
Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)
 
quantization and sampling presentation ppt
quantization and sampling presentation pptquantization and sampling presentation ppt
quantization and sampling presentation ppt
 
An investigation for steganography using different color system
An investigation for steganography using different color systemAn investigation for steganography using different color system
An investigation for steganography using different color system
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Technical concepts for graphic design production 4
Technical concepts for graphic design production 4Technical concepts for graphic design production 4
Technical concepts for graphic design production 4
 
Unit ii
Unit iiUnit ii
Unit ii
 

More from ShabanamTamboli1 (6)

Different addressing modes in microcontrollers
Different addressing modes in microcontrollersDifferent addressing modes in microcontrollers
Different addressing modes in microcontrollers
 
Image Enhancement in the Spatial Domain1.ppt
Image Enhancement in the Spatial Domain1.pptImage Enhancement in the Spatial Domain1.ppt
Image Enhancement in the Spatial Domain1.ppt
 
PIC Presentation_final updated.pptx
PIC Presentation_final updated.pptxPIC Presentation_final updated.pptx
PIC Presentation_final updated.pptx
 
ImageProcessing1-Introduction.ppt
ImageProcessing1-Introduction.pptImageProcessing1-Introduction.ppt
ImageProcessing1-Introduction.ppt
 
Chapter01 Lecture 1.ppt
Chapter01 Lecture 1.pptChapter01 Lecture 1.ppt
Chapter01 Lecture 1.ppt
 
chap01 visual perception.pptx
chap01 visual perception.pptxchap01 visual perception.pptx
chap01 visual perception.pptx
 

Recently uploaded

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 

Recently uploaded (20)

Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 

ch1ip.ppt

  • 1. Digital Image Processing Color Image Processing – The Electromagnetic Spectrum, Color Fundamentals and Color Models
  • 2. Digital Image Processing 2 Color Image Processing - 1 Color and electromagnetic spectrum Primary colors Chromaticity diagram Color models RGB model CMY model HSI model Outline
  • 3. Digital Image Processing Color Image Processing Motivation Color powerful descriptor- object identification and extraction in image analysis Human discern thousands of colors shades and intensities. 3
  • 4. Digital Image Processing Color Image processing is divided into two majoe areas Full Color Image Processing- Publishing , visualization, internet. Pseudo color image processing 4
  • 5. Digital Image Processing 5 Color Image Processing - 1 When passing through a prism, a beam of sunlight is decomposed into a spectrum of colors : violet, blue, green, yellow, orange, red Color spectrum
  • 6. Digital Image Processing 6 Color Image Processing - 1 Ultraviolet – visible light – infrared The longer the wavelength (meter), the lower the frequency (Hz), the lower the energy (electron volts) Electromagnetic spectrum
  • 7. Digital Image Processing Color Fundamentals Achromatic Light- attribute is intensity. Chromatic light- 400nm- 700nm - Three attributes Radiance Luminance Brightness 7
  • 8. Digital Image Processing 8 Color Image Processing - 1 LANDSAT The first Landsat satellite was launched in 1972 Landsat 7 was launched on April 15, 1999 Landsat 7 sensors: Enhanced Thematic Mapper Plus (ETM+) Landsat 7 Home page : http://landsat7.usgs.gov/index.php NASA Landsat 7 Home page : http://landsat.gsfc.nasa.gov/ Multispectral imaging
  • 9. Digital Image Processing 9 Color Image Processing - 1 Multispectral imaging - example Southern California Fires Acquired on: Oct 26, 2003 Wildfires rage through the San Bernadino and San Diego counties in southern California, with as many as eight separate fires burning in the heavily populated area.
  • 10. Digital Image Processing 10 Color Image Processing - 1 AVIRIS (Airborne Visible-Infrared Imaging Spectrometer) Number of bands : 224 Wavelength range (um) : 0.4-2.5 Image size : 512 x 614 Home page : http://makalu.jpl.nasa.gov/html/overview.html Spectrum range Visible light : 0.4 – 0.77 um Near infrared : 0.77 – 1.5 um Medium infrared : 1.6 – 6 um Far infrared : 8 – 40 um Hyperspectral imaging
  • 11. Digital Image Processing 11 Color Image Processing - 1 What does it mean when we say an object is in certain color? Why the primary colors of human vision are red, green, and blue? Is it true that different portions of red, green, and blue can produce all the visible color? What kind of color model is the most suitable one to describe the human vision? Questions
  • 12. Digital Image Processing 12 Color Image Processing - 1 Illuminating and reflecting light Light source Emit energy in a range of wavelength Its intensity may vary in both space and time Illuminating sources Emit light (e.g. the sun, light bulb, TV monitors) Perceived color depends on the emitted freq. Follows additive rule: R+G+B = White Reflecting sources Reflect an incident light (e.g. the color dye, matte surface, cloth) Perceived color depends on reflected freq (=incident freq – absorbed freq.) Follows subtractive rule: R+G+B = Black
  • 13. Digital Image Processing 13 Color Image Processing - 1 Human perception of color Retina contains photo receptors Rods: night vision, perceive brightness only Cones : day vision, can perceive color tone Cones are divided into three sensible categories 65 % percent of cones are sensible to red light 33 % percent of cones are sensible to green light 2% percent of cones are sensible to blue light Different cones have different frequency responses Tri-receptor theory of color vision: the perceived color depends only on three numbers, Cr, Cg, Cb, rather than the complete light spectrum.
  • 14. Digital Image Processing 14 Color Image Processing - 1 Human perception of color (cont’)            d a C Y b g r i d a C C Y i i ) ( ) ( , , , ) ( ) (
  • 15. Digital Image Processing 15 Color Image Processing - 1 For this reason, red, green, and blue are referred to as the primary colors of human vision. CIE (the international Commission on Illumination) standard designated three specific wavelength to these three colors in 1931. Red : 700 nm Green : 546.1 nm Blue : 435.8 nm Primary colors of human vision
  • 16. Digital Image Processing 16 Color Image Processing - 1 No single color may be called red, green, or blue. R, G, B are only specified by standard. The primary colors can not produce all the visible colors. Some clarification
  • 17. Digital Image Processing 17 Color Image Processing - 1 Magenta (R+B) Cyan (G+B) Yellow (R+G) Secondary colors Color TV reception-additive nature of light colors
  • 18. Digital Image Processing 18 Color Image Processing - 1 The characteristics used to distinguish one color from another are: Brightness : achromatic notion of intensity Hue : dominant color (dominant wavelength in a mixture of light waves) perceived by an observer Saturation : relative purity or the amount of white mixed with a hue Color characterization
  • 19. Digital Image Processing 19 Color Image Processing - 1 So when we call an object red, orange, etc., we refer to its hue. Some clarification
  • 20. Digital Image Processing 20 Color Image Processing - 1 Chromaticity = hue + saturation Tristimulus : the amount of R, G, and B needed to form any color (R, G, B) Trichromatic coefficients : x, y, z Chromaticity 1             z y x Z Y X Z z Z Y X Y y Z Y X X x
  • 21. Digital Image Processing 21 Color Image Processing - 1 CIE standard (1931) Shows all the possible colors Questions Can different portions of R, G, and B create all the possible colors? Where is the brown in the diagram? Chromaticity diagram
  • 22. Digital Image Processing 22 Color Image Processing - 1 A triangle can never cover the house-shoe shape diagram Chromaticity diagram only shows dominant wavelengths and the saturation, and is independent of the amount of luminous energy (brightness) Answers
  • 23. Digital Image Processing 23 Color Image Processing - 1 RGB model Color monitor, color video cameras CMY model Color printer HSI model Color image manipulation XYZ (CIE standard, Y directly measures the luminance) YUV (used in PAL color TV) YIQ (used in NTSC color TV) YCbCr (used in digital color TV standard BT.601) Color models
  • 24. Digital Image Processing 24 Color Image Processing - 1 Color monitors, color video cameras Pixel depth : number of bits used to represent each pixel RGB model
  • 25. Digital Image Processing 25 Color Image Processing - 1 Color printer and copier Deposit colored pigment on paper Relationship with RGB model CMY model                       B G R Y M C 1
  • 26. Digital Image Processing 26 Color Image Processing - 1 The intensity component (I) is decoupled from the color components (H and S), so it is ideal for image processing algorithm development. H and S are closely related to the way human visual system perceives colors. HIS space is represented by a vertical intensity axis &locus of color points that lie on planes perpendicular to this axis. As plane move up & down the intensity axis, the boundaries defined by intersection of each plane with the faces of cube have a triangular or hexagonal shape HSI model
  • 27. Digital Image Processing 27 Color Image Processing - 1 HSI model (cont’)
  • 28. Digital Image Processing 28 Color Image Processing - 1 HSI model (cont’) The primary colors are separated by 120 degree. Primary & secondary by 60 & secondaries by 120
  • 29. Digital Image Processing 29 Color Image Processing - 1 Converting from RGB to HSI Converting from HSI to RGB Model conversion between RGB and HSI       ) ( 3 1 ) , , min( ) ( 3 1 ) )( ( ) ( ) ( ) ( 2 1 cos 360 2 1 2 1 B G R I B G R B G R S B G B R G R B R G R G B if G B if H                                    
  • 30. Digital Image Processing 30 Color Image Processing - 1 Model conversion between RGB and YCbCr ] 240 16 [ , ], 235 , 16 [ 128 128 16 000 . 0 017 . 2 164 . 1 813 . 0 329 . 0 164 . 1 598 . 1 000 . 0 164 . 1 128 128 16 071 . 0 368 . 0 439 . 0 439 . 0 291 . 0 148 . 0 098 . 0 504 . 0 257 . 0                                                                                      Cr Cb Y Cr Cb Y B G R B G R Cr Cb Y
  • 31. Digital Image Processing Color Image Processing
  • 32. Digital Image Processing 32 Color Image Processing - 2 Pseudo-color image processing Full-color image processing Outline
  • 33. Digital Image Processing 33 Color Image Processing - 2 Assign color to monochrome images Perform three independent transformations on the gray level of any input pixel The three result can then serve as the red, green, and blue component of a color image Pseudo-color image processing
  • 34. Digital Image Processing 34 Color Image Processing - 2 Pseudo-color image processing (cont’)
  • 35. Digital Image Processing 35 Color Image Processing - 2 Pseudo-color image processing (cont’)
  • 36. Digital Image Processing 36 Color Image Processing - 2 Pseudo-color image processing (cont’)
  • 37. Digital Image Processing 37 Color Image Processing - 2 Multiple monochrome images
  • 38. Digital Image Processing 38 Color Image Processing - 2 Multiple monochrome images (cont’)
  • 39. Digital Image Processing 39 Color Image Processing - 2 Use HSI color model to process the image Use RGB model to display the image The correspondence between RGB and HSI Full-color image processing
  • 40. Digital Image Processing MTF of Visual system MTF-Modulation transfer function It is a graphical response of visual system in spatial coordinates MTF can never be negative It shows the image contrast sensitivity of visual system as a function of spatial frequency. The optical transfer function (OTF) of an optical system such as a camera, microscope, human eye, or projector specifies how different spatial frequencies are handled by the system. 40
  • 41. Digital Image Processing MTF = |OTF| = |H(f1,f2)/H(0,0)| MTF can also be defined as ratio of magnitude of Fourier transform of i/p & o/p images Different for different viewers & different viewing angles. Graphical MTF of human system- bandpass filter MTF(total) = MTF1*MTF2*MTF3…… 41