SlideShare ist ein Scribd-Unternehmen logo
1 von 46
Color Image Processing
Mr. A. B. Shinde
A. B. Shinde
Contents…
 Color fundamentals:
 Color models,
 RGB color model,
 CMY color model,
 HSI color model,
 Pseudocolor image processing:
 Intensity slicing,
 Gray level to color transformation
2
A. B. Shinde
3
Introduction
A. B. Shinde
Introduction
• Color is a powerful descriptor which simplifies object identification and
extraction from a scene.
• Color image processing is divided into two major areas:
– full-color and
– pseudocolor processing.
• In full color, the images are acquired with a full-color sensor, such as a
color TV camera or color scanner.
• In pseudocolor processing, the problem is one of assigning a color to a
particular monochrome intensity or range of intensities.
• Color image processing techniques are now used in a broad range of
applications, including publishing, visualization, and the Internet.
4
A. B. Shinde
5
Color Fundamentals
A. B. Shinde
Color Fundamentals
• In 1666, Sir Isaac Newton discovered that, the beam of light is not white
but consists of a continuous spectrum of colors ranging from violet at
one end to red at the other.
• As figure shows, the color spectrum may be divided into six broad
regions: violet, blue, green, yellow, orange and red.
6
Color spectrum seen by passing white light through a prism.
(Courtesy of the General Electric Co., Lamp Business Division.)
A. B. Shinde
Color Fundamentals
• As illustrated in figure, visible light is composed of a relatively narrow
band of frequencies in the electromagnetic spectrum.
• A body that reflects light is balanced in all visible wavelengths appears
white to the observer.
• For example, green objects reflect light with wavelengths primarily in the
500 to 570 nm range while absorbing most of the energy at other
wavelengths.
7
Wavelengths comprising the visible range of the electromagnetic spectrum.
(Courtesy of the General Electric Co., Lamp Business Division.)
A. B. Shinde
Color Fundamentals
• If the light is achromatic, its only attribute is its intensity. Achromatic light
is what viewers see on a black and white television set.
• Chromatic light spans the electromagnetic spectrum from approximately
400 to 700 nm.
• Three basic quantities are used to describe the quality of a chromatic
light source: radiance, luminance, and brightness.
• Radiance is the total amount of energy that flows from the light source,
and it is usually measured in watts (W).
• Luminance, measured in lumens (lm), gives a measure of the amount
of energy an observer perceives from a light source.
• Brightness is a subjective descriptor that is practically impossible to
measure. It embodies the achromatic notion of intensity and is one of
the key factors in describing color sensation.
8
A. B. Shinde
Color Fundamentals
• Detailed experimental evidence
has established that the 6 to 7
million cones in the human eye
can be divided into three
principal sensing categories,
red, green, and blue.
• Approximately 65% of all cones
are sensitive to red light, 33%
are sensitive to green light, and
only about 2% are sensitive to
blue.
• Figure shows average
experimental curves detailing
the absorption of light by the
red, green, and blue cones in
the eye.
• Due to these absorption
characteristics of the human
eye, colors are seen as variable
combinations of primary colors
red (R), green (G), and blue (B).
9
A. B. Shinde
Color Fundamentals
• The CIE (Commission Internationale de l’Eclairage — the International
Commission on Illumination) designated in 1931 the following specific
wavelength values to the three primary colors:
– Blue = 435.8 nm,
– Green = 546.1 nm and
– Red = 700 nm.
10
A. B. Shinde
Color Fundamentals
• The primary colors can be
added to produce the secondary
colors of light —
– Magenta (red plus blue),
– Cyan (green plus blue), and
– Yellow (red plus green).
• Mixing the three primaries, or a
secondary with its opposite
primary color, in the right
intensities produces white light.
11
A. B. Shinde
Color Fundamentals
• A a primary color is defined as
one that subtracts or absorbs a
primary color of light and reflects
or transmits the other two.
• Therefore, the primary colors of
pigments are magenta, cyan, and
yellow, and the secondary colors
are red, green, and blue.
• A proper combination of the three
pigment primaries, or a secondary
with its opposite primary, produces
black.
12
A. B. Shinde
Color Fundamentals
• The characteristics generally used to distinguish one color from another
are brightness, hue, and saturation.
• Brightness embodies the achromatic notion of intensity.
• Hue is an attribute associated with the dominant wavelength in a mixture
of light waves. Hue represents dominant color as perceived by an
observer.
• Thus, when we call an object red, orange, or yellow, we are referring to
its hue.
• Saturation refers to the relative purity or the amount of white light mixed
with a hue.
13
A. B. Shinde
Color Fundamentals
• Colors such as pink (red and white) and lavender (violet and white) are
less saturated, with the degree of saturation being inversely proportional
to the amount of white light added.
• Hue and saturation taken together are called chromaticity, and,
therefore, a color may be characterized by its brightness and
chromaticity.
14
A. B. Shinde
Color Fundamentals
• The amounts of red, green, and blue needed to form any particular color
are called the tristimulus values and are denoted, X, Y, and Z,
respectively.
• A color is then specified by its trichromatic coefficients, defined as
15
It is noted from these equations that
A. B. Shinde
16
Color Models
A. B. Shinde
Color Models
• The purpose of a color model (also called color space or color system) is
to facilitate the specification of colors in some standard way.
• A color model is a specification of a coordinate system and a subspace
within that system where each color is represented by a single point.
• In terms of digital image processing, the hardware-oriented models most
commonly used in practice are the RGB (red, green, blue) model.
• The CMY (cyan, magenta, yellow) and CMYK (cyan, magenta, yellow,
black) models for color printing; and
• The HSI (hue, saturation, intensity) model, which corresponds closely
with the way humans describe and interpret color.
• The HSI model also has the advantage that it decouples the color and
gray-scale information in an image.
17
A. B. Shinde
18
Color Models:
RGB Color Model
A. B. Shinde
Color Models
• RGB Color Model:
19
RGB 24-bit color cubeSchematic of the RGB color cube.
Points along the main diagonal have gray
values, from black at the origin to white at
point (1, 1, 1).
A. B. Shinde
Color Models
• RGB Color Model:
• In the RGB model, each color
appears in its primary spectral
components of red, green, and
blue.
• The color subspace of interest is
the cube shown in figure, in which
RGB primary values are at three
corners; the secondary colors
cyan, magenta, and yellow are at
three other corners; black is at the
origin; and white is at the corner
farthest from the origin.
• The different colors in this model
are points on or inside the cube.
• All values of R, G, and B are
assumed to be in the range [0, 1].
20
Schematic of the RGB color cube
A. B. Shinde
Color Models
• RGB Color Model:
• Images represented in the RGB color model
consist of three component images.
• When fed into an RGB monitor, these three
images combine on the screen to produce a
composite color image.
• The number of bits used to represent each
pixel in RGB space is called the pixel depth.
• Consider an RGB image in which each of
the red, green, and blue images is an 8-bit
image.
• Under these conditions each RGB color
pixel [that is, a triplet of values (R, G, B)] is
said to have a depth of 24 bits.
• The term full-color image is used often to
denote a 24-bit RGB color image.
• The total number of colors in a 24-bit RGB
image is (28)3 = 16,777,216.
21
RGB 24-bit color cube
A. B. Shinde
Color Models
• RGB Color Model:
22
Generating the RGB image
of the cross-sectional color
plane
The three hidden surface
planes in the color cube
A. B. Shinde
23
Color Models:
CMY Color Model
A. B. Shinde
Color Models
• CMY and CMYK Color Models:
• Cyan, Magenta, and Yellow are the
secondary colors of 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 the
simple operation where, the assumption
is that all color values have been
normalized to the range [0, 1].
24
The RGB safe color cube
A. B. Shinde
Color Models
• CMY and CMYK Color Models:
25
The RGB safe color cube
Above equation demonstrates that light
reflected from a surface coated with pure
cyan does not contain red (that is, C = 1 - R).
Similarly, pure magenta does not reflect
green, and pure yellow does not reflect blue.
Above equation also reveals that RGB values
can be obtained easily from a set of CMY
values by subtracting the individual CMY
values from 1.
A. B. Shinde
Color Models
• CMY and CMYK Color Models:
• Equal amounts of the pigment primaries, cyan, magenta, and yellow
should produce black.
• In order to produce true black, a fourth color, black, is added, giving rise
to the CMYK color model.
• Thus, when publishers talk about “four-color printing,” they are referring
to the three colors of the CMY color model plus black.
26
A. B. Shinde
27
Color Models:
HSI Color Model
A. B. Shinde
Color Models
• HSI Color Model:
• Creating colors in the RGB and CMY models and changing from one
model to the other is a straightforward process.
• These color systems are ideally suited for hardware implementations.
• The RGB, CMY, and other similar color models are not well suited for
describing colors in terms that are practical for human interpretation.
• For example, one does not refer to the color of an automobile by giving
the percentage of each of the primaries composing its color.
28
A. B. Shinde
Color Models
• HSI Color Model:
• When we see a color object, we describe it by its hue, saturation, and
brightness.
• We know that:
– Hue is a color attribute that describes a pure color (pure yellow,
orange, or red),
– Saturation gives a measure of the degree to which a pure color is
diluted by white light.
– Brightness is a subjective descriptor that is practically impossible to
measure.
• It embodies the achromatic notion of intensity and is one of the key
factors in describing color sensation.
29
A. B. Shinde
Color Models
• HSI Color Model:
• The HSI (Hue, Saturation, Intensity) color model, decouples the intensity
component from the color-carrying information (hue and saturation) in a
color image.
• As a result, the HSI model is an ideal tool for developing image
processing algorithms based on color descriptions
• Summary:
• RGB is ideal for image color generation (as in image capture by a color
camera or image display in a monitor screen), but its use for color
description is much more limited.
30
A. B. Shinde
Color Models
• HSI Color Model:
• An RGB color image can be viewed as three monochrome intensity
images (representing red, green, and blue), so we could extract intensity
from an RGB image.
31
Conceptual relationships between the RGB and HSI color models.
A. B. Shinde
Color Models
• HSI Color Model:
• In the arrangement shown in figure, the line (intensity axis) joining the black
and white vertices is vertical.
• To determine the intensity component of any color point in figure, simply
pass a plane perpendicular to the intensity axis and containing the color
point.
• The intersection of the plane with the intensity axis would give us a point
with intensity value in the range [0, 1].
• The saturation (purity) of a color increases as a function of distance from
the intensity axis.
32
Conceptual relationships
between the RGB and HSI
color models.
A. B. Shinde
Color Models
• HSI Color Model:
• All points contained in the plane segment defined by the intensity axis and the
boundaries of the cube have the same hue (cyan in this case).
• All colors generated by three colors lie in the triangle defined by those colors.
• If two of those points are black and white and the third is a color point, all points
on the triangle would have the same hue because the black and white
components cannot change the hue.
33
By rotating the shaded plane about the vertical
intensity axis, we would obtain different hues.
Conclusion: The hue, saturation, and intensity
values required to form the HSI space can be
obtained from the RGB color cube i. e. we can
convert any RGB point to a corresponding point in
the HSI color model by working out the geometrical
formulas.
A. B. Shinde
34
Pseudocolor Image Processing
A. B. Shinde
Pseudocolor Image Processing
• Pseudocolor (false color) image processing consists of assigning colors
to gray values based on a specified criterion.
• The principal use of pseudocolor is for human visualization and
interpretation of gray-scale events in an image or sequence of images.
35
A. B. Shinde
36
Pseudocolor Image Processing
Intensity Slicing
A. B. Shinde
Pseudocolor Image Processing
• Intensity Slicing:
• The technique of intensity (density)
slicing and color coding is one of the
simplest examples of pseudocolor
image processing.
• 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” the function
in the area of intersection.
• Figure shows an example of using a
plane at f(x, y) = li to slice the image
function into two levels.
37
A. B. Shinde
Pseudocolor Image Processing
• Intensity Slicing:
• If a different color is assigned to each
side of the plane shown in figure, any
pixel whose intensity level is above
the plane will be coded with one color,
and any pixel below the plane will be
coded with the other color.
• Levels that lie on the plane itself may
be arbitrarily assigned one of the two
colors.
• The result is a two-color image whose
relative appearance can be controlled
by moving the slicing plane up and
down the intensity axis.
38
A. B. Shinde
Pseudocolor Image Processing
• Intensity Slicing:
• In general, the technique may be
summarized as follows.
• Let [0, L - 1] represent the gray scale,
• let level l0 represent black [f(x, y) = 0],
and level lL-1 represent white
[f(x, y) = L - 1].
• Suppose that P planes perpendicular
to the intensity axis are defined at
levels l1, l2, …., lP. Then, assuming that
0<P<L - 1, the P planes partition the
gray scale into P + 1 intervals, V1, V2,
…, VP+1.
39
A. B. Shinde
Pseudocolor Image Processing
• Intensity Slicing:
• Intensity to color assignments are made according to the relation
f(x, y) = ck if f(x, y) ϵ Vk
Where, ck is the color associated with the kth intensity interval Vk defined
by the partitioning planes at l = k – 1 and l = k.
40
A. B. Shinde
Pseudocolor Image Processing
• Intensity Slicing
41
A. B. Shinde
42
Pseudocolor Image Processing
Gray level to Color Transformation
A. B. Shinde
Pseudocolor Image Processing
• Intensity to Color
Transformations
• Transformations are capable of
achieving a wider range of
pseudocolor enhancement results
than the simple slicing technique.
• The idea underlying this approach is
to perform three independent
transformations on the intensity of
any input pixel.
• The three results are then fed
separately into the red, green, and
blue channels of a color television
monitor. This method produces a
composite image whose color
content is modulated by the nature
of the transformation functions.
43
Functional block diagram for
Pseudocolor image processing.
A. B. Shinde
Pseudocolor Image Processing
• Intensity to Color Transformations
44
A pseudocolor coding approach used when several monochrome
images are available.
A. B. Shinde
Pseudocolor Image Processing
• Intensity to Color Transformations:
• To combine several monochrome images into a single color composite,
as shown in earlier figure.
• A frequent use of this approach is in multispectral image processing,
where different sensors produce individual monochrome images, each in
a different spectral band.
• The types of additional processes shown in figure can be techniques
such as color balancing, combining images and selecting the three
images for display based on knowledge about response characteristics
of the sensors used to generate the images.
45
This presentation is published only for educational purpose
abshinde.eln@gmail.com

