Chapter 6 Color Image Processing
Chapter 6 Color Image Processing
• Now consider if we
stand this cube on the
black vertex and
position the white vertex
directly above it.
HSI, Intensity & RGB (cont…)
• Now the intensity
component of any color
can be determined by
passing a plane
perpendicular to the
intensity axis and
containing the color point.
• The intersection of the
plane with the intensity
axis gives us the intensity
component of the color.
The HSI Color Model
• Consider if we look straight down at the RGB cube as
it was arranged previously.
• We would see a hexagonal
shape with each primary
color separated by 120°
and secondary colors
at 60°from the primaries.
• So the HSI model is
composed of a vertical
intensity axis and the locus of color points that lie on
planes perpendicular to that axis.
The HSI Color Model (cont…)
To the right we see a hexagonal
shape and an arbitrary Color
point
– The hue is determined by an
angle from a reference point,
usually red.
– The saturation is the distance from the origin to the
point
– The intensity is determined by how far up the
vertical intensity axis this hexagonal plane sits (not
apparent from this diagram)
The HSI Color Model (cont…)
The intensity is
determined by how
far up the vertical
intensity axis this
hexagonal plane
sits.
Intensity
line
saturation
Converting From RGB To HSI
This model, any color is represented by 3 parameters.
The first parameters is the hue, and its value ranges from 0 to 360
degrees or can be normalized to 0-1. It can be described in terms of an
angle on the above circle. Each degree represent a distinct color.
R G R B G B 2
2
G H I
RGB RGB
HSI Image
Image Image
Manipulations
RGB -> HSI
RGB
Hue
Image
Saturation Intensity
HSI -> RGB
Hue
Saturation
Intensity RGB
Image
The Lab Color Model
Lab stands for Luminance (or lightness) and a and b (which
are chromatic components).
The Luminance ranges from 0 to 100
'a' component ranges from -128 to +127 (from green to red)
the 'b' component ranges from -128 to +127 (from blue to
yellow).
This model was designed to be device independent. In other
words by means of this model you can handle colors
regardless of specific devices (such as monitors, printers, or
computers).