SlideShare une entreprise Scribd logo
1  sur  63
Télécharger pour lire hors ligne
Color Image Processing : 1
Color Image ProcessingColor Image Processing
Color Image Processing : 2
Visible LightVisible Light
Visible light composed of relatively narrow band of frequencies in
electromagnetic spectrum
Chromatic light spans EM spectrum from around 400 to 700 nm
Color Image Processing : 3
Color PerceptionColor Perception
Perceived color of an object based on nature of light reflected from
object
Examples:
If object reflects light that's balanced from all visible
wavelengths, object is perceived as white
If object reflects light with wavelengths mainly in the 575 to
625nm range, object is perceived as red
Color Image Processing : 4
Cones RevisitedCones Revisited
6 to 7 million cones in the human eye
Divided into three main types:
L cones (65%)
 Maximally sensitive to long wavelengths (e.g., red)
M cones (33%)
 Maximally sensitive to medium wavelengths (e.g., green)
S cones (2%)
 Maximally sensitive to short wavelengths (e.g., blue)
Color Image Processing : 5
Light Absorption of ConesLight Absorption of Cones
Visible colors can be visualized as weighted combination of primary colors
red, green, and blue
Color Image Processing : 6
Mixtures of Light vs. Mixtures of PigmentsMixtures of Light vs. Mixtures of Pigments
Mixture of light primaries additive
Mixture of pigment primaries subtractive
Color Image Processing : 7
CIE Chromaticity DiagramCIE Chromaticity Diagram
A method for specifying colors
Specifies color composition as function of x (red) and y (green)
For any value of x and y, value of z (blue) can be found as
The (x,y,z) values of a color specifies percentage of red, green, and
blue needed to form the color (Trichromatic Coefficients)
1 ( )z x y= − +
Color Image Processing : 8
CIE Chromaticity DiagramCIE Chromaticity Diagram
Color Image Processing : 9
CIE Chromaticity DiagramCIE Chromaticity Diagram
Color Image Processing : 10
CIE Chromaticity DiagramCIE Chromaticity Diagram
InterpretationInterpretation
Pure spectrum colors located around boundary
All non-boundary colors are mixture of spectrum colors
Point of equal energy corresponds to equal fractions of the three
primary colors
CIE standard for white light
Straight line segment joining two points define all colors that can be
created by mixing these two colors additively
Color Image Processing : 11
RGB Color ModelRGB Color Model
Primarily used for displays and cameras
Based on Cartesian coordinate system
Three axis represents intensities of red, green, and blue
Gray scale (points of equal RGB values) extends from black (0,0,0)
to white (1,1,1)
Example: 24-bit color (Truecolor)
8-bits (256 levels) are used to represent each channel
Gives a total of (256)3
=16,777,216 possible colors!
Color Image Processing : 12
RGB Color Model VisualizationRGB Color Model Visualization
Color Image Processing : 13
CMY/CMYK Color ModelsCMY/CMYK Color Models
Primarily used for printing
Based on primary colors of pigments
For CMY, the three axis represent the amount of cyan, magenta,
and yellow pigments to put in to produce a certain color
1
1
1
C R
M G
Y B
     
     = −     
          
Color Image Processing : 14
Why K?Why K?
In theory, equal amounts of cyan, magenta, and yellow produces
black
In practice, combining them results in muddy-looking black
To produce true black in printing, a fourth color (black) is added to
produce the CYMK color model
Color Image Processing : 15
Pros and Cons of RGBPros and Cons of RGB
Advantages of RGB model:
Straightforward (great for hardware implementation)
Matches well with human vision system's strong response to
red, green, and blue
Disadvantage of RGB model:
Difficult for human description of color (e.g., humans don't
describe color as RGB percentages)
Highly redundant and correlated (e.g., all channels hold
luminance information, reduces coding efficiency)
Color Image Processing : 16
HSI Color ModelHSI Color Model
Useful for human color interpretation
Three axis represent:
Hue
 Describes pure/dominate color perceived by observer (e.g.,
pure yellow, orange, red)
Saturation (Purity of color)
 Amount of white light mixed with hue
 High saturation = high purity = little white light mixed with
hue
Intensity
 Brightness
Color Image Processing : 17
Relationship between RGB and HSIRelationship between RGB and HSI
Hue: all colors on plane defined by white, black, and a pure color corner
point have same hue
Saturation: distance from associated pure color
Intensity: projection to gray scale line
Color Image Processing : 18
Relationship between RGB and HSIRelationship between RGB and HSI
Color Image Processing : 19
HSI Color Model VisualizationHSI Color Model Visualization
Color Image Processing : 20
Converting colors from RGB to HSIConverting colors from RGB to HSI
if
360 if
B G
H
B G
θ
θ
≤
= 
− >
( ) ( )
( ) ( ) ( )
1
1
2 2
1
2cos
R G R B
R G R B G B
θ −
 
− + −   
=  
  − + − −
  