Weitere ähnliche Inhalte

Was ist angesagt?

DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESEzhilya venkat
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentationasodariyabhavesh
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantizationBCET, Balasore
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Kalyan Acharjya
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image CompressionKalyan Acharjya
 
Image Processing Basics
Image Processing BasicsImage Processing Basics
Image Processing BasicsA B Shinde
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Kalyan Acharjya
 
Elements of visual perception
Elements of visual perceptionElements of visual perception
Elements of visual perceptionDr INBAMALAR T M
 
Color image processing
Color image processingColor image processing
Color image processingrmsurya
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGmuthu181188
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
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
 
Point processing
Point processingPoint processing
Point processingpanupriyaa7
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersKarthika Ramachandran
 
Image Representation & Descriptors
Image Representation & DescriptorsImage Representation & Descriptors
Image Representation & DescriptorsPundrikPatel
 

Was ist angesagt? (20)

Noise Models
Noise ModelsNoise Models
Noise Models
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTES
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantization
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
 
Image Processing Basics
Image Processing BasicsImage Processing Basics
Image Processing Basics
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Elements of visual perception
Elements of visual perceptionElements of visual perception
Elements of visual perception
 
Color image processing
Color image processingColor image processing
Color image processing
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Color image processing
Color image processingColor image processing
Color image processing
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING
 
