SlideShare a Scribd company logo
Color image processing
NADAR SARASWATHI COLLEGE OF ART &SCIENCE
THENI,TAMILNADU.
M.SURYA(II MSC(CS&IT)),
P.VINITHA (II MSC(CS&IT)),
V.SARMILA (II MSC(CS&IT)),
S.SURYAKALA(II MSC(CS&IT)),
M.SHANMUGAPRIYA(II MSC(CS&IT)),
Color image processing
Color If light is achromatic (void of color), its only
attribute is its intensity. The term gray level refers to a scalar
measure of intensity that ranges from black, to grays, and
finally to white.
A very powerful descriptor that simplifies object
identification and extraction from a scene. Cones are the
sensors in the eye responsible for color vision.
A body that reflects light that is balanced in all visible
wavelengths appears white to the observer.
Introduction
Color image processing is divided into two major
area:
*Full color
*Pseudo color.
Full-color:
The image in question typically are acquired
with a full color sensor, such as a color TV camera or
color scanner.
Pseudo color:
The problem is one of assigning a color to a
particular monochrome intensity or range of intensities.
Color Fundamentals
The process followed by the human brain in
perceiving and interpreting color is a Physiopsychological
phenomenon that is not yet fully understood, the physical
nature of color can be expressed on a formal basis supported
by experiment and theoretical results.
In 1666, Sir Isaac Newton discovered that when a
beam of sunlight passes through a glass prism, the emerging
beam of light us not white but consist in stead of a
continuous spectrum of colors ranging from violet a one end
to red at the other.
Visible light is composed of a relatively narrow
brand of frequencies in the electromagnetic spectrum.
If the light is achromatic (void of color), its
only attribute is its intensity, or amount.
Achromatic light is what viewers see on a
black and white television set.
Chromatic light spans the electromagnetic
spectrum from approximately 400 to 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
flow 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.
6 to 7 million cones in the human eye can
divided into three principal sensing categories,
corresponding roughly to 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 (but that blue
cones are the most sensitive).
Due to these absorption characteristics of the
human eyes, colors are seen as variable combinations of
the so-called primary colors red (R), green (G), and
blue(B).
The primary colors can be added to produce the
secondary colors of light megenda(red plus
blue),cyan(green plus blue),and yellow(red plus
green).
The characteristics generally used to distinguish one
color from another are brightness, hue, and saturation.
Hue is an attribute associated with the
dominant wavelength in a mixture of light waves.
Hue represent dominant color as perceived by
an observer.
Saturation refers to the relatives purity or the
amount of white light mixed with a hue. The pure spectrum
color are fully saturation.
Hue and saturation taken together are called
chromaticity, and therefore, a color may be characterized
by its brightness and chromaticity.
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, generally accepted way. A
color model is a specification of a coordination system
and a subspace within that system where each color is
represented by a single point.
Most color models in use today are oriented
either toward hardware or toward applications where color
manipulation is a goal.
 In terms of digital image processing, the hardware
oriented models most commonly used in practice are
the RGB(red, green, blue) model for color monitors
and a broad class of color video cameras.
 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 models also has the advantage that it
decouples the color and gray- scale information in an
image making it suitable for many of the gray –scale
techniques developed in the book.
 There are numerous color models in use today due
to the fact that color science is a broad field that
encompasses many areas of application.
RGB COLOR MODEL
 The RGB model, each color appears in its primary
spectral components is red,green,blue.
 This model is based on a Cartesian coordinate system.
 RGB is primary values are at three corners ; secondary
colors cyan ,magenta and yellow are at three corners.
 Black is origin; and white is at the corner farthest from the
origin.
 The gray scale extends from black and white along the line
joining these two point.
 R,G,and B are assumed to be in the range[1,0].
A color image can be acquired by using three filling
sensitive to red,green,blue respectively.
 The hex numbers 0,1,2,…….,9,A,B,C,D,E,F correspond