3
1 [min( , , )]S R G B
R G B
= −
+ +
[ ]
1
3
I R G B= + +
Color Image Processing : 21
Converting colors from HSI to RGBConverting colors from HSI to RGB
When H is in RG Sector
(1 )B I S= −
0
cos
1
cos(60 )
S H
R I
H
 
= + − 
3 ( )G I R B= − +
0 0
(0 120 )H≤ ≤
Color Image Processing : 22
Converting colors from HSI to RGBConverting colors from HSI to RGB
When H is in GB Sector
(1 )R I S= −
0
cos
1
cos(60 )
S H
G I
H
 
= + − 
3 ( )B I R G= − +
0 0
(120 240 )H≤ ≤
0
120H H= −
Color Image Processing : 23
Converting colors from HSI to RGBConverting colors from HSI to RGB
When H is in RG Sector
(1 )G I S= −
0
cos
1
cos(60 )
S H
B I
H
 
= + − 
3 ( )R I G B= − +
0 0
(240 360 )H≤ ≤
0
240H H= −
Color Image Processing : 24
Pseudocolor Image ProcessingPseudocolor Image Processing
Goal
Assign color to gray levels to convert grayscale image into color
image
Why?
Improve visualization of image information
Motivation
Humans can discern thousands of color shades but only two
dozen or so gray shades
Color Image Processing : 25
Intensity SlicingIntensity Slicing
One of the simplest methods for pseudocolor image processing
Grayscale image can be viewed as 3D function (x,y, and intensity)
Suppose we define P planes perpendicular to intensity axis
Each plane i is associated with a color Ci
Pixels with intensities lying along a particular plane i is assigned the
color Ci corresponding to the plane
Color Image Processing : 26
Visualization of Intensity SlicingVisualization of Intensity Slicing
Color Image Processing : 27
Intensity SlicingIntensity Slicing
Color Image Processing : 28
Intensity Slicing ExampleIntensity Slicing Example
Color Image Processing : 29
Intensity Slicing ExampleIntensity Slicing Example
Color Image Processing : 30
Example: Rainfall MonitoringExample: Rainfall Monitoring
Color Image Processing : 31
Gray Level to Color TransformationsGray Level to Color Transformations
Intensity slicing limits range of pseudocolor enhancement results
Fixed one-to-one relationship between intensity and specified
colors
Alternative solution:
Process grayscale image using independent transformations
The results of the transformations are combined to create one
composite color image
Color Image Processing : 32
Example using ThreeExample using Three
TransformationsTransformations
Color Image Processing : 33
Example: Security ScreeningExample: Security Screening
Color Image Processing : 34
Transformation 1Transformation 1
Garment bag mapped differently
than explosive
Easy to spot explosive
Color Image Processing : 35
Transformation 2Transformation 2
Garment bag mapped similar than
explosive
Hard to spot explosive
Color Image Processing : 36
Multi-Image PseudocoloringMulti-Image Pseudocoloring
Color Image Processing : 37
Example: Multispectral ImageExample: Multispectral Image
VisualizationVisualization
Color Image Processing : 38
Point Operations in Color ImagePoint Operations in Color Image
ProcessingProcessing
Similar to point processing for grayscale images
Example: RGB color model
n = 3
r1,r2,r3 denotes red, green, blue components of the input
image
1 2( , ,..., ), 1,2,...,i i ns T r r r i n= =
Color Image Processing : 39
What are Color Complements?What are Color Complements?
Hues opposite one another on the color circle
Analogous to grayscale inverses
Useful for enhancing details in dark regions of image
Color Image Processing : 40
ExampleExample
Color Image Processing : 41
Point Operations for Tone CorrectionPoint Operations for Tone Correction
Tonal range: general distribution of color intensities
Similar to intensity contrast in grayscale images
High-key images
Colors concentrated at high intensities
Low-key images
Colors concentrated at low intensities
As with grayscale images, it is desirable to distribute color
intensities evenly
Color Image Processing : 42
Point Operations for Tone CorrectionPoint Operations for Tone Correction
Before correcting color imbalances, tonal imbalances are first
corrected
All color channels are transformed using the same transformation
for color models where intensity information is spread across
multiple channels (e.g., RGB, CMY)
For HSI color model, only I channel is modified
Operations are similar to intensity contrast adjustment for grayscale
images
Color Image Processing : 43
Tone Correction for Common TonalTone Correction for Common Tonal
ImbalancesImbalances
Flat images
Use an s-curve transformation to boost contrast
 lighten highlight areas
 darken shadow areas