Sharpening spatial filters
Sharpening spatial filtersSharpening spatial filters
Sharpening spatial filters
 
Point processing
Point processingPoint processing
Point processing
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain Filters
 
Image Representation & Descriptors
Image Representation & DescriptorsImage Representation & Descriptors
Image Representation & Descriptors
 

Ähnlich wie Color Image Processing: Basics

Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphicsdhruv141293
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing pptMvidhya9
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)Vijay Kumar
 
Compututer Graphics - Color Modeling And Rendering
Compututer Graphics - Color Modeling And RenderingCompututer Graphics - Color Modeling And Rendering
Compututer Graphics - Color Modeling And RenderingPrince Soni
 
Colour%20Model%20new.pptx
Colour%20Model%20new.pptxColour%20Model%20new.pptx
Colour%20Model%20new.pptxShreyasS211082
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.pptPapajuvvanapudi
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessIrsaAamir
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxEveCarolino
 
10 color image processing
10 color image processing10 color image processing
10 color image processingbabak danyal
 
Digital image processing. PPT
Digital image processing. PPTDigital image processing. PPT
Digital image processing. PPTanushuyamurugan27
 
"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics PresentationAshek Shanto
 

Ähnlich wie Color Image Processing: Basics (20)

Color models
Color modelsColor models
Color models
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
 
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)
 