to decimal numbers 0,1,2,…,9,10,11,12,13,14,15.
 Recall that (0)16 =(0000)2 and (F)16=(1111)2.
 The square in the top left array has value FFFFCC
(white),the second square to its right has value
FFFFCC,the third square has FFFF99.
 Second row has value FFCCFF,FFCCCC,FFCC99 and so
on.
•The hex codes for all the possible gray colors in a 256-color
RGBsystem.
•Some of these values are outside of the safe color set but are
represented properly by most display system.
•The gray from the color group (KKKKKK)16,for
K=0,3,6,9,C,F.
The CMY and CMYK color models
 Cyan , magenta and yellow are the secondary
color of light or alternatively , the primary colors of
pigments.
 Most devices that deposit colored pigments on
paper, such as color printer and copiers, require CMY
data input or perform an RGB to CMY converting
internally.
This conversion is performed using the simple
operation
- =
The assumption is that all color values have been
normalized the range [0,1].
C
M
Y
1
1
1
R
G
B
The RGB safe color cube
 That light reflected from surface coated with pure
cyan does not contain red ( C= 1 – R )
 Pure magenta does not reflect green, and pure
yellow does not reflect blue.
 RGB values can be obtained easily from a set of
CMY values by subtracting the individual CMY values
from 1.
 The inverse operation from CMY to RGB generally
is of little practical interest.
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.
 The HSI model is an ideal tool for developing
image processing algorithms based on color
descriptions that are natural and intuitive to
humans.
The HSI model uses three measures to describe colors:
Hue: A color attribute that describes a pure color (pure
yellow, orange or red)
Saturation: Gives a measure of how much a pure color
is diluted with white light
Intensity: Brightness is nearly impossible to measure
because it is so subjective. Instead we use intensity.
Intensity is the same achromatic notion that we have
seen in grey level images
Relationship between the RGB and
HSI color models
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
In a similar way we can extract the hue from the RGB
color cube
Consider a plane defined by the three points cyan, black
and white
All points contained in this plane must have the same hue
(cyan) as black and white cannot contribute hue information
to a color
Hue and Saturation in 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
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 only important things are the angle and the
length of the saturation vector this plane is also often
represented as a circle or a triangle
The angle from the red axis gives the hue, and the
length of the vector is the saturation.
 The intensity of all colors in any of these planes is
given by the position of the plane on the vertical
intensity axis.
HSI Model Example
Converting from RGB to HSI
Given a color as R, G, and B its H, S, and I values are
calculated as follows:






GBif
GBif
H
360 
     
      









 
2
1
2
2
1
1
cos
BGBRGR
BRGR

 
  BGR
BGR
S ,,min
3
1

 I  1
3
R G B 
Converting from HSI to RGB
Given a color as H, S, and I it’s R, G, and B values are
calculated as follows:
RG sector (0 <= H < 120°)
 







H
HS
IR
60cos
cos
1

G  3I  R  B 

B  I 1 S 
 GB sector (120° <= H < 240°)
R  I 1S 
 
  








60cos
120cos
1
H
HS
IG  GRIB 3
 BR sector (240° <= H <= 360°)
 BGIR  3

G  I 1 S 
 
  








180cos
240cos
1
H
HS
IB
HSI & RGB
H, S, and I Components of RGB Color Cube
Manipulating Images In The HSI Model
In order to manipulate an image under the HIS model we:
 First convert it from RGB to HSI
 Perform our manipulations under HSI
 Finally convert the image back from HSI to RGB
RGB
Image
HSI Image HSI Image
Manipulatio
ns
RGB -> HSI -> RGB
RGB Image Hue
Saturation Intensity
Color image processing

More Related Content

What's hot

03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIP
babak danyal
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
Rishabh shah
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
sakshij91
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
khyati gupta
 
Lect 06
Lect 06 Lect 06
Lect 06
Moe Moe Myint
 