Light and dark images
Similar to power-law transformations
Stretch light regions and compress dark regions for light
images (high gamma)
Stretch dark regions and compress light regions for dark
images (low gamma)
Color Image Processing : 44
Example Tonal CorrectionsExample Tonal Corrections
Color Image Processing : 45
Point Operations for ColorPoint Operations for Color
CorrectionCorrection
Various ways to correct color imbalances
Perception of a color affected by surrounding colors
Proportion of any color (e.g., magenta) can be reduced by
Increasing its complementary color (e.g., green)
Decreasing portion of the two immediately adjacent colors (e.g.,
red and blue)
Color Image Processing : 46
Color CorrectionsColor Corrections
Color Image Processing : 47
Histogram EqualizationHistogram Equalization
Histogram equalization on
individual color channels
leads to erroneous colors
Better approach is to just
equalize intensity
component and leave colors
(i.e., hues) unchanged
Color Image Processing : 48
Color vision deficienciesColor vision deficiencies
Statistics show that color vision deficiencies affect 8.7% of the male
population and 0.4% of the female population.
Dichromacy is a form of color vision deficiency that severely affects
an individual’s ability to differentiate hues.
Dichromacy has no known cure.
Color Image Processing : 49
Types of dichromatic color visionTypes of dichromatic color vision
deficienciesdeficiencies
Protanopia: L cones are absent or defective
Deuteranopia: M cones are absent or defective
Tritanopia: S cones are absent or defective (rare)
Color Image Processing : 50
Types of dichromatic color visionTypes of dichromatic color vision
deficienciesdeficiencies
Protanopia and deuteranopia are often referred to as red-green
color blindness.
Tritanopia is often referred to as blue-yellow color blindness.
Color Image Processing : 51
So what may dichromats see?So what may dichromats see?
Color Image Processing : 52
Color Correction ApproachesColor Correction Approaches
There are two main approaches to color correction for helping
individuals cope with the medical condition:
Fixed color correction
Adaptive color correction
Color Image Processing : 53
Fixed Color Correction ApproachFixed Color Correction Approach
Perform a fixed color transformation on the image
Improves color differentiation to make details more visible
Problem: The aesthetics of the original scene is poorly captured
Color Image Processing : 54
Adaptive Color Correction ApproachAdaptive Color Correction Approach
Solution: Adapt color transformation based on the underlying hue
characteristics of the image
Advantages:
Improves color differentiation
Preserves aesthetic appeal of the original scene
Color Image Processing : 55
Color space transformationColor space transformation
The main difficulty encountered by those suffering from dichromacy
is the inability to differentiate between certain hues.
An effective approach to color enhancement is to alter the hue
distribution of an image in such a way that hue discrimination is
improved and details within an image become more perceivable by
those suffering from dichromacy.
To preserve the aesthetic properties of the original image, it is also
desired that other characteristics of the image such as illumination
and saturation are left unchanged.
To accomplish this goal, the image is converted from the RGB
color-space to the HSI color-space.
Color Image Processing : 56
Hue RemappingHue Remapping
A simple method of improving hue discrimination within the
indistinguishable hue range is to perform a circular hue shift such
that hues that can be easily discriminated are used to represent
this hue range.
One of the major disadvantages of this technique is that such a
uniform hue shift results in highly unnatural images.
The reason for this is that most of the hues that are actually
correctly recognized by those suffering from dichromacy are now
misrepresented by the hue shift.
What if we do a hue compression instead?
Allows some of the hues that can be correctly recognized to
be assigned much of the same hue as before
Color Image Processing : 57
Hue RemappingHue Remapping
Improves hue discrimination and maintains some of the
distinguishable hues
Problem: the uniform nature of such transforms result in significant
loss of dynamic range in the distinguishable portions as well as
unnatural color re-mappings in many areas given the fixed
redistribution.
Color Image Processing : 58
Non-linear Hue RemappingNon-linear Hue Remapping
First, rotate hue space such that the two hues that were
indistinguishable are at the front of the spectrum while the third hue
is at the end.
For example, in the case of protanopia and deuteranopia, the hue
range containing the red and green hue components are rotated to
the front of the spectrum while the blue hue range is at the end.
Color Image Processing : 59
Non-linear Hue RemappingNon-linear Hue Remapping
A hue remapping can then be performed on the rotated hue space
in the form of a power transformation function:
This hue remapping does two things:
The range of hues that are indistinguishable
(e.g., red-yellow-green range) are stretched over a wider
dynamic range, thereby increasing the hue discrimination for
that range of hues.
The range of the hue that is distinguishable from the rest of the
spectrum (e.g. blue) is compressed, thereby having part of its
dynamic range being redistributed to the indistinguishable
range.
( )f h hφ
=
Color Image Processing : 60
Non-linear Hue RemappingNon-linear Hue Remapping
By using a nonlinear remapping function, the range re-distribution is
varied over the spectrum and therefore allows for greater flexibility
in maintaining the aesthetic feel of the original image.
After the hue remapping, the hue space is rotated back to its
original position.
Color Image Processing : 61
Adaptive Hue RemappingAdaptive Hue Remapping
The parameter controls the curvature of the power function.Φ
A simple approach is to set the control parameter at a fixed value.
The main problem to this approach is that hue distribution varies
greatly from one image to another.
For example, an image may consists of only blue hues. Therefore,
a fixed value of will compress the blue hue range and stretch theΦ
other hue ranges without any perceptual benefit.
As such, it is necessary to adaptively adjust the value of basedΦ
on the underlying image content to achieve enhanced perceptual
quality.
Color Image Processing : 62
Adaptive Hue RemappingAdaptive Hue Remapping
If the hue distribution resides mostly in the indistinguishable range,
then the control parameter should be increased to stretch this
range to improve hue discrimination and attenuate image details.
However, if the hue distribution resides mostly outside this range,
then the control parameter should be decreased to preserve the
original hue distribution.
This can be determined based on histogram
Color Image Processing : 63
Examples of Color CorrectionExamples of Color Correction

