SlideShare a Scribd company logo
1 of 27
Color Models
(Color Space, Color System)
Presentation with
DR . NAHLA El HAGAR
Prepared by
Mohamed Sweelam .
References
• R.C. Gonzales and R.E. Woods, Digital Image
Processing, Addison-Wesley, Reading, 1992.
• I. Newton, Opticks, 4th Edition, Dover, New
York, 1704/1952.
• Gur, E., Zalevsky, Z., 2007, Single-Image Digital
Super-Resolution A Revised Gerchberg
Papoulis Algorithm, international Journal of
Computer Science.
• WWW of course ^_^ .
Over view
 Color image processing is a very important
field with a long history :• – What are color models?
• – What are color spaces and how are they
used?
• – What new techniques are possible by
working with color pixels directly?
• What’s hue, saturation, and brightness?
The Meaning
• The color model also called ( Color system or
space color ) is a specification of a coordinate
system and subspace within the system where
each color is represented by single point .

S = T( f(r) ) .
History of Colors
Colors Type
• RGB : is the most use now days and called 24bits color Image .
• Gray Scale : this type has a range [0-255] and
called 8-bits color Image.
• Binary : knows as ( White and Black ) and has
a range [ 0 , 1 ] and called 1-bits Image.
Light And The Electromagnetic
Spectrum
•Light is just a particular part of the
electromagnetic spectrum that can be sensed by
the human eye
•The electromagnetic spectrum is split up
according to the wavelengths of different forms
of energy.
Human with Colors
•The lens focuses light from objects onto the retina
The retina is covered with
light receptors called
cones (6-7 million) and
rods (75-150 million)
•Cones are concentrated
around the fovea and are
very sensitive to colour
•Human eyes have three types of cone receptors
that detect light in Red , Green and Blue .
RGB representation
• We can imagine the RGB as a 3-dimensions .
• RGB is our Goal from
Now to the end.
• Actually RGB is three
layers behind each
other but just for
imagining .
Hue, Saturation and Brightness
• Hue, saturation, and brightness are aspects of
color in the red, green, and blue ( RGB )
scheme. These terms are most often used in
reference to the color of each pixel in a
cathode ray tube ( CRT ) display. All possible
colors can be specified according to hue,
saturation, and brightness (also
called brilliance ), just as colors can be
represented in terms of the R, G, and B
components.
Hue
• Most sources of visible light contain energy over a
band of wavelengths. Hue is the wavelength within the
visible-light spectrum at which the energy output from
a source is greatest. This is shown as the peak of the
curves in the accompanying graph of intensity versus
wavelength. In this example, all three colors have the
same hue, with a wavelength slightly longer than 500
nanometers, in the yellow-green portion of the
spectrum.
• • Hue is the actual color. It is measured in angular
degrees counter-clockwise around the cone starting
and ending at red = 0 or 360 (so yellow = 60, green =
120, etc.).
Hue … Cont.
• You also perceive color changing along two
other dimensions. One of the dimensions is
lightness-darkness. How light or dark a color is
is referred to either as a colors lightness
or value. In terms of a spectral definition of
color, value describes the overall intensity or
strength of the light. If hue can be thought of
as a dimension going around a wheel, then
value is a linear axis like an axis running
through the middle of the wheel
Saturation
• The last dimension of color that describes our response to color
is saturation. Saturation refers to the dominance of hue in the color.
On the outer edge of the hue wheel are the 'pure' hues. As you
move into the center of the wheel, the hue we are using to describe
the color dominates less and less. When you reach the center of the
wheel, no hue dominates. These colors directly on the central axis
are considered desaturated. These desaturated colors constitute
the grayscale; running from white to black with all of the
intermediate grays in between. Saturation, therefore, is the
dimension running from the outer edge of the hue wheel (fully
saturated) to the center (fully desaturated), perpendicular to the
value axis (Figure 9). In terms of a spectral definition of
color, saturation is the ratio of the dominant wavelength to other
wavelengths in the color. White light is white because it contains an
even balance of all wavelengths.
Saturation Cont.
• Saturation is the purity of the
color, measured in percent from
the center of the cone (0) to the
surface (100). At 0%
saturation, hue is meaningless.
• That is mean if you reach to
the pure color there is no
Conflict of the saturate of this
Color .
Like Green , Blue and Red .
Brightness
• • Brightness is measured in percent from black (0) to white
(100). At 0% brightness, both hue and saturation are
meaningless.
• Brightness is a relative expression of the intensity of the
energy output of a visible light source. It can be expressed
as a total energy value (different for each of the curves in
the diagram), or as the amplitude at the wavelength where
the intensity is greatest (identical for all three curves). In
the RGB color model, the amplitudes of red, green, and
blue for a particular color can each range from 0 to 100
percent of full brilliance. These levels are represented by
the range of decimal numbers from 0 to 255, or
hexadecimal numbers from 00 to FF.
Summary
HSB
Start with the foreground color HSB panel (lower
.

left), with the default setting: saturation and
brightness 0%, hue 0° (black).
Move the Saturation slider from 0% to 100% and
back down to 0%. Nothing happens, since
brightness is still 0%.
Do the same with the Hue control: move it around
the circle and again nothing happens without
brightness. Return it to the 0° position or simply
type 0 in the Hue text box.
Now raise Brightness gradually from 0% to 100%.
Hue is still irrelevant, since there is no saturation;
you are watching a grey scale as the color (center
panel) goes from black to white. Notice that the
RGB sliders (top panel) are moving together, since
grey or white is produced by equal amounts of
red, green, and blue light. Leave brightness at full
value.
Color models

