![Page 1: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/1.jpg)
In The Name Of God
Digital Image ProcessingDigital Image Processing
Lecture6:
Color Image Processing
By: M. Ghelich OghliM. Ghelich OghliE-mail: E-mail: [email protected][email protected]
Fall 2012
![Page 2: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/2.jpg)
Visible Spectrum
![Page 3: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/3.jpg)
Lighting conditions
Image taken lit by a flash.
Image taken lit by a tungsten lamp.
• The lighting conditions of the scene have a large effect on the colours recorded.
![Page 4: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/4.jpg)
Color Representation
![Page 5: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/5.jpg)
Indexed Images
![Page 6: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/6.jpg)
Color characteristic
Hue : An attribute associated with the dominant Wavelength( or dominant color perceived by an observer)
Saturation: refers to relative purity or amount of white light mixed with hue( colors such as pink (red and white) are less saturated)
Hue & Saturation --> chromaticity
Brightness: chromatic notion of intensity
![Page 7: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/7.jpg)
Color Models
RGB Color Model (space or system): each color appears in its primary components of red green and blue.
![Page 8: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/8.jpg)
RGB Color Space
![Page 9: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/9.jpg)
CMY and CMYK Color Model
Cyan Magenta and yellow color (secondary colors) is used to represent colors
Used mostly in printing devices
for better printing of black color, this color may be added to the system (CMYK system)
![Page 10: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/10.jpg)
CMYK Model Converting CMYK to RGB
Converting RGB to CMYK(semi-equivalent(
![Page 11: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/11.jpg)
HSI Color Model
![Page 12: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/12.jpg)
HSI Color Model
![Page 13: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/13.jpg)
HSI Color Model
![Page 14: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/14.jpg)
Color Transformation
![Page 15: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/15.jpg)
• YCbCr (used in MPEG video)
Other Color Spaces
• YUV( used in PAL TV systems)
![Page 16: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/16.jpg)
Color Image Processing
• Full color processing: the images in question typically are acquired with full color sensor
• Pseudo-color processing: assigning a color to a particular monochrome intensity or range of intensities.
![Page 17: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/17.jpg)
Pseudocolor Image processing
Also Called false Image processing Definition: is the process of assigning color to monochrome
image Advantage: Human can discern thousands of colors compared to
one or two dozen shades of gray. Method: Intensity Slicing
![Page 18: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/18.jpg)
Intensity Slicing
![Page 19: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/19.jpg)
Intensity Slicing Single level slicing( X-ray Weld image)
![Page 20: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/20.jpg)
Intensity Slicing Multi level slicing( radiation image)
![Page 21: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/21.jpg)
Intensity Slicing
![Page 22: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/22.jpg)
Gray Level to color Transformation
![Page 23: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/23.jpg)
Basics of Full color Image Processing
• Per-color-component based processing: each color is processed individually and then is combined to obtain processed image
• Vector based processing: each color pixel is interpreted as vector and processed individually .
![Page 24: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/24.jpg)
Basics of Full color Image Processing
![Page 25: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/25.jpg)
Color Transformation
Gray level transformation
Color transformation
![Page 26: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/26.jpg)
Color Transformation
![Page 27: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/27.jpg)
Color Complement
![Page 28: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/28.jpg)
Color Complement
![Page 29: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/29.jpg)
Tone and Color Correction
Tone Correction: adjusting brightness and contrast of the image experimentally
methods
1- changing I in HSI model
2- mapping all colors of RGB or CMYK space with the same transformation
![Page 30: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/30.jpg)
Tone correction
![Page 31: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/31.jpg)
Color Correction
![Page 32: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/32.jpg)
Color Image Smoothing
![Page 33: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/33.jpg)
Color Image Smoothing
![Page 34: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/34.jpg)
Color Image Smoothing
![Page 35: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/35.jpg)
Color Image Smoothing
![Page 36: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/36.jpg)
Color Image Laplacian
![Page 37: Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli E-mail: m.g31_mesu@yahoo.com](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649f575503460f94c7c6ea/html5/thumbnails/37.jpg)
Color Image Laplacian