Color Image Fundamentals and Color Models
Color Image Fundamentals and Color Models
x y z 1
Color Fundamentals
• Another approach for specifying colors is to use the CIE
chromaticity diagram
Color Fundamentals
• For any value of x and y, the corresponding value of z is
obtained by noting that z = 1-(x+y)
• 62% green, 25% red, and 13% blue
• Pure colors are at boundary which are fully saturated
• Any point within boundary represents some mixture of
spectrum colors
• Equal energy and equal fractions of the three primary
colors represents white light
• The saturation at the point of equal energy is zero
• Chromaticity diagram is useful for color mixing
Color Fundamentals
if B G
H
360 if B G
1
[( R G ) ( R B )]
1
cos 2
1/ 2
[( R G ) 2
( R B )(G B )]
3
S 1 [min( R, G, B)]
( R G B)
1
I ( R G B)
3
Converting from HSI to RGB
• RG sector: 0 H 120
B I (1 S )
S cos H
R I 1
cos(60 H )
G 3I ( R B)
Converting from HSI to RGB
H H 120
R I (1 S )
S cos H
G I 1
cos(60 H )
B 3I ( R G)
Converting from HSI to RGB
H H 240
G I (1 S )
S cos H
B I 1
cos(60 H )
R 3I (G B)
HSI Color Model
• HSI (Hue, saturation, intensity) color model, decouples the
intensity component from the color-carrying information
(hue and saturation) in a color image
Pseudocolor Image Processing
• Pseudocolor (false color) image processing consists of
assigning colors to gray values based on a specified
criterion
• It is different than the process associated with the color
images
• Principal use of pseudocolor is for human visualization and
interpretation of gray scale events in an image or sequence
of images
• Two methods for pseudocolor image processing:
• 1) Intensity Slicing
• 2) Intensity to Color Transformations
Intensity Slicing
• Also called density slicing and piece wise linear function
• If an image is interpreted as a 3-D function, the method can
be viewed as one of placing planes parallel to the
coordinate plane of the image; each plane then “slices” of
the function in the area of intersection
Intensity Slicing
Intensity Slicing
Intensity Slicing
Intensity Slicing
Intensity to Color Transformations
• Achieving a wider range of pseudocolor enhancement
results than simple slicing technique
• Idea underlying this approach is to perform three
independent transformations on the intensity of any input
pixel
• Three results are then fed separately into the red, green,
and blue channels of a color television monitor
• This produces a composite image whose color content is
modulated by the nature of the transformation functions
• Not the functions of position
• Nonlinear function
Intensity to Color Transformations
Intensity to Color Transformations
Intensity to Color Transformations
Intensity to Color Transformations