SlideShare a Scribd company logo
PROCESSING OF COLOR IMAGES
CS-467 Digital Image Processing
1
Digital color images
• A pixel of a digital color image is characterized
not by an intensity value, but by a 3- or 4-
dimensional vector, representing the pixel in a
corresponding color space
• A color space is an abstract mathematical
model describing the way colors can be
represented as tuples of numbers (typically as
3 or 4 values)
2
RGB color space
• RGB (Red Green Blue) uses additive color
mixing, because it describes what kind of light
needs to be emitted to produce a given color.
• Additive color mixing: Three overlapping light
bulbs in a vacuum, adding together to create
white
3
CMYK color space
• CMYK (Cyan Magenta Yellow Key) uses subtractive
color mixing used in the printing process, because it
describes what kind of inks need to be applied so the
light reflected from the substrate and through the
inks produces a given color.
• Subtractive color mixing: Three splotches of paint on
white paper, subtracting together to turn the paper
black
4
RGB vs. CMYK
• A comparison of RGB and CMYK color models. This image
demonstrates the difference between how colors will look on
a computer monitor (RGB) compared to how they will
reproduce in a CMYK print process
5
RGB vs. CMYK
• CMYK color space is used for color printing
(the K component characterizes specific
properties of a particular printer)
• RGB color space is used for storing color
images and their processing (filtering,
enhancement)
6
Processing of color images
• In the RGB space, its components measure the
intensity and chrominance of light
• The actual information stored in the digital
image data is the intensity information in each
spectral band
• If a digital color image is represented using
8 bit/component precision, then the 24-bit
RGB model may represent
256×256×256 ≈ 16.7 million colors
7
Processing of color images
• Any kind of color image processing can be
implemented in two alternative ways:
Each color channel can be processed
separately, using even different filters with
different parameters. Moreover, one or two
color channels may remain unprocessed
A luminosity information can be extracted
from an RGB image; then, after its processing,
it can be inserted back into the image
8
Processing of color images
• Separate processing of color channels is
reasonable if, for example these channels are
corrupted by different noises or if it is
necessary to correct or enhance colors
• A luminosity channel can be processed if only
the luminosity information is corrupted
9
RGB/Luminosity transformation
• RGB pixel intensities can be transformed to
the YUV space as follows
• Where Y is a luminosity information
(channels), U and V are chromatic channels
10
0.299 0.587 0.114
0.14713 0.28886 0.436
0.615 0.51499 0.10001
Y R
U G
V B
    
    
=− −    
    − −    
Luminosity/RGB transformation
• RGB pixel intensities can be restored from the
YUV space as follows
• Where Y is a luminosity information
(channels), U and V are chromatic channels
11
1 0 1.13983
1 0.39465 0.5806
1 2.03211 0
R Y
G U
B V
    
    
=− −    
    
    
YUV space and JPEG compression
• YUV space is used in JPEG image compression
• To apply JPEG compression, an RGB image shall
be transformed into an YUV image
• Then, JPEG compression is applied to the YUV
components. This makes it possible to reach a
higher compression rate, because the U and V
channels can be easier compressed with a
significantly higher rate (up to 90% without losing
significant information) rather than any of RGB
components
12

More Related Content

PPTX
RGB LED _ shyam
PPTX
Rgb colour model
PPTX
Computer graphics & image processing lecture notes
PPTX
Lect 06
PPTX
Semi fragile watermarking
PPTX
Rgb and-cmy-color-model
PPSX
Color Image Processing: Basics
PPTX
HSI MODEL IN COLOR IMAGE PROCESSING
RGB LED _ shyam
Rgb colour model
Computer graphics & image processing lecture notes
Lect 06
Semi fragile watermarking
Rgb and-cmy-color-model
Color Image Processing: Basics
HSI MODEL IN COLOR IMAGE PROCESSING

What's hot (20)

