SlideShare a Scribd company logo
1 of 34
Color image processing
Two principal factors
 The use of color in image processing is motivated by two
principal factors
1.color is a powerful descriptor that often simplifies object
identification and extraction from a scene.
2.Humans can discern thousands of color shades and
intensities compared to about only two dozen shades of gray.
Two major areas
 Color image processing is divided into two major areas
1. Full color and
2. Pseudocolor processing
 In Full-color processing the images are acquired with a full-color sensor ,such
as a color TV camera or color scanner.
 In Pseudo-color processing ,the problem is one of assigning a color to a
particular monochrome intensity or range of intensities.
Color fundamentals
 Sir Issac Newton discovered that when a beam of sunlight passes through a
glass prism the emerging beam of light is not white but consists instead of
continuous spectrum of colors ranging from violet at one end to red at the
other.
 Color spectrum may be divided into six broad regions as shown in fig.
 When viewed in full-color no color in the spectrum ends abruptly but rather
each color blends smoothly into the next.
 Visible light is composed of narrow band of frequencies.
 The colors that humans perceive in an object are determined by the nature
of light reflected from the object.
 A body that reflects light that is balanced in all visible wavelengths appears
white to the observer.
 A body that favors reflectance in a limited range of visible spectrum
exhibits some shades of color
 Ex. green objects reflect light with wavelengths primarily in 500 to 570nm
range while absorbing most of energy at other wavelengths.
 Characterization of light is central to the science of color.
 If light is achromatic, its only attribute is its intensity or amount.
 Achromatic light is what viewers see on a black and white television set.
 Chromatic light spans the electromagnetic spectrum from approximately
400 to 700nm.
 Three basic quantities use to describe quality of chromatic light source are
1.Radiance 2.Luminance 3.Brightness
 Radiance is the total amount of energy that flows from the light source and is
measured in watts(w).
 Luminance is the amount of energy an observer perceives from a light source
and is measured in lumens(lm).
 Brightness is the subjective descriptor that is practically impossible to measure
and it is one of the key factors in describing color sensation.
 Cones are the sensors in the eye responsible for color vision.
 6 to 7 millions cones in human eye can be divided into three principal sensing
categories such as red, green &blue.
 Approximately 65% of all cones are sensitive to red light.
 33% are sensitive to green light and
 2% are sensitive to blue.
Primary colors
 Due to the absorption characteristics of the human eye, colors are seen as
variable combinations of the so called primary colors red(R) ,green(G)
,blue(B) .
 Use of the word primary has been misinterpreted to mean that three
standard primaries when mixed in various intensity proportions can
produce all visible colors.
Secondary colors
 Primary colors can be added to produce the secondary colors of light.
 Magenta(red plus blue)
 Cyan(green plus blue)
 Yellow(red plus green)
 Mixing three primary colors or a secondary with its opposite primary color in
the right intensities produce white light .
 Primary colors of pigments is defined as one that
subtracts or absorbs a primary color of light and reflects or
transmits the other two.
 Therefore primary colors of pigments are magenta, cyan,
and yellow.
 The secondary colors are red, green and blue.
 A proper combination of three pigment primaries or a
secondary with its opposite primary produces black.
 The characteristics generally used to distinguish one color from
another are
i. Brightness
ii. Hue
iii. Saturation
 Brightness embodies the chromatic notion of intensity.
 Hue is an attribute associated with the dominant wavelength in
a mixture of light waves.
 Saturation refers to the relative purity or the amount of white
light mixed with a hue.
 Pure spectrum colors are fully saturated.
 Hue and saturation together are called chromaticity.
 Thus a color may be characterized by its brightness and
chromaticity.
 The amounts of red, green and blue needed to form any particular
color are called the tristimulus values and are denoted as x, y and
z respectively.
 A color is then specified by its trichromatic coefficients, defined
as

X=x/x+y+z y=y/x+y+z z=z/x+y+z
x+y+z=1
Chromaticity diagram
 Another approach for specifying colors is to use the chromaticity diagram, which
shows the color composition as a function of x(red) and y(green).for any value of x
and y the corresponding value of z(blue) is obtained from the equation.
 The positions of various spectrum colors-from violet at 380nm to red at 780nm are
indicated around the boundary of tongue shaped chromaticity diagram. these are
pure colors shown in the spectrum.
 The point of equal energy corresponds to equal fractions of three primary colors, it
represents the standard for white light.
 as a point leaves the boundary and approaches the point of equal energy more white