Colormodels
ColormodelsColormodels
Colormodels
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing ppt
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)
 
Compututer Graphics - Color Modeling And Rendering
Compututer Graphics - Color Modeling And RenderingCompututer Graphics - Color Modeling And Rendering
Compututer Graphics - Color Modeling And Rendering
 
Colour%20Model%20new.pptx
Colour%20Model%20new.pptxColour%20Model%20new.pptx
Colour%20Model%20new.pptx
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.ppt
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
 
Color models
Color modelsColor models
Color models
 
Color Models.pptx
Color Models.pptxColor Models.pptx
Color Models.pptx
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptx
 
Lect 06
Lect 06 Lect 06
Lect 06
 
10 color image processing
10 color image processing10 color image processing
10 color image processing
 
Digital image processing. PPT
Digital image processing. PPTDigital image processing. PPT
Digital image processing. PPT
 
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)
 
image-pro.ppt
image-pro.pptimage-pro.ppt
image-pro.ppt
 
"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation
 
10. color-texture.pptx
10. color-texture.pptx10. color-texture.pptx
10. color-texture.pptx
 

Mehr von A B Shinde

Communication System Basics
Communication System BasicsCommunication System Basics
Communication System BasicsA B Shinde
 
MOSFETs: Single Stage IC Amplifier
MOSFETs: Single Stage IC AmplifierMOSFETs: Single Stage IC Amplifier
MOSFETs: Single Stage IC AmplifierA B Shinde
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and SegmentationA B Shinde
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainA B Shinde
 