More Related Content

What's hot

What's hot (20)

Color image processing
Color image processingColor image processing
Color image processing
 
Color fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingColor fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image Processing
 
Rgb colour model
Rgb colour modelRgb colour model
Rgb colour model
 
Color
ColorColor
Color
 
Color and color models
Color and color modelsColor and color models
Color and color models
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING
 
Color image processing
Color image processingColor image processing
Color image processing
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
10 color image processing
10 color image processing10 color image processing
10 color image processing
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul Islam
 
Psuedo color
Psuedo colorPsuedo color
Psuedo color
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
HSL & HSV colour models
HSL & HSV colour modelsHSL & HSV colour models
HSL & HSV colour models
 
Color Models.pptx
Color Models.pptxColor Models.pptx
Color Models.pptx
 
Unit3 dip
Unit3 dipUnit3 dip
Unit3 dip
 
Color Models
Color ModelsColor Models
Color Models
 
"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
 
RGB & CMYK Color Model
RGB & CMYK Color ModelRGB & CMYK Color Model
RGB & CMYK Color Model
 
Color model
Color modelColor model
Color model
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 

Similar to Color models

Technical Report -Chromaticity Explained
Technical Report -Chromaticity ExplainedTechnical Report -Chromaticity Explained
Technical Report -Chromaticity Explained
Martin Jesson
 
Theory and principle of colour management application and communication.pptx
Theory and principle of colour management application and communication.pptxTheory and principle of colour management application and communication.pptx
Theory and principle of colour management application and communication.pptx
OUTR, Bhubaneswar
 
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
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
IrsaAamir
 

Similar to Color models (20)

CG_U4_M1.pptx
CG_U4_M1.pptxCG_U4_M1.pptx
CG_U4_M1.pptx
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.ppt
 
Colour%20Model%20new.pptx
Colour%20Model%20new.pptxColour%20Model%20new.pptx
Colour%20Model%20new.pptx
 
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
 
Lecture#10 Theory of Color.pptx
Lecture#10 Theory of Color.pptxLecture#10 Theory of Color.pptx
Lecture#10 Theory of Color.pptx
 
Technical Report -Chromaticity Explained
Technical Report -Chromaticity ExplainedTechnical Report -Chromaticity Explained
Technical Report -Chromaticity Explained
 
About Color
About ColorAbout Color
About Color
 
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)
 
Compututer Graphics - Color Modeling And Rendering
Compututer Graphics - Color Modeling And RenderingCompututer Graphics - Color Modeling And Rendering
Compututer Graphics - Color Modeling And Rendering
 
Colormodels
ColormodelsColormodels
Colormodels
 
Theory and principle of colour management application and communication.pptx
Theory and principle of colour management application and communication.pptxTheory and principle of colour management application and communication.pptx
Theory and principle of colour management application and communication.pptx
 
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
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)
 
Principals and elements of design.
Principals and elements of design.Principals and elements of design.
Principals and elements of design.
 
10. color-texture.pptx
10. color-texture.pptx10. color-texture.pptx
10. color-texture.pptx
 
Colour 1 theory 2014
Colour 1 theory 2014Colour 1 theory 2014
Colour 1 theory 2014
 
Color models
Color modelsColor models
Color models
 
HSB Color Model Presentation.pdf
HSB Color Model Presentation.pdfHSB Color Model Presentation.pdf
HSB Color Model Presentation.pdf
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
 