light is added to the color and it becomes less saturated.
 The saturation at the point of equal energy is zero.
 Chromaticity diagram is useful for color mixing
x+y+z=1
Color models
 The purpose of color model is to facilitate the specification of
colors in some standard, generally accepted way.
 Color model is a specification of a coordinate system and a
subspace within that system where each color is represented by
a single point.
 Most color models are oriented either toward hardware or
toward applications where color manipulations is a goal.
 The hardware- oriented models most commonly used in practice
are
 RGB model for color monitors and color video cameras.
 CMY,CMYK models for color printing and
 HSI model which corresponds closely with the way humans
describe and interpret the color.
RGB COLOR MODEL
 In this model each color appears in its primary spectral components of red,
green and blue.
 This model is based on cartesian coordinate system
 The color subspace of interest is the cube.
 All values of R,G and B are assumed to be in the range [0,1].
 Images represented in the RGB color model consist of three component
images, one for each primary color. when fed into an RGB monitor these
three images combine on the phosphor screen to produce a composite color
image.
 Each RGB color pixel is said to have a depth of 24 bits.
 The term full-color image is used often to denote a 24-bit RGB image.
CMY and CMYK color models
 When a surface coated with cyan pigment is illuminated with
white light, no red light is reflected from the surface.
 i.e. cyan subtracts red light from the reflected white light.
 Most devices that deposit colored pigments on paper, such as
color printers and copiers, require CMY data input or perform an
RGB to CMY conversion internally.
 This conversion is performed using simple operation
 Light reflected from the surface coated with pure cyan does not
contain red.
HSI color model
 Unfortunately the RGB,CMY and other similar color models are not well
suited for describing colors in terms that are practical for human
interpretation.
 When humans view a color object we describe it by its hue, saturation and
intensity.
 Hue is a color attribute that describes the pure color.
 Saturation gives the measure of degree to which a pure color is diluted by
white light.
 Brightness is a subjective descriptor.
 This model decouples the intensity component from the color carrying
information in a color image.
 HSI model is an ideal tool for developing image processing algorithms based
on color descriptions that are natural to humans.
 Thus we can summarize that RGB is ideal for image color generation but its
use for color description is much more limited.
Converting Colors from RGB to HSI
HSI component images
R,G,B Hue
saturation
intensity
Converting Colors from HIS to RGB
Converting Colors from HIS to RGB
Converting Colors from HIS to RGB
This is also called false color image processing
The Process of gray level to color transformations is known as pseudo color image
processing.
A Pseudo color image is derived from a gray scale image by mapping each pixel
value to a color according to the function.
Pseudo color Image Processing
There are two techniques for Pseudo color image processing.
1. Intensity Slicing ( sometimes called density slicing)
2. Intensity to color transformation
Pseudo color Image Processing Contd.,
Intensity slicing
 3-D view of intensity image
Image plane
Color 1
Color 2
Intensity slicing (cont.)
 Alternative representation of intensity
slicing
Application 1
8 color regions
Radiation test pattern
* See the gradual gray-level changes
Application 2
X-ray image of a weld
Gray Level to Color Transformations
Combine several monochrome images
R G
B
Near
Infrared
(sensitive
to biomass)
R+G+B near-infrared+G+B
Washington D.C.

More Related Content

Similar to Color image processing.ppt

Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processingkiruthiammu
 
Technical Report -Chromaticity Explained
Technical Report -Chromaticity ExplainedTechnical Report -Chromaticity Explained
Technical Report -Chromaticity ExplainedMartin Jesson
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 
Color theorykareemebrahim
Color theorykareemebrahimColor theorykareemebrahim
Color theorykareemebrahimKareem .
 
10 color image processing
10 color image processing10 color image processing
10 color image processingbabak danyal
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxEveCarolino
 
Color models in Digitel image processing
Color models in Digitel image processingColor models in Digitel image processing
Color models in Digitel image processingAryan Shivhare
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESEzhilya venkat
 
Color and color models
Color and color modelsColor and color models
Color and color modelsSafwan Hashmi
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphicsdhruv141293
 

Similar to Color image processing.ppt (20)

About Color
About ColorAbout Color
About Color
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Technical Report -Chromaticity Explained
Technical Report -Chromaticity ExplainedTechnical Report -Chromaticity Explained
Technical Report -Chromaticity Explained
 
Color image processing
Color image processingColor image processing
Color image processing
 
Color_Spaces.pptx
Color_Spaces.pptxColor_Spaces.pptx
Color_Spaces.pptx
 