Resume Writing
Resume WritingResume Writing
Resume WritingA B Shinde
 
Blooms Taxonomy in Engineering Education
Blooms Taxonomy in Engineering EducationBlooms Taxonomy in Engineering Education
Blooms Taxonomy in Engineering EducationA B Shinde
 
ISE 7.1i Software
ISE 7.1i SoftwareISE 7.1i Software
ISE 7.1i SoftwareA B Shinde
 
VHDL Coding Syntax
VHDL Coding SyntaxVHDL Coding Syntax
VHDL Coding SyntaxA B Shinde
 
VLSI Testing Techniques
VLSI Testing TechniquesVLSI Testing Techniques
VLSI Testing TechniquesA B Shinde
 
Selecting Engineering Project
Selecting Engineering ProjectSelecting Engineering Project
Selecting Engineering ProjectA B Shinde
 
Interview Techniques
Interview TechniquesInterview Techniques
Interview TechniquesA B Shinde
 
Semiconductors
SemiconductorsSemiconductors
SemiconductorsA B Shinde
 
Diode Applications & Transistor Basics
Diode Applications & Transistor BasicsDiode Applications & Transistor Basics
Diode Applications & Transistor BasicsA B Shinde
 
Electronics Basic Concepts
Electronics Basic ConceptsElectronics Basic Concepts
Electronics Basic ConceptsA B Shinde
 
Multithreading
MultithreadingMultithreading
MultithreadingA B Shinde
 
Multiprocessor
MultiprocessorMultiprocessor
MultiprocessorA B Shinde
 
Multicore Computers
Multicore ComputersMulticore Computers
Multicore ComputersA B Shinde
 

Mehr von A B Shinde (20)

Communication System Basics
Communication System BasicsCommunication System Basics
Communication System Basics
 
MOSFETs: Single Stage IC Amplifier
MOSFETs: Single Stage IC AmplifierMOSFETs: Single Stage IC Amplifier
MOSFETs: Single Stage IC Amplifier
 
MOSFETs
MOSFETsMOSFETs
MOSFETs
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Resume Format
Resume FormatResume Format
Resume Format
 
Resume Writing
Resume WritingResume Writing
Resume Writing
 
Blooms Taxonomy in Engineering Education
Blooms Taxonomy in Engineering EducationBlooms Taxonomy in Engineering Education
Blooms Taxonomy in Engineering Education
 
ISE 7.1i Software
ISE 7.1i SoftwareISE 7.1i Software
ISE 7.1i Software
 
VHDL Coding Syntax
VHDL Coding SyntaxVHDL Coding Syntax
VHDL Coding Syntax
 
VHDL Programs
VHDL ProgramsVHDL Programs
VHDL Programs
 
VLSI Testing Techniques
VLSI Testing TechniquesVLSI Testing Techniques
VLSI Testing Techniques
 
Selecting Engineering Project
Selecting Engineering ProjectSelecting Engineering Project
Selecting Engineering Project
 
Interview Techniques
Interview TechniquesInterview Techniques
Interview Techniques
 
Semiconductors
SemiconductorsSemiconductors
Semiconductors
 
Diode Applications & Transistor Basics
Diode Applications & Transistor BasicsDiode Applications & Transistor Basics
Diode Applications & Transistor Basics
 
Electronics Basic Concepts
Electronics Basic ConceptsElectronics Basic Concepts
Electronics Basic Concepts
 
Multithreading
MultithreadingMultithreading
Multithreading
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Multicore Computers
Multicore ComputersMulticore Computers
Multicore Computers
 

Kürzlich hochgeladen

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 

Kürzlich hochgeladen (20)

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 