06 color image processing
06 color image processing06 color image processing
06 color image processing
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Recently uploaded (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

Color models

  • 1. Color Models (Color Space, Color System) Presentation with DR . NAHLA El HAGAR Prepared by Mohamed Sweelam .
  • 2. References • R.C. Gonzales and R.E. Woods, Digital Image Processing, Addison-Wesley, Reading, 1992. • I. Newton, Opticks, 4th Edition, Dover, New York, 1704/1952. • Gur, E., Zalevsky, Z., 2007, Single-Image Digital Super-Resolution A Revised Gerchberg Papoulis Algorithm, international Journal of Computer Science. • WWW of course ^_^ .
  • 3. Over view  Color image processing is a very important field with a long history :• – What are color models? • – What are color spaces and how are they used? • – What new techniques are possible by working with color pixels directly? • What’s hue, saturation, and brightness?
  • 4. The Meaning • The color model also called ( Color system or space color ) is a specification of a coordinate system and subspace within the system where each color is represented by single point . S = T( f(r) ) .
  • 6. Colors Type • RGB : is the most use now days and called 24bits color Image . • Gray Scale : this type has a range [0-255] and called 8-bits color Image. • Binary : knows as ( White and Black ) and has a range [ 0 , 1 ] and called 1-bits Image.
  • 7. Light And The Electromagnetic Spectrum •Light is just a particular part of the electromagnetic spectrum that can be sensed by the human eye •The electromagnetic spectrum is split up according to the wavelengths of different forms of energy.
  • 8. Human with Colors •The lens focuses light from objects onto the retina The retina is covered with light receptors called cones (6-7 million) and rods (75-150 million) •Cones are concentrated around the fovea and are very sensitive to colour •Human eyes have three types of cone receptors that detect light in Red , Green and Blue .
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. RGB representation • We can imagine the RGB as a 3-dimensions . • RGB is our Goal from Now to the end. • Actually RGB is three layers behind each other but just for imagining .
  • 17. Hue, Saturation and Brightness • Hue, saturation, and brightness are aspects of color in the red, green, and blue ( RGB ) scheme. These terms are most often used in reference to the color of each pixel in a cathode ray tube ( CRT ) display. All possible colors can be specified according to hue, saturation, and brightness (also called brilliance ), just as colors can be represented in terms of the R, G, and B components.
  • 18. Hue • Most sources of visible light contain energy over a band of wavelengths. Hue is the wavelength within the visible-light spectrum at which the energy output from a source is greatest. This is shown as the peak of the curves in the accompanying graph of intensity versus wavelength. In this example, all three colors have the same hue, with a wavelength slightly longer than 500 nanometers, in the yellow-green portion of the spectrum. • • Hue is the actual color. It is measured in angular degrees counter-clockwise around the cone starting and ending at red = 0 or 360 (so yellow = 60, green = 120, etc.).
  • 19.
  • 20. Hue … Cont. • You also perceive color changing along two other dimensions. One of the dimensions is lightness-darkness. How light or dark a color is is referred to either as a colors lightness or value. In terms of a spectral definition of color, value describes the overall intensity or strength of the light. If hue can be thought of as a dimension going around a wheel, then value is a linear axis like an axis running through the middle of the wheel
  • 21.
  • 22. Saturation • The last dimension of color that describes our response to color is saturation. Saturation refers to the dominance of hue in the color. On the outer edge of the hue wheel are the 'pure' hues. As you move into the center of the wheel, the hue we are using to describe the color dominates less and less. When you reach the center of the wheel, no hue dominates. These colors directly on the central axis are considered desaturated. These desaturated colors constitute the grayscale; running from white to black with all of the intermediate grays in between. Saturation, therefore, is the dimension running from the outer edge of the hue wheel (fully saturated) to the center (fully desaturated), perpendicular to the value axis (Figure 9). In terms of a spectral definition of color, saturation is the ratio of the dominant wavelength to other wavelengths in the color. White light is white because it contains an even balance of all wavelengths.
  • 23. Saturation Cont. • Saturation is the purity of the color, measured in percent from the center of the cone (0) to the surface (100). At 0% saturation, hue is meaningless. • That is mean if you reach to the pure color there is no Conflict of the saturate of this Color . Like Green , Blue and Red .
  • 24. Brightness • • Brightness is measured in percent from black (0) to white (100). At 0% brightness, both hue and saturation are meaningless. • Brightness is a relative expression of the intensity of the energy output of a visible light source. It can be expressed as a total energy value (different for each of the curves in the diagram), or as the amplitude at the wavelength where the intensity is greatest (identical for all three curves). In the RGB color model, the amplitudes of red, green, and blue for a particular color can each range from 0 to 100 percent of full brilliance. These levels are represented by the range of decimal numbers from 0 to 255, or hexadecimal numbers from 00 to FF.
  • 25.
  • 26. Summary HSB Start with the foreground color HSB panel (lower . left), with the default setting: saturation and brightness 0%, hue 0° (black). Move the Saturation slider from 0% to 100% and back down to 0%. Nothing happens, since brightness is still 0%. Do the same with the Hue control: move it around the circle and again nothing happens without brightness. Return it to the 0° position or simply type 0 in the Hue text box. Now raise Brightness gradually from 0% to 100%. Hue is still irrelevant, since there is no saturation; you are watching a grey scale as the color (center panel) goes from black to white. Notice that the RGB sliders (top panel) are moving together, since grey or white is produced by equal amounts of red, green, and blue light. Leave brightness at full value.