3º Unit 1 Color
3º Unit 1 Color3º Unit 1 Color
3º Unit 1 Color
 
lecture3 color representation in computer graphics(Computer graphics tutorials)
lecture3 color representation in computer graphics(Computer graphics tutorials)lecture3 color representation in computer graphics(Computer graphics tutorials)
lecture3 color representation in computer graphics(Computer graphics tutorials)
 
Chap44
Chap44Chap44
Chap44
 
Colormodels
ColormodelsColormodels
Colormodels
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Color theorykareemebrahim
Color theorykareemebrahimColor theorykareemebrahim
Color theorykareemebrahim
 
Colormodels
ColormodelsColormodels
Colormodels
 
10 color image processing
10 color image processing10 color image processing
10 color image processing
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptx
 
Color models in Digitel image processing
Color models in Digitel image processingColor models in Digitel image processing
Color models in Digitel image processing
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTES
 
Colour spaces
Colour spacesColour spaces
Colour spaces
 
Color and color models
Color and color modelsColor and color models
Color and color models
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
 
Color models
Color modelsColor models
Color models
 

Recently uploaded

Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...ppkakm
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessorAshwiniTodkar4
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfsumitt6_25730773
 
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.pptxSCMS School of Architecture
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...ssuserdfc773
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxpritamlangde
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesChandrakantDivate1
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information SystemsAnge Felix NSANZIYERA
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257subhasishdas79
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 

Recently uploaded (20)

Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
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
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
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
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 