Color Image Processing: Basics

  • 2. A. B. Shinde Contents…  Color fundamentals:  Color models,  RGB color model,  CMY color model,  HSI color model,  Pseudocolor image processing:  Intensity slicing,  Gray level to color transformation 2
  • 4. A. B. Shinde Introduction • Color is a powerful descriptor which simplifies object identification and extraction from a scene. • Color image processing is divided into two major areas: – full-color and – pseudocolor processing. • In full color, the images are acquired with a full-color sensor, such as a color TV camera or color scanner. • In pseudocolor processing, the problem is one of assigning a color to a particular monochrome intensity or range of intensities. • Color image processing techniques are now used in a broad range of applications, including publishing, visualization, and the Internet. 4
  • 5. A. B. Shinde 5 Color Fundamentals
  • 6. A. B. Shinde Color Fundamentals • In 1666, Sir Isaac Newton discovered that, the beam of light is not white but consists of a continuous spectrum of colors ranging from violet at one end to red at the other. • As figure shows, the color spectrum may be divided into six broad regions: violet, blue, green, yellow, orange and red. 6 Color spectrum seen by passing white light through a prism. (Courtesy of the General Electric Co., Lamp Business Division.)
  • 7. A. B. Shinde Color Fundamentals • As illustrated in figure, visible light is composed of a relatively narrow band of frequencies in the electromagnetic spectrum. • A body that reflects light is balanced in all visible wavelengths appears white to the observer. • For example, green objects reflect light with wavelengths primarily in the 500 to 570 nm range while absorbing most of the energy at other wavelengths. 7 Wavelengths comprising the visible range of the electromagnetic spectrum. (Courtesy of the General Electric Co., Lamp Business Division.)
  • 8. A. B. Shinde Color Fundamentals • If the light is achromatic, its only attribute is its intensity. Achromatic light is what viewers see on a black and white television set. • Chromatic light spans the electromagnetic spectrum from approximately 400 to 700 nm. • Three basic quantities are used to describe the quality of a chromatic light source: radiance, luminance, and brightness. • Radiance is the total amount of energy that flows from the light source, and it is usually measured in watts (W). • Luminance, measured in lumens (lm), gives a measure of the amount of energy an observer perceives from a light source. • Brightness is a subjective descriptor that is practically impossible to measure. It embodies the achromatic notion of intensity and is one of the key factors in describing color sensation. 8
  • 9. A. B. Shinde Color Fundamentals • Detailed experimental evidence has established that the 6 to 7 million cones in the human eye can be divided into three principal sensing categories, red, green, and blue. • Approximately 65% of all cones are sensitive to red light, 33% are sensitive to green light, and only about 2% are sensitive to blue. • Figure shows average experimental curves detailing the absorption of light by the red, green, and blue cones in the eye. • Due to these absorption characteristics of the human eye, colors are seen as variable combinations of primary colors red (R), green (G), and blue (B). 9
  • 10. A. B. Shinde Color Fundamentals • The CIE (Commission Internationale de l’Eclairage — the International Commission on Illumination) designated in 1931 the following specific wavelength values to the three primary colors: – Blue = 435.8 nm, – Green = 546.1 nm and – Red = 700 nm. 10
  • 11. A. B. Shinde Color Fundamentals • The primary colors can be added to produce the secondary colors of light — – Magenta (red plus blue), – Cyan (green plus blue), and – Yellow (red plus green). • Mixing the three primaries, or a secondary with its opposite primary color, in the right intensities produces white light. 11
  • 12. A. B. Shinde Color Fundamentals • A a primary color is defined as one that subtracts or absorbs a primary color of light and reflects or transmits the other two. • Therefore, the primary colors of pigments are magenta, cyan, and yellow, and the secondary colors are red, green, and blue. • A proper combination of the three pigment primaries, or a secondary with its opposite primary, produces black. 12
  • 13. A. B. Shinde Color Fundamentals • The characteristics generally used to distinguish one color from another are brightness, hue, and saturation. • Brightness embodies the achromatic notion of intensity. • Hue is an attribute associated with the dominant wavelength in a mixture of light waves. Hue represents dominant color as perceived by an observer. • Thus, when we call an object red, orange, or yellow, we are referring to its hue. • Saturation refers to the relative purity or the amount of white light mixed with a hue. 13
  • 14. A. B. Shinde Color Fundamentals • Colors such as pink (red and white) and lavender (violet and white) are less saturated, with the degree of saturation being inversely proportional to the amount of white light added. • Hue and saturation taken together are called chromaticity, and, therefore, a color may be characterized by its brightness and chromaticity. 14
  • 15. A. B. Shinde Color Fundamentals • The amounts of red, green, and blue needed to form any particular color are called the tristimulus values and are denoted, X, Y, and Z, respectively. • A color is then specified by its trichromatic coefficients, defined as 15 It is noted from these equations that
  • 17. A. B. Shinde Color Models • The purpose of a color model (also called color space or color system) is to facilitate the specification of colors in some standard way. • A color model is a specification of a coordinate system and a subspace within that system where each color is represented by a single point. • In terms of digital image processing, the hardware-oriented models most commonly used in practice are the RGB (red, green, blue) model. • The CMY (cyan, magenta, yellow) and CMYK (cyan, magenta, yellow, black) models for color printing; and • The HSI (hue, saturation, intensity) model, which corresponds closely with the way humans describe and interpret color. • The HSI model also has the advantage that it decouples the color and gray-scale information in an image. 17
  • 18. A. B. Shinde 18 Color Models: RGB Color Model
  • 19. A. B. Shinde Color Models • RGB Color Model: 19 RGB 24-bit color cubeSchematic of the RGB color cube. Points along the main diagonal have gray values, from black at the origin to white at point (1, 1, 1).
  • 20. A. B. Shinde Color Models • RGB Color Model: • In the RGB model, each color appears in its primary spectral components of red, green, and blue. • The color subspace of interest is the cube shown in figure, in which RGB primary values are at three corners; the secondary colors cyan, magenta, and yellow are at three other corners; black is at the origin; and white is at the corner farthest from the origin. • The different colors in this model are points on or inside the cube. • All values of R, G, and B are assumed to be in the range [0, 1]. 20 Schematic of the RGB color cube
  • 21. A. B. Shinde Color Models • RGB Color Model: • Images represented in the RGB color model consist of three component images. • When fed into an RGB monitor, these three images combine on the screen to produce a composite color image. • The number of bits used to represent each pixel in RGB space is called the pixel depth. • Consider an RGB image in which each of the red, green, and blue images is an 8-bit image. • Under these conditions each RGB color pixel [that is, a triplet of values (R, G, B)] is said to have a depth of 24 bits. • The term full-color image is used often to denote a 24-bit RGB color image. • The total number of colors in a 24-bit RGB image is (28)3 = 16,777,216. 21 RGB 24-bit color cube
  • 22. A. B. Shinde Color Models • RGB Color Model: 22 Generating the RGB image of the cross-sectional color plane The three hidden surface planes in the color cube
  • 23. A. B. Shinde 23 Color Models: CMY Color Model
  • 24. A. B. Shinde Color Models • CMY and CMYK Color Models: • Cyan, Magenta, and Yellow are the secondary colors of 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 the simple operation where, the assumption is that all color values have been normalized to the range [0, 1]. 24 The RGB safe color cube
  • 25. A. B. Shinde Color Models • CMY and CMYK Color Models: 25 The RGB safe color cube Above equation demonstrates that light reflected from a surface coated with pure cyan does not contain red (that is, C = 1 - R). Similarly, pure magenta does not reflect green, and pure yellow does not reflect blue. Above equation also reveals that RGB values can be obtained easily from a set of CMY values by subtracting the individual CMY values from 1.
  • 26. A. B. Shinde Color Models • CMY and CMYK Color Models: • Equal amounts of the pigment primaries, cyan, magenta, and yellow should produce black. • In order to produce true black, a fourth color, black, is added, giving rise to the CMYK color model. • Thus, when publishers talk about “four-color printing,” they are referring to the three colors of the CMY color model plus black. 26
  • 27. A. B. Shinde 27 Color Models: HSI Color Model
  • 28. A. B. Shinde Color Models • HSI Color Model: • Creating colors in the RGB and CMY models and changing from one model to the other is a straightforward process. • These color systems are ideally suited for hardware implementations. • The RGB, CMY, and other similar color models are not well suited for describing colors in terms that are practical for human interpretation. • For example, one does not refer to the color of an automobile by giving the percentage of each of the primaries composing its color. 28
  • 29. A. B. Shinde Color Models • HSI Color Model: • When we see a color object, we describe it by its hue, saturation, and brightness. • We know that: – Hue is a color attribute that describes a pure color (pure yellow, orange, or red), – Saturation gives a measure of the degree to which a pure color is diluted by white light. – Brightness is a subjective descriptor that is practically impossible to measure. • It embodies the achromatic notion of intensity and is one of the key factors in describing color sensation. 29
  • 30. A. B. Shinde Color Models • HSI Color Model: • The HSI (Hue, Saturation, Intensity) color model, decouples the intensity component from the color-carrying information (hue and saturation) in a color image. • As a result, the HSI model is an ideal tool for developing image processing algorithms based on color descriptions • Summary: • RGB is ideal for image color generation (as in image capture by a color camera or image display in a monitor screen), but its use for color description is much more limited. 30
  • 31. A. B. Shinde Color Models • HSI Color Model: • An RGB color image can be viewed as three monochrome intensity images (representing red, green, and blue), so we could extract intensity from an RGB image. 31 Conceptual relationships between the RGB and HSI color models.
  • 32. A. B. Shinde Color Models • HSI Color Model: • In the arrangement shown in figure, the line (intensity axis) joining the black and white vertices is vertical. • To determine the intensity component of any color point in figure, simply pass a plane perpendicular to the intensity axis and containing the color point. • The intersection of the plane with the intensity axis would give us a point with intensity value in the range [0, 1]. • The saturation (purity) of a color increases as a function of distance from the intensity axis. 32 Conceptual relationships between the RGB and HSI color models.
  • 33. A. B. Shinde Color Models • HSI Color Model: • All points contained in the plane segment defined by the intensity axis and the boundaries of the cube have the same hue (cyan in this case). • All colors generated by three colors lie in the triangle defined by those colors. • If two of those points are black and white and the third is a color point, all points on the triangle would have the same hue because the black and white components cannot change the hue. 33 By rotating the shaded plane about the vertical intensity axis, we would obtain different hues. Conclusion: The hue, saturation, and intensity values required to form the HSI space can be obtained from the RGB color cube i. e. we can convert any RGB point to a corresponding point in the HSI color model by working out the geometrical formulas.
  • 34. A. B. Shinde 34 Pseudocolor Image Processing
  • 35. A. B. Shinde Pseudocolor Image Processing • Pseudocolor (false color) image processing consists of assigning colors to gray values based on a specified criterion. • The principal use of pseudocolor is for human visualization and interpretation of gray-scale events in an image or sequence of images. 35
  • 36. A. B. Shinde 36 Pseudocolor Image Processing Intensity Slicing
  • 37. A. B. Shinde Pseudocolor Image Processing • Intensity Slicing: • The technique of intensity (density) slicing and color coding is one of the simplest examples of pseudocolor image processing. • 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” the function in the area of intersection. • Figure shows an example of using a plane at f(x, y) = li to slice the image function into two levels. 37
  • 38. A. B. Shinde Pseudocolor Image Processing • Intensity Slicing: • If a different color is assigned to each side of the plane shown in figure, any pixel whose intensity level is above the plane will be coded with one color, and any pixel below the plane will be coded with the other color. • Levels that lie on the plane itself may be arbitrarily assigned one of the two colors. • The result is a two-color image whose relative appearance can be controlled by moving the slicing plane up and down the intensity axis. 38
  • 39. A. B. Shinde Pseudocolor Image Processing • Intensity Slicing: • In general, the technique may be summarized as follows. • Let [0, L - 1] represent the gray scale, • let level l0 represent black [f(x, y) = 0], and level lL-1 represent white [f(x, y) = L - 1]. • Suppose that P planes perpendicular to the intensity axis are defined at levels l1, l2, …., lP. Then, assuming that 0<P<L - 1, the P planes partition the gray scale into P + 1 intervals, V1, V2, …, VP+1. 39
  • 40. A. B. Shinde Pseudocolor Image Processing • Intensity Slicing: • Intensity to color assignments are made according to the relation f(x, y) = ck if f(x, y) ϵ Vk Where, ck is the color associated with the kth intensity interval Vk defined by the partitioning planes at l = k – 1 and l = k. 40
  • 41. A. B. Shinde Pseudocolor Image Processing • Intensity Slicing 41
  • 42. A. B. Shinde 42 Pseudocolor Image Processing Gray level to Color Transformation
  • 43. A. B. Shinde Pseudocolor Image Processing • Intensity to Color Transformations • Transformations are capable of achieving a wider range of pseudocolor enhancement results than the simple slicing technique. • The idea underlying this approach is to perform three independent transformations on the intensity of any input pixel. • The three results are then fed separately into the red, green, and blue channels of a color television monitor. This method produces a composite image whose color content is modulated by the nature of the transformation functions. 43 Functional block diagram for Pseudocolor image processing.
  • 44. A. B. Shinde Pseudocolor Image Processing • Intensity to Color Transformations 44 A pseudocolor coding approach used when several monochrome images are available.
  • 45. A. B. Shinde Pseudocolor Image Processing • Intensity to Color Transformations: • To combine several monochrome images into a single color composite, as shown in earlier figure. • A frequent use of this approach is in multispectral image processing, where different sensors produce individual monochrome images, each in a different spectral band. • The types of additional processes shown in figure can be techniques such as color balancing, combining images and selecting the three images for display based on knowledge about response characteristics of the sensors used to generate the images. 45
  • 46. This presentation is published only for educational purpose abshinde.eln@gmail.com