Chapter 8 image compression
Chapter 8 image compressionChapter 8 image compression
Chapter 8 image compression
asodariyabhavesh
 
10 color image processing
10 color image processing10 color image processing
10 color image processing
babak danyal
 
Image segmentation
Image segmentation Image segmentation
Color models
Color modelsColor models
Color models
Haitham Ahmed
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
Md Shabir Alam
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
asodariyabhavesh
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
A B Shinde
 
Rgb and cmy color model
Rgb and cmy color modelRgb and cmy color model
Rgb and cmy color model
University of Potsdam
 
introduction to colors in images and videos
introduction to colors in images and videosintroduction to colors in images and videos
introduction to colors in images and videos
wasrse
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
shabanam tamboli
 
Image enhancement sharpening
Image enhancement  sharpeningImage enhancement  sharpening
Image enhancement sharpening
arulraj121
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
AAKANKSHA JAIN
 
Color models in Digitel image processing
Color models in Digitel image processingColor models in Digitel image processing
Color models in Digitel image processing
Aryan Shivhare
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
asodariyabhavesh
 
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
 

What's hot (20)

03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIP
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Lect 06
Lect 06 Lect 06
Lect 06
 
Chapter 8 image compression
Chapter 8 image compressionChapter 8 image compression
Chapter 8 image compression
 
10 color image processing
10 color image processing10 color image processing
10 color image processing
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Color models
Color modelsColor models
Color models
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Rgb and cmy color model
Rgb and cmy color modelRgb and cmy color model
Rgb and cmy color model
 
introduction to colors in images and videos
introduction to colors in images and videosintroduction to colors in images and videos
introduction to colors in images and videos
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Image enhancement sharpening
Image enhancement  sharpeningImage enhancement  sharpening
Image enhancement sharpening
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Color models in Digitel image processing
Color models in Digitel image processingColor models in Digitel image processing
Color models in Digitel image processing
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING
 

Viewers also liked

Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
dhruv141293
 
How to convert video clips to gif
How to convert video clips to gifHow to convert video clips to gif
How to convert video clips to gif
Bong Bernardo
 
"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
Ashek Shanto
 
Computer graphics color models
Computer graphics    color modelsComputer graphics    color models
Computer graphics color models
Prof. A.Balasubramanian
 
RGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionRGB Color Model and Monitor Resolution
RGB Color Model and Monitor Resolution
Adya Tiwari
 
The GIF Element: Making, Finding, & Using GIFs to Great Effect
The GIF Element: Making, Finding, & Using GIFs to Great EffectThe GIF Element: Making, Finding, & Using GIFs to Great Effect
The GIF Element: Making, Finding, & Using GIFs to Great Effect
Shaelyn Amaio
 
JPEG vs GIF vs PNG
JPEG vs GIF vs PNGJPEG vs GIF vs PNG
JPEG vs GIF vs PNG
Someone Else
 
Commonly Used Image File Formats
Commonly Used Image File FormatsCommonly Used Image File Formats
Commonly Used Image File Formats
Fatih Özlü
 
The evolution of animated gifs: Podcamp Toronto 2013
The evolution of animated gifs: Podcamp Toronto 2013The evolution of animated gifs: Podcamp Toronto 2013
The evolution of animated gifs: Podcamp Toronto 2013
Lauren O'Nizzle
 
Color Models
Color ModelsColor Models
Color Models
Mustafa Salam
 

Viewers also liked (10)

Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
 
How to convert video clips to gif
How to convert video clips to gifHow to convert video clips to gif
How to convert video clips to gif
 
"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
 
Computer graphics color models
Computer graphics    color modelsComputer graphics    color models
Computer graphics color models
 
RGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionRGB Color Model and Monitor Resolution
RGB Color Model and Monitor Resolution
 