Color image processing.ppt

  • 2. Two principal factors  The use of color in image processing is motivated by two principal factors 1.color is a powerful descriptor that often simplifies object identification and extraction from a scene. 2.Humans can discern thousands of color shades and intensities compared to about only two dozen shades of gray.
  • 3. Two major areas  Color image processing is divided into two major areas 1. Full color and 2. Pseudocolor processing  In Full-color processing the images are acquired with a full-color sensor ,such as a color TV camera or color scanner.  In Pseudo-color processing ,the problem is one of assigning a color to a particular monochrome intensity or range of intensities.
  • 4. Color fundamentals  Sir Issac Newton discovered that when a beam of sunlight passes through a glass prism the emerging beam of light is not white but consists instead of continuous spectrum of colors ranging from violet at one end to red at the other.  Color spectrum may be divided into six broad regions as shown in fig.  When viewed in full-color no color in the spectrum ends abruptly but rather each color blends smoothly into the next.  Visible light is composed of narrow band of frequencies.
  • 5.  The colors that humans perceive in an object are determined by the nature of light reflected from the object.  A body that reflects light that is balanced in all visible wavelengths appears white to the observer.  A body that favors reflectance in a limited range of visible spectrum exhibits some shades of color  Ex. green objects reflect light with wavelengths primarily in 500 to 570nm range while absorbing most of energy at other wavelengths.  Characterization of light is central to the science of color.  If light is achromatic, its only attribute is its intensity or amount.  Achromatic light is what viewers see on a black and white television set.  Chromatic light spans the electromagnetic spectrum from approximately 400 to 700nm.
  • 6.  Three basic quantities use to describe quality of chromatic light source are 1.Radiance 2.Luminance 3.Brightness  Radiance is the total amount of energy that flows from the light source and is measured in watts(w).  Luminance is the amount of energy an observer perceives from a light source and is measured in lumens(lm).  Brightness is the subjective descriptor that is practically impossible to measure and it is one of the key factors in describing color sensation.  Cones are the sensors in the eye responsible for color vision.  6 to 7 millions cones in human eye can be divided into three principal sensing categories such as red, green &blue.  Approximately 65% of all cones are sensitive to red light.  33% are sensitive to green light and  2% are sensitive to blue.
  • 7. Primary colors  Due to the absorption characteristics of the human eye, colors are seen as variable combinations of the so called primary colors red(R) ,green(G) ,blue(B) .  Use of the word primary has been misinterpreted to mean that three standard primaries when mixed in various intensity proportions can produce all visible colors.
  • 8. Secondary colors  Primary colors can be added to produce the secondary colors of light.  Magenta(red plus blue)  Cyan(green plus blue)  Yellow(red plus green)  Mixing three primary colors or a secondary with its opposite primary color in the right intensities produce white light .
  • 9.  Primary colors of pigments is defined as one that subtracts or absorbs a primary color of light and reflects or transmits the other two.  Therefore primary colors of pigments are magenta, cyan, and yellow.  The secondary colors are red, green and blue.  A proper combination of three pigment primaries or a secondary with its opposite primary produces black.
  • 10.  The characteristics generally used to distinguish one color from another are i. Brightness ii. Hue iii. Saturation  Brightness embodies the chromatic notion of intensity.  Hue is an attribute associated with the dominant wavelength in a mixture of light waves.  Saturation refers to the relative purity or the amount of white light mixed with a hue.  Pure spectrum colors are fully saturated.
  • 11.  Hue and saturation together are called chromaticity.  Thus a color may be characterized by its brightness and chromaticity.  The amounts of red, green and blue needed to form any particular color are called the tristimulus values and are denoted as x, y and z respectively.  A color is then specified by its trichromatic coefficients, defined as  X=x/x+y+z y=y/x+y+z z=z/x+y+z x+y+z=1
  • 12. Chromaticity diagram  Another approach for specifying colors is to use the chromaticity diagram, which shows the color composition as a function of x(red) and y(green).for any value of x and y the corresponding value of z(blue) is obtained from the equation.  The positions of various spectrum colors-from violet at 380nm to red at 780nm are indicated around the boundary of tongue shaped chromaticity diagram. these are pure colors shown in the spectrum.  The point of equal energy corresponds to equal fractions of three primary colors, it represents the standard for white light.  as a point leaves the boundary and approaches the point of equal energy more white light is added to the color and it becomes less saturated.  The saturation at the point of equal energy is zero.  Chromaticity diagram is useful for color mixing x+y+z=1
  • 13.
  • 14. Color models  The purpose of color model is to facilitate the specification of colors in some standard, generally accepted way.  Color model is a specification of a coordinate system and a subspace within that system where each color is represented by a single point.  Most color models are oriented either toward hardware or toward applications where color manipulations is a goal.  The hardware- oriented models most commonly used in practice are  RGB model for color monitors and color video cameras.  CMY,CMYK models for color printing and  HSI model which corresponds closely with the way humans describe and interpret the color.
  • 15. RGB COLOR MODEL  In this model each color appears in its primary spectral components of red, green and blue.  This model is based on cartesian coordinate system  The color subspace of interest is the cube.  All values of R,G and B are assumed to be in the range [0,1].  Images represented in the RGB color model consist of three component images, one for each primary color. when fed into an RGB monitor these three images combine on the phosphor screen to produce a composite color image.  Each RGB color pixel is said to have a depth of 24 bits.  The term full-color image is used often to denote a 24-bit RGB image.
  • 16.
  • 17. CMY and CMYK color models  When a surface coated with cyan pigment is illuminated with white light, no red light is reflected from the surface.  i.e. cyan subtracts red light from the reflected white light.  Most devices that deposit colored pigments on paper, such as color printers and copiers, require CMY data input or perform an RGB to CMY conversion internally.  This conversion is performed using simple operation  Light reflected from the surface coated with pure cyan does not contain red.
  • 18. HSI color model  Unfortunately the RGB,CMY and other similar color models are not well suited for describing colors in terms that are practical for human interpretation.  When humans view a color object we describe it by its hue, saturation and intensity.  Hue is a color attribute that describes the pure color.  Saturation gives the measure of degree to which a pure color is diluted by white light.  Brightness is a subjective descriptor.  This model decouples the intensity component from the color carrying information in a color image.  HSI model is an ideal tool for developing image processing algorithms based on color descriptions that are natural to humans.  Thus we can summarize that RGB is ideal for image color generation but its use for color description is much more limited.
  • 19.
  • 20.
  • 22. HSI component images R,G,B Hue saturation intensity
  • 26. This is also called false color image processing The Process of gray level to color transformations is known as pseudo color image processing. A Pseudo color image is derived from a gray scale image by mapping each pixel value to a color according to the function. Pseudo color Image Processing
  • 27. There are two techniques for Pseudo color image processing. 1. Intensity Slicing ( sometimes called density slicing) 2. Intensity to color transformation Pseudo color Image Processing Contd.,
  • 28. Intensity slicing  3-D view of intensity image Image plane Color 1 Color 2
  • 29. Intensity slicing (cont.)  Alternative representation of intensity slicing
  • 30. Application 1 8 color regions Radiation test pattern * See the gradual gray-level changes
  • 32. Gray Level to Color Transformations
  • 34. R G B Near Infrared (sensitive to biomass) R+G+B near-infrared+G+B Washington D.C.