PPT
Psudo color
PDF
Client side rendering of maps using MapCSS
PPTX
3 d image processsing operations
PDF
A0330107
PPT
Lar calc10 ch07_sec1
PPTX
Cut mix: Regularization strategy to train strong classifiers with localizable...
PPT
2013 Peter Williams AIMS Mapping Presentation
PPT
Coloring
PPT
Double Patterning (4/2 update)
PDF
F0255046056
PPTX
Double patterning for 32nm and beyond
PPT
Display Hardware
PPT
Double Patterning
PPTX
Color an element of design
PPTX
Intensity transformation & histogram processing
PDF
PPTX
Image pyramid
PPT
Double Patterning
PPTX
Homework
PDF
Accurate Learning of Graph Representations with Graph Multiset Pooling
Psudo color
Client side rendering of maps using MapCSS
3 d image processsing operations
A0330107
Lar calc10 ch07_sec1
Cut mix: Regularization strategy to train strong classifiers with localizable...
2013 Peter Williams AIMS Mapping Presentation
Coloring
Double Patterning (4/2 update)
F0255046056
Double patterning for 32nm and beyond
Display Hardware
Double Patterning
Color an element of design
Intensity transformation & histogram processing
Image pyramid
Double Patterning
Homework
Accurate Learning of Graph Representations with Graph Multiset Pooling
Ad

Viewers also liked (8)

PPTX
Color image processing Presentation
PPT
Color
PPTX
Understanding Color#1
PPT
Assignment of I to C
PPTX
Steganography Project
PPTX
Steganography
PPTX
The application of image enhancement in color and grayscale images
PDF
Understanding Color
Color image processing Presentation
Color
Understanding Color#1
Assignment of I to C
Steganography Project
Steganography
The application of image enhancement in color and grayscale images
Understanding Color
Ad

Similar to Lecture 13 (20)

PPTX
SESSION 1.pptx
PPTX
Color Image Processing
PPT
IJ-M&M08.ppt
PPTX
Multimedia graphics and image data representation
PPTX
attribute.pptx
PPTX
Chapter 6 color image processing
PPT
PPTX
Ch2
PPTX
Digital image processing
PPTX
Digital image processing
PPTX
Unit 2 open gl .pptx
PPTX
06 cie552 image_manipulation
PDF
The Importance of Terminology and sRGB Uncertainty - Notes - 0.5
PDF
Technical concepts for graphic design production 4
PPTX
CLASS 1.1.pptx
PDF
Module 4 Color Image Processing techniques
PPTX
CIELAB color space and YCbCr color space.pptx
PDF
Comprehensive Infrared Image Edge detection Algorithm
PPTX
Color models
DOCX
Histogram analysis of image using wavelet
SESSION 1.pptx
Color Image Processing
IJ-M&M08.ppt
Multimedia graphics and image data representation
attribute.pptx
Chapter 6 color image processing
Ch2
Digital image processing
Digital image processing
Unit 2 open gl .pptx
06 cie552 image_manipulation
The Importance of Terminology and sRGB Uncertainty - Notes - 0.5
Technical concepts for graphic design production 4
CLASS 1.1.pptx
Module 4 Color Image Processing techniques
CIELAB color space and YCbCr color space.pptx
Comprehensive Infrared Image Edge detection Algorithm
Color models
Histogram analysis of image using wavelet

More from Wael Sharba (20)

PDF
Project 8
PDF
Project 7
PDF
Project 6
PDF
Project 5
PDF
Project 4
PDF
Project 2
PDF
Project 1
PDF
Project 3
PDF
Project 9
PDF
Lecture 14
PDF
Lecture 11
PDF
Lecture 12
PDF
Lecture 10
PDF
Lecture 9
PDF
Lecture 8
PDF
Lecture 7
PDF
Lecture 6
PDF
Lecture 5
PDF
Lecture 4
PDF
Lecture 3
Project 8
Project 7
Project 6
Project 5
Project 4
Project 2
Project 1
Project 3
Project 9
Lecture 14
Lecture 11
Lecture 12
Lecture 10
Lecture 9
Lecture 8
Lecture 7
Lecture 6
Lecture 5
Lecture 4
Lecture 3

Recently uploaded (20)

PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
Indian roads congress 037 - 2012 Flexible pavement
PPTX
20th Century Theater, Methods, History.pptx
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
advance database management system book.pdf
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
1_English_Language_Set_2.pdf probationary
PDF
Trump Administration's workforce development strategy
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
IGGE1 Understanding the Self1234567891011
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Indian roads congress 037 - 2012 Flexible pavement
20th Century Theater, Methods, History.pptx
A powerpoint presentation on the Revised K-10 Science Shaping Paper
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
advance database management system book.pdf
FORM 1 BIOLOGY MIND MAPS and their schemes
1_English_Language_Set_2.pdf probationary
Trump Administration's workforce development strategy
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
What if we spent less time fighting change, and more time building what’s rig...
Practical Manual AGRO-233 Principles and Practices of Natural Farming
IGGE1 Understanding the Self1234567891011
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Chinmaya Tiranga quiz Grand Finale.pdf
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Hazard Identification & Risk Assessment .pdf
B.Sc. DS Unit 2 Software Engineering.pptx

Lecture 13

  • 1. PROCESSING OF COLOR IMAGES CS-467 Digital Image Processing 1
  • 2. Digital color images • A pixel of a digital color image is characterized not by an intensity value, but by a 3- or 4- dimensional vector, representing the pixel in a corresponding color space • A color space is an abstract mathematical model describing the way colors can be represented as tuples of numbers (typically as 3 or 4 values) 2
  • 3. RGB color space • RGB (Red Green Blue) uses additive color mixing, because it describes what kind of light needs to be emitted to produce a given color. • Additive color mixing: Three overlapping light bulbs in a vacuum, adding together to create white 3
  • 4. CMYK color space • CMYK (Cyan Magenta Yellow Key) uses subtractive color mixing used in the printing process, because it describes what kind of inks need to be applied so the light reflected from the substrate and through the inks produces a given color. • Subtractive color mixing: Three splotches of paint on white paper, subtracting together to turn the paper black 4
  • 5. RGB vs. CMYK • A comparison of RGB and CMYK color models. This image demonstrates the difference between how colors will look on a computer monitor (RGB) compared to how they will reproduce in a CMYK print process 5
  • 6. RGB vs. CMYK • CMYK color space is used for color printing (the K component characterizes specific properties of a particular printer) • RGB color space is used for storing color images and their processing (filtering, enhancement) 6
  • 7. Processing of color images • In the RGB space, its components measure the intensity and chrominance of light • The actual information stored in the digital image data is the intensity information in each spectral band • If a digital color image is represented using 8 bit/component precision, then the 24-bit RGB model may represent 256×256×256 ≈ 16.7 million colors 7
  • 8. Processing of color images • Any kind of color image processing can be implemented in two alternative ways: Each color channel can be processed separately, using even different filters with different parameters. Moreover, one or two color channels may remain unprocessed A luminosity information can be extracted from an RGB image; then, after its processing, it can be inserted back into the image 8
  • 9. Processing of color images • Separate processing of color channels is reasonable if, for example these channels are corrupted by different noises or if it is necessary to correct or enhance colors • A luminosity channel can be processed if only the luminosity information is corrupted 9
  • 10. RGB/Luminosity transformation • RGB pixel intensities can be transformed to the YUV space as follows • Where Y is a luminosity information (channels), U and V are chromatic channels 10 0.299 0.587 0.114 0.14713 0.28886 0.436 0.615 0.51499 0.10001 Y R U G V B           =− −         − −    
  • 11. Luminosity/RGB transformation • RGB pixel intensities can be restored from the YUV space as follows • Where Y is a luminosity information (channels), U and V are chromatic channels 11 1 0 1.13983 1 0.39465 0.5806 1 2.03211 0 R Y G U B V           =− −              
  • 12. YUV space and JPEG compression • YUV space is used in JPEG image compression • To apply JPEG compression, an RGB image shall be transformed into an YUV image • Then, JPEG compression is applied to the YUV components. This makes it possible to reach a higher compression rate, because the U and V channels can be easier compressed with a significantly higher rate (up to 90% without losing significant information) rather than any of RGB components 12