The GIF Element: Making, Finding, & Using GIFs to Great Effect
The GIF Element: Making, Finding, & Using GIFs to Great EffectThe GIF Element: Making, Finding, & Using GIFs to Great Effect
The GIF Element: Making, Finding, & Using GIFs to Great Effect
 
JPEG vs GIF vs PNG
JPEG vs GIF vs PNGJPEG vs GIF vs PNG
JPEG vs GIF vs PNG
 
Commonly Used Image File Formats
Commonly Used Image File FormatsCommonly Used Image File Formats
Commonly Used Image File Formats
 
The evolution of animated gifs: Podcamp Toronto 2013
The evolution of animated gifs: Podcamp Toronto 2013The evolution of animated gifs: Podcamp Toronto 2013
The evolution of animated gifs: Podcamp Toronto 2013
 
Color Models
Color ModelsColor Models
Color Models
 

Similar to Color image processing

Color models
Color modelsColor models
Color models
Rakesh Pandey
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.ppt
Papajuvvanapudi
 
Color_Spaces.pptx
Color_Spaces.pptxColor_Spaces.pptx
Color_Spaces.pptx
JosRamnIglesiasGamar
 
Question bank for students.pdf
Question bank for students.pdfQuestion bank for students.pdf
Question bank for students.pdf
NehaVerma258827
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing ppt
Mvidhya9
 
Color
ColorColor
Color
FNian
 
Color Image Processing.pptx
Color Image Processing.pptxColor Image Processing.pptx
Color Image Processing.pptx
Antu Chowdhury
 
An investigation for steganography using different color system
An investigation for steganography using different color systemAn investigation for steganography using different color system
An investigation for steganography using different color system
Dr Amira Bibo
 
image-pro.ppt
image-pro.pptimage-pro.ppt
image-pro.ppt
RANJITHA58
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptx
EveCarolino
 
Colormodels
ColormodelsColormodels
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
IrsaAamir
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTES
Ezhilya venkat
 
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)
Daroko blog(www.professionalbloggertricks.com)
 
PROPERTIES OF LIGHT by R.Chinthamani.pptx
PROPERTIES OF LIGHT by R.Chinthamani.pptxPROPERTIES OF LIGHT by R.Chinthamani.pptx
PROPERTIES OF LIGHT by R.Chinthamani.pptx
SindhuVelmukull
 
Colormodels
ColormodelsColormodels
Colormodels
Bhavik Vashi
 
CG_U4_M1.pptx
CG_U4_M1.pptxCG_U4_M1.pptx
CG_U4_M1.pptx
ssuser255bf1
 
Color models
Color modelsColor models
Color models
Moahmed Sweelam
 
About Color
About ColorAbout Color
About Color
Naushad Thotad
 

Similar to Color image processing (20)

Color models
Color modelsColor models
Color models
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.ppt
 
Color_Spaces.pptx
Color_Spaces.pptxColor_Spaces.pptx
Color_Spaces.pptx
 
Question bank for students.pdf
Question bank for students.pdfQuestion bank for students.pdf
Question bank for students.pdf
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing ppt
 
colorimage
colorimagecolorimage
colorimage
 
Color
ColorColor
Color
 
Color Image Processing.pptx
Color Image Processing.pptxColor Image Processing.pptx
Color Image Processing.pptx
 
An investigation for steganography using different color system
An investigation for steganography using different color systemAn investigation for steganography using different color system
An investigation for steganography using different color system
 
image-pro.ppt
image-pro.pptimage-pro.ppt
image-pro.ppt
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptx
 
Colormodels
ColormodelsColormodels
Colormodels
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTES
 
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)
 
PROPERTIES OF LIGHT by R.Chinthamani.pptx
PROPERTIES OF LIGHT by R.Chinthamani.pptxPROPERTIES OF LIGHT by R.Chinthamani.pptx
PROPERTIES OF LIGHT by R.Chinthamani.pptx
 
Colormodels
ColormodelsColormodels
Colormodels
 