Contenu connexe

Tendances

Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing PresentationRevanth Chimmani
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit NotesAAKANKSHA JAIN
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point ProcessingGayathri31093
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantizationBCET, Balasore
 
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 woodsasodariyabhavesh
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING anam singla
 
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...Hemantha Kulathilake
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamNazmul Islam
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation modelAnupriyaDurai
 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processingAbinaya B
 
Digital Image Processing: An Introduction
Digital Image Processing: An IntroductionDigital Image Processing: An Introduction
Digital Image Processing: An IntroductionMostafa G. M. Mostafa
 
Lect 02 first portion
Lect 02   first portionLect 02   first portion
Lect 02 first portionMoe Moe Myint
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESEzhilya venkat
 
Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringShajun Nisha
 

Tendances (20)

Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
color image processing
color image processingcolor image processing
color image processing
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantization
 
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
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING
 
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul Islam
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processing
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
 
Image compression .
Image compression .Image compression .
Image compression .
 
Digital Image Processing: An Introduction
Digital Image Processing: An IntroductionDigital Image Processing: An Introduction
Digital Image Processing: An Introduction
 
Image compression models
Image compression modelsImage compression models
Image compression models
 
Lect 02 first portion
Lect 02   first portionLect 02   first portion
Lect 02 first portion
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTES
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filtering
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 

En vedette

Digital image processing question bank
Digital image processing question bankDigital image processing question bank
Digital image processing question bankYaseen Albakry
 
Lecture 3b: Decision Trees (1 part)
Lecture 3b: Decision Trees (1 part)Lecture 3b: Decision Trees (1 part)
Lecture 3b: Decision Trees (1 part) Marina Santini
 
Colour models
Colour modelsColour models
Colour modelsBCET
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphicsdhruv141293
 
Lecture 4 Decision Trees (2): Entropy, Information Gain, Gain Ratio
Lecture 4 Decision Trees (2): Entropy, Information Gain, Gain RatioLecture 4 Decision Trees (2): Entropy, Information Gain, Gain Ratio
Lecture 4 Decision Trees (2): Entropy, Information Gain, Gain RatioMarina Santini
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothningVinay Gupta
 

En vedette (9)

Digital image processing question bank
Digital image processing question bankDigital image processing question bank
Digital image processing question bank
 
Lecture 3b: Decision Trees (1 part)
Lecture 3b: Decision Trees (1 part)Lecture 3b: Decision Trees (1 part)
Lecture 3b: Decision Trees (1 part)
 
Colour models
Colour modelsColour models
Colour models
 
Color models
Color modelsColor models
Color models
 
Color models
Color modelsColor models
Color models
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
 
Lecture 4 Decision Trees (2): Entropy, Information Gain, Gain Ratio
Lecture 4 Decision Trees (2): Entropy, Information Gain, Gain RatioLecture 4 Decision Trees (2): Entropy, Information Gain, Gain Ratio
Lecture 4 Decision Trees (2): Entropy, Information Gain, Gain Ratio
 
Color Models
Color ModelsColor Models
Color Models
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothning
 

Similaire à 10 color image processing

Color Image Processing.pptx
Color Image Processing.pptxColor Image Processing.pptx
Color Image Processing.pptxAntu Chowdhury
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxEveCarolino
 
Color image processing
Color image processingColor image processing
Color image processingrmsurya
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing pptMvidhya9
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessIrsaAamir
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.pptPapajuvvanapudi
 
Color
ColorColor
ColorFNian
 
06 color image processing
06 color image processing06 color image processing
06 color image processingJaiverdhan .
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)Vijay Kumar
 
Colorization of Gray Scale Images in YCbCr Color Space Using Texture Extract...
Colorization of Gray Scale Images in YCbCr Color Space Using  Texture Extract...Colorization of Gray Scale Images in YCbCr Color Space Using  Texture Extract...
Colorization of Gray Scale Images in YCbCr Color Space Using Texture Extract...IOSR Journals
 
CG04 Color Models.ppsx
CG04 Color Models.ppsxCG04 Color Models.ppsx
CG04 Color Models.ppsxjyoti_lakhani
 

Similaire à 10 color image processing (20)

Colormodels
ColormodelsColormodels
Colormodels
 