CG_U4_M1.pptx
CG_U4_M1.pptxCG_U4_M1.pptx
CG_U4_M1.pptx
 
Color models
Color modelsColor models
Color models
 
About Color
About ColorAbout Color
About Color
 

Recently uploaded

The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 

Recently uploaded (20)

The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 

Color image processing

  • 1. Color image processing NADAR SARASWATHI COLLEGE OF ART &SCIENCE THENI,TAMILNADU. M.SURYA(II MSC(CS&IT)), P.VINITHA (II MSC(CS&IT)), V.SARMILA (II MSC(CS&IT)), S.SURYAKALA(II MSC(CS&IT)), M.SHANMUGAPRIYA(II MSC(CS&IT)),
  • 2. Color image processing Color If light is achromatic (void of color), its only attribute is its intensity. The term gray level refers to a scalar measure of intensity that ranges from black, to grays, and finally to white. A very powerful descriptor that simplifies object identification and extraction from a scene. Cones are the sensors in the eye responsible for color vision. A body that reflects light that is balanced in all visible wavelengths appears white to the observer.
  • 3. Introduction Color image processing is divided into two major area: *Full color *Pseudo color. Full-color: The image in question typically are acquired with a full color sensor, such as a color TV camera or color scanner. Pseudo color: The problem is one of assigning a color to a particular monochrome intensity or range of intensities.
  • 4. Color Fundamentals The process followed by the human brain in perceiving and interpreting color is a Physiopsychological phenomenon that is not yet fully understood, the physical nature of color can be expressed on a formal basis supported by experiment and theoretical results. In 1666, Sir Isaac Newton discovered that when a beam of sunlight passes through a glass prism, the emerging beam of light us not white but consist in stead of a continuous spectrum of colors ranging from violet a one end to red at the other.
  • 5. Visible light is composed of a relatively narrow brand of frequencies in the electromagnetic spectrum. If the light is achromatic (void of color), its only attribute is its intensity, or amount. Achromatic light is what viewers see on a black and white television set. Chromatic light spans the electromagnetic spectrum from approximately 400 to 700 nm.
  • 6. 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 flow 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.
  • 7. 6 to 7 million cones in the human eye can divided into three principal sensing categories, corresponding roughly to 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 (but that blue cones are the most sensitive). Due to these absorption characteristics of the human eyes, colors are seen as variable combinations of the so-called primary colors red (R), green (G), and blue(B).
  • 8. The primary colors can be added to produce the secondary colors of light megenda(red plus blue),cyan(green plus blue),and yellow(red plus green).
  • 9. The characteristics generally used to distinguish one color from another are brightness, hue, and saturation. Hue is an attribute associated with the dominant wavelength in a mixture of light waves. Hue represent dominant color as perceived by an observer. Saturation refers to the relatives purity or the amount of white light mixed with a hue. The pure spectrum color are fully saturation.
  • 10. Hue and saturation taken together are called chromaticity, and therefore, a color may be characterized by its brightness and chromaticity.
  • 11. 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, generally accepted way. A color model is a specification of a coordination system and a subspace within that system where each color is represented by a single point. Most color models in use today are oriented either toward hardware or toward applications where color manipulation is a goal.
  • 12.  In terms of digital image processing, the hardware oriented models most commonly used in practice are the RGB(red, green, blue) model for color monitors and a broad class of color video cameras.  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.
  • 13.  The HSI models also has the advantage that it decouples the color and gray- scale information in an image making it suitable for many of the gray –scale techniques developed in the book.  There are numerous color models in use today due to the fact that color science is a broad field that encompasses many areas of application.
  • 14. RGB COLOR MODEL  The RGB model, each color appears in its primary spectral components is red,green,blue.  This model is based on a Cartesian coordinate system.
  • 15.  RGB is primary values are at three corners ; secondary colors cyan ,magenta and yellow are at three corners.  Black is origin; and white is at the corner farthest from the origin.  The gray scale extends from black and white along the line joining these two point.  R,G,and B are assumed to be in the range[1,0].
  • 16. A color image can be acquired by using three filling sensitive to red,green,blue respectively.
  • 17.  The hex numbers 0,1,2,…….,9,A,B,C,D,E,F correspond to decimal numbers 0,1,2,…,9,10,11,12,13,14,15.  Recall that (0)16 =(0000)2 and (F)16=(1111)2.
  • 18.  The square in the top left array has value FFFFCC (white),the second square to its right has value FFFFCC,the third square has FFFF99.  Second row has value FFCCFF,FFCCCC,FFCC99 and so on.
  • 19. •The hex codes for all the possible gray colors in a 256-color RGBsystem. •Some of these values are outside of the safe color set but are represented properly by most display system. •The gray from the color group (KKKKKK)16,for K=0,3,6,9,C,F.
  • 20. The CMY and CMYK color models  Cyan , magenta and yellow are the secondary color of light or alternatively , the primary colors of pigments.  Most devices that deposit colored pigments on paper, such as color printer and copiers, require CMY data input or perform an RGB to CMY converting internally.
  • 21. This conversion is performed using the simple operation - = The assumption is that all color values have been normalized the range [0,1]. C M Y 1 1 1 R G B
  • 22. The RGB safe color cube
  • 23.  That light reflected from surface coated with pure cyan does not contain red ( C= 1 – R )  Pure magenta does not reflect green, and pure yellow does not reflect blue.  RGB values can be obtained easily from a set of CMY values by subtracting the individual CMY values from 1.  The inverse operation from CMY to RGB generally is of little practical interest.
  • 24. 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.  The HSI model is an ideal tool for developing image processing algorithms based on color descriptions that are natural and intuitive to humans.
  • 25. The HSI model uses three measures to describe colors: Hue: A color attribute that describes a pure color (pure yellow, orange or red) Saturation: Gives a measure of how much a pure color is diluted with white light Intensity: Brightness is nearly impossible to measure because it is so subjective. Instead we use intensity. Intensity is the same achromatic notion that we have seen in grey level images
  • 26. Relationship between the RGB and HSI color models 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
  • 27. In a similar way we can extract the hue from the RGB color cube Consider a plane defined by the three points cyan, black and white All points contained in this plane must have the same hue (cyan) as black and white cannot contribute hue information to a color
  • 28. Hue and Saturation in 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
  • 29. 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
  • 30.  The only important things are the angle and the length of the saturation vector this plane is also often represented as a circle or a triangle The angle from the red axis gives the hue, and the length of the vector is the saturation.  The intensity of all colors in any of these planes is given by the position of the plane on the vertical intensity axis.
  • 32. Converting from RGB to HSI Given a color as R, G, and B its H, S, and I values are calculated as follows:       GBif GBif H 360                          2 1 2 2 1 1 cos BGBRGR BRGR      BGR BGR S ,,min 3 1   I  1 3 R G B 
  • 33. Converting from HSI to RGB Given a color as H, S, and I it’s R, G, and B values are calculated as follows: RG sector (0 <= H < 120°)          H HS IR 60cos cos 1  G  3I  R  B   B  I 1 S   GB sector (120° <= H < 240°) R  I 1S               60cos 120cos 1 H HS IG  GRIB 3
  • 34.  BR sector (240° <= H <= 360°)  BGIR  3  G  I 1 S               180cos 240cos 1 H HS IB
  • 35. HSI & RGB H, S, and I Components of RGB Color Cube
  • 36. Manipulating Images In The HSI Model In order to manipulate an image under the HIS model we:  First convert it from RGB to HSI  Perform our manipulations under HSI  Finally convert the image back from HSI to RGB RGB Image HSI Image HSI Image Manipulatio ns
  • 37. RGB -> HSI -> RGB RGB Image Hue Saturation Intensity