Color Image Processing.pptx
Color Image Processing.pptxColor Image Processing.pptx
Color Image Processing.pptx
 
Color models
Color modelsColor models
Color models
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptx
 
image-pro.ppt
image-pro.pptimage-pro.ppt
image-pro.ppt
 
ch1ip.ppt
ch1ip.pptch1ip.ppt
ch1ip.ppt
 
Color image processing
Color image processingColor image processing
Color image processing
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing ppt
 
Lect 06
Lect 06 Lect 06
Lect 06
 
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)
 
Color_Spaces.pptx
Color_Spaces.pptxColor_Spaces.pptx
Color_Spaces.pptx
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.ppt
 
Color
ColorColor
Color
 
Color
ColorColor
Color
 
06 color image processing
06 color image processing06 color image processing
06 color image processing
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)
 
About Color
About ColorAbout Color
About Color
 
Colorization of Gray Scale Images in YCbCr Color Space Using Texture Extract...
Colorization of Gray Scale Images in YCbCr Color Space Using  Texture Extract...Colorization of Gray Scale Images in YCbCr Color Space Using  Texture Extract...
Colorization of Gray Scale Images in YCbCr Color Space Using Texture Extract...
 
CG04 Color Models.ppsx
CG04 Color Models.ppsxCG04 Color Models.ppsx
CG04 Color Models.ppsx
 

Plus de babak danyal

Easy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client SocketsEasy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client Socketsbabak danyal
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streamsbabak danyal
 
Swing and Graphical User Interface in Java
Swing and Graphical User Interface in JavaSwing and Graphical User Interface in Java
Swing and Graphical User Interface in Javababak danyal
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the desbabak danyal
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network securitybabak danyal
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systemsbabak danyal
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systemsbabak danyal
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systemsbabak danyal
 
Lecture6 Signal and Systems
Lecture6 Signal and SystemsLecture6 Signal and Systems
Lecture6 Signal and Systemsbabak danyal
 
Lecture5 Signal and Systems
Lecture5 Signal and SystemsLecture5 Signal and Systems
Lecture5 Signal and Systemsbabak danyal
 
Lecture4 Signal and Systems
Lecture4  Signal and SystemsLecture4  Signal and Systems
Lecture4 Signal and Systemsbabak danyal
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systemsbabak danyal
 
Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systemsbabak danyal
 
Lecture1 Intro To Signa
Lecture1 Intro To SignaLecture1 Intro To Signa
Lecture1 Intro To Signababak danyal
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systemsbabak danyal
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniquesbabak danyal
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Securitybabak danyal
 

Plus de babak danyal (20)

applist
applistapplist
applist
 
Easy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client SocketsEasy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client Sockets
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streams
 
Swing and Graphical User Interface in Java
Swing and Graphical User Interface in JavaSwing and Graphical User Interface in Java
Swing and Graphical User Interface in Java
 
Tcp sockets
Tcp socketsTcp sockets
Tcp sockets
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the des
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network security
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systems
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systems
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systems
 
Lecture6 Signal and Systems
Lecture6 Signal and SystemsLecture6 Signal and Systems
Lecture6 Signal and Systems
 
Lecture5 Signal and Systems
Lecture5 Signal and SystemsLecture5 Signal and Systems
Lecture5 Signal and Systems
 
Lecture4 Signal and Systems
Lecture4  Signal and SystemsLecture4  Signal and Systems
Lecture4 Signal and Systems
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systems
 
Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systems
 
Lecture1 Intro To Signa
Lecture1 Intro To SignaLecture1 Intro To Signa
Lecture1 Intro To Signa
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systems
 
Lecture9
Lecture9Lecture9
Lecture9
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniques
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Security
 

Dernier

How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17Celine George
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfMohonDas
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxEduSkills OECD
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxAditiChauhan701637
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 
UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxheathfieldcps1
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphNetziValdelomar1
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsEugene Lysak
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17Celine George
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptxSandy Millin
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxKatherine Villaluna
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17Celine George
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17Celine George
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptxraviapr7
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesMohammad Hassany
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 

Dernier (20)

How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdf
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptx
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 
UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a Paragraph
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George Wells
 
Prelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quizPrelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quiz
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptx
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming Classes
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 

10 color image processing

  • 1. Color Image Processing : 1 Color Image ProcessingColor Image Processing
  • 2. Color Image Processing : 2 Visible LightVisible Light Visible light composed of relatively narrow band of frequencies in electromagnetic spectrum Chromatic light spans EM spectrum from around 400 to 700 nm
  • 3. Color Image Processing : 3 Color PerceptionColor Perception Perceived color of an object based on nature of light reflected from object Examples: If object reflects light that's balanced from all visible wavelengths, object is perceived as white If object reflects light with wavelengths mainly in the 575 to 625nm range, object is perceived as red
  • 4. Color Image Processing : 4 Cones RevisitedCones Revisited 6 to 7 million cones in the human eye Divided into three main types: L cones (65%)  Maximally sensitive to long wavelengths (e.g., red) M cones (33%)  Maximally sensitive to medium wavelengths (e.g., green) S cones (2%)  Maximally sensitive to short wavelengths (e.g., blue)
  • 5. Color Image Processing : 5 Light Absorption of ConesLight Absorption of Cones Visible colors can be visualized as weighted combination of primary colors red, green, and blue
  • 6. Color Image Processing : 6 Mixtures of Light vs. Mixtures of PigmentsMixtures of Light vs. Mixtures of Pigments Mixture of light primaries additive Mixture of pigment primaries subtractive
  • 7. Color Image Processing : 7 CIE Chromaticity DiagramCIE Chromaticity Diagram A method for specifying colors Specifies color composition as function of x (red) and y (green) For any value of x and y, value of z (blue) can be found as The (x,y,z) values of a color specifies percentage of red, green, and blue needed to form the color (Trichromatic Coefficients) 1 ( )z x y= − +
  • 8. Color Image Processing : 8 CIE Chromaticity DiagramCIE Chromaticity Diagram
  • 9. Color Image Processing : 9 CIE Chromaticity DiagramCIE Chromaticity Diagram
  • 10. Color Image Processing : 10 CIE Chromaticity DiagramCIE Chromaticity Diagram InterpretationInterpretation Pure spectrum colors located around boundary All non-boundary colors are mixture of spectrum colors Point of equal energy corresponds to equal fractions of the three primary colors CIE standard for white light Straight line segment joining two points define all colors that can be created by mixing these two colors additively
  • 11. Color Image Processing : 11 RGB Color ModelRGB Color Model Primarily used for displays and cameras Based on Cartesian coordinate system Three axis represents intensities of red, green, and blue Gray scale (points of equal RGB values) extends from black (0,0,0) to white (1,1,1) Example: 24-bit color (Truecolor) 8-bits (256 levels) are used to represent each channel Gives a total of (256)3 =16,777,216 possible colors!
  • 12. Color Image Processing : 12 RGB Color Model VisualizationRGB Color Model Visualization
  • 13. Color Image Processing : 13 CMY/CMYK Color ModelsCMY/CMYK Color Models Primarily used for printing Based on primary colors of pigments For CMY, the three axis represent the amount of cyan, magenta, and yellow pigments to put in to produce a certain color 1 1 1 C R M G Y B            = −                
  • 14. Color Image Processing : 14 Why K?Why K? In theory, equal amounts of cyan, magenta, and yellow produces black In practice, combining them results in muddy-looking black To produce true black in printing, a fourth color (black) is added to produce the CYMK color model
  • 15. Color Image Processing : 15 Pros and Cons of RGBPros and Cons of RGB Advantages of RGB model: Straightforward (great for hardware implementation) Matches well with human vision system's strong response to red, green, and blue Disadvantage of RGB model: Difficult for human description of color (e.g., humans don't describe color as RGB percentages) Highly redundant and correlated (e.g., all channels hold luminance information, reduces coding efficiency)
  • 16. Color Image Processing : 16 HSI Color ModelHSI Color Model Useful for human color interpretation Three axis represent: Hue  Describes pure/dominate color perceived by observer (e.g., pure yellow, orange, red) Saturation (Purity of color)  Amount of white light mixed with hue  High saturation = high purity = little white light mixed with hue Intensity  Brightness
  • 17. Color Image Processing : 17 Relationship between RGB and HSIRelationship between RGB and HSI Hue: all colors on plane defined by white, black, and a pure color corner point have same hue Saturation: distance from associated pure color Intensity: projection to gray scale line
  • 18. Color Image Processing : 18 Relationship between RGB and HSIRelationship between RGB and HSI
  • 19. Color Image Processing : 19 HSI Color Model VisualizationHSI Color Model Visualization
  • 20. Color Image Processing : 20 Converting colors from RGB to HSIConverting colors from RGB to HSI if 360 if B G H B G θ θ ≤ =  − > ( ) ( ) ( ) ( ) ( ) 1 1 2 2 1 2cos R G R B R G R B G B θ −   − + −    =     − + − −    3 1 [min( , , )]S R G B R G B = − + + [ ] 1 3 I R G B= + +
  • 21. Color Image Processing : 21 Converting colors from HSI to RGBConverting colors from HSI to RGB When H is in RG Sector (1 )B I S= − 0 cos 1 cos(60 ) S H R I H   = + −  3 ( )G I R B= − + 0 0 (0 120 )H≤ ≤
  • 22. Color Image Processing : 22 Converting colors from HSI to RGBConverting colors from HSI to RGB When H is in GB Sector (1 )R I S= − 0 cos 1 cos(60 ) S H G I H   = + −  3 ( )B I R G= − + 0 0 (120 240 )H≤ ≤ 0 120H H= −
  • 23. Color Image Processing : 23 Converting colors from HSI to RGBConverting colors from HSI to RGB When H is in RG Sector (1 )G I S= − 0 cos 1 cos(60 ) S H B I H   = + −  3 ( )R I G B= − + 0 0 (240 360 )H≤ ≤ 0 240H H= −
  • 24. Color Image Processing : 24 Pseudocolor Image ProcessingPseudocolor Image Processing Goal Assign color to gray levels to convert grayscale image into color image Why? Improve visualization of image information Motivation Humans can discern thousands of color shades but only two dozen or so gray shades
  • 25. Color Image Processing : 25 Intensity SlicingIntensity Slicing One of the simplest methods for pseudocolor image processing Grayscale image can be viewed as 3D function (x,y, and intensity) Suppose we define P planes perpendicular to intensity axis Each plane i is associated with a color Ci Pixels with intensities lying along a particular plane i is assigned the color Ci corresponding to the plane
  • 26. Color Image Processing : 26 Visualization of Intensity SlicingVisualization of Intensity Slicing
  • 27. Color Image Processing : 27 Intensity SlicingIntensity Slicing
  • 28. Color Image Processing : 28 Intensity Slicing ExampleIntensity Slicing Example
  • 29. Color Image Processing : 29 Intensity Slicing ExampleIntensity Slicing Example
  • 30. Color Image Processing : 30 Example: Rainfall MonitoringExample: Rainfall Monitoring
  • 31. Color Image Processing : 31 Gray Level to Color TransformationsGray Level to Color Transformations Intensity slicing limits range of pseudocolor enhancement results Fixed one-to-one relationship between intensity and specified colors Alternative solution: Process grayscale image using independent transformations The results of the transformations are combined to create one composite color image
  • 32. Color Image Processing : 32 Example using ThreeExample using Three TransformationsTransformations
  • 33. Color Image Processing : 33 Example: Security ScreeningExample: Security Screening
  • 34. Color Image Processing : 34 Transformation 1Transformation 1 Garment bag mapped differently than explosive Easy to spot explosive
  • 35. Color Image Processing : 35 Transformation 2Transformation 2 Garment bag mapped similar than explosive Hard to spot explosive
  • 36. Color Image Processing : 36 Multi-Image PseudocoloringMulti-Image Pseudocoloring
  • 37. Color Image Processing : 37 Example: Multispectral ImageExample: Multispectral Image VisualizationVisualization
  • 38. Color Image Processing : 38 Point Operations in Color ImagePoint Operations in Color Image ProcessingProcessing Similar to point processing for grayscale images Example: RGB color model n = 3 r1,r2,r3 denotes red, green, blue components of the input image 1 2( , ,..., ), 1,2,...,i i ns T r r r i n= =
  • 39. Color Image Processing : 39 What are Color Complements?What are Color Complements? Hues opposite one another on the color circle Analogous to grayscale inverses Useful for enhancing details in dark regions of image
  • 40. Color Image Processing : 40 ExampleExample
  • 41. Color Image Processing : 41 Point Operations for Tone CorrectionPoint Operations for Tone Correction Tonal range: general distribution of color intensities Similar to intensity contrast in grayscale images High-key images Colors concentrated at high intensities Low-key images Colors concentrated at low intensities As with grayscale images, it is desirable to distribute color intensities evenly
  • 42. Color Image Processing : 42 Point Operations for Tone CorrectionPoint Operations for Tone Correction Before correcting color imbalances, tonal imbalances are first corrected All color channels are transformed using the same transformation for color models where intensity information is spread across multiple channels (e.g., RGB, CMY) For HSI color model, only I channel is modified Operations are similar to intensity contrast adjustment for grayscale images
  • 43. Color Image Processing : 43 Tone Correction for Common TonalTone Correction for Common Tonal ImbalancesImbalances Flat images Use an s-curve transformation to boost contrast  lighten highlight areas  darken shadow areas Light and dark images Similar to power-law transformations Stretch light regions and compress dark regions for light images (high gamma) Stretch dark regions and compress light regions for dark images (low gamma)
  • 44. Color Image Processing : 44 Example Tonal CorrectionsExample Tonal Corrections
  • 45. Color Image Processing : 45 Point Operations for ColorPoint Operations for Color CorrectionCorrection Various ways to correct color imbalances Perception of a color affected by surrounding colors Proportion of any color (e.g., magenta) can be reduced by Increasing its complementary color (e.g., green) Decreasing portion of the two immediately adjacent colors (e.g., red and blue)
  • 46. Color Image Processing : 46 Color CorrectionsColor Corrections
  • 47. Color Image Processing : 47 Histogram EqualizationHistogram Equalization Histogram equalization on individual color channels leads to erroneous colors Better approach is to just equalize intensity component and leave colors (i.e., hues) unchanged
  • 48. Color Image Processing : 48 Color vision deficienciesColor vision deficiencies Statistics show that color vision deficiencies affect 8.7% of the male population and 0.4% of the female population. Dichromacy is a form of color vision deficiency that severely affects an individual’s ability to differentiate hues. Dichromacy has no known cure.
  • 49. Color Image Processing : 49 Types of dichromatic color visionTypes of dichromatic color vision deficienciesdeficiencies Protanopia: L cones are absent or defective Deuteranopia: M cones are absent or defective Tritanopia: S cones are absent or defective (rare)
  • 50. Color Image Processing : 50 Types of dichromatic color visionTypes of dichromatic color vision deficienciesdeficiencies Protanopia and deuteranopia are often referred to as red-green color blindness. Tritanopia is often referred to as blue-yellow color blindness.
  • 51. Color Image Processing : 51 So what may dichromats see?So what may dichromats see?
  • 52. Color Image Processing : 52 Color Correction ApproachesColor Correction Approaches There are two main approaches to color correction for helping individuals cope with the medical condition: Fixed color correction Adaptive color correction
  • 53. Color Image Processing : 53 Fixed Color Correction ApproachFixed Color Correction Approach Perform a fixed color transformation on the image Improves color differentiation to make details more visible Problem: The aesthetics of the original scene is poorly captured
  • 54. Color Image Processing : 54 Adaptive Color Correction ApproachAdaptive Color Correction Approach Solution: Adapt color transformation based on the underlying hue characteristics of the image Advantages: Improves color differentiation Preserves aesthetic appeal of the original scene
  • 55. Color Image Processing : 55 Color space transformationColor space transformation The main difficulty encountered by those suffering from dichromacy is the inability to differentiate between certain hues. An effective approach to color enhancement is to alter the hue distribution of an image in such a way that hue discrimination is improved and details within an image become more perceivable by those suffering from dichromacy. To preserve the aesthetic properties of the original image, it is also desired that other characteristics of the image such as illumination and saturation are left unchanged. To accomplish this goal, the image is converted from the RGB color-space to the HSI color-space.
  • 56. Color Image Processing : 56 Hue RemappingHue Remapping A simple method of improving hue discrimination within the indistinguishable hue range is to perform a circular hue shift such that hues that can be easily discriminated are used to represent this hue range. One of the major disadvantages of this technique is that such a uniform hue shift results in highly unnatural images. The reason for this is that most of the hues that are actually correctly recognized by those suffering from dichromacy are now misrepresented by the hue shift. What if we do a hue compression instead? Allows some of the hues that can be correctly recognized to be assigned much of the same hue as before
  • 57. Color Image Processing : 57 Hue RemappingHue Remapping Improves hue discrimination and maintains some of the distinguishable hues Problem: the uniform nature of such transforms result in significant loss of dynamic range in the distinguishable portions as well as unnatural color re-mappings in many areas given the fixed redistribution.
  • 58. Color Image Processing : 58 Non-linear Hue RemappingNon-linear Hue Remapping First, rotate hue space such that the two hues that were indistinguishable are at the front of the spectrum while the third hue is at the end. For example, in the case of protanopia and deuteranopia, the hue range containing the red and green hue components are rotated to the front of the spectrum while the blue hue range is at the end.
  • 59. Color Image Processing : 59 Non-linear Hue RemappingNon-linear Hue Remapping A hue remapping can then be performed on the rotated hue space in the form of a power transformation function: This hue remapping does two things: The range of hues that are indistinguishable (e.g., red-yellow-green range) are stretched over a wider dynamic range, thereby increasing the hue discrimination for that range of hues. The range of the hue that is distinguishable from the rest of the spectrum (e.g. blue) is compressed, thereby having part of its dynamic range being redistributed to the indistinguishable range. ( )f h hφ =
  • 60. Color Image Processing : 60 Non-linear Hue RemappingNon-linear Hue Remapping By using a nonlinear remapping function, the range re-distribution is varied over the spectrum and therefore allows for greater flexibility in maintaining the aesthetic feel of the original image. After the hue remapping, the hue space is rotated back to its original position.
  • 61. Color Image Processing : 61 Adaptive Hue RemappingAdaptive Hue Remapping The parameter controls the curvature of the power function.Φ A simple approach is to set the control parameter at a fixed value. The main problem to this approach is that hue distribution varies greatly from one image to another. For example, an image may consists of only blue hues. Therefore, a fixed value of will compress the blue hue range and stretch theΦ other hue ranges without any perceptual benefit. As such, it is necessary to adaptively adjust the value of basedΦ on the underlying image content to achieve enhanced perceptual quality.
  • 62. Color Image Processing : 62 Adaptive Hue RemappingAdaptive Hue Remapping If the hue distribution resides mostly in the indistinguishable range, then the control parameter should be increased to stretch this range to improve hue discrimination and attenuate image details. However, if the hue distribution resides mostly outside this range, then the control parameter should be decreased to preserve the original hue distribution. This can be determined based on histogram
  • 63. Color Image Processing : 63 Examples of Color CorrectionExamples of Color Correction