digital image processing color processing

rajaramsharath 43 views 45 slides May 05, 2024
Slide 1
Slide 1 of 45
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45

About This Presentation

The field of digital image processing refers to processing digital images by means of digital
computer. Digital image is composed of a finite number of elements, each of which has a particular
location and value. These elements are called picture elements, image elements, pels and pixels.
Pixel i...


Slide Content

Digital Image Processing
DAY 3- 24/6/2020







TODAYS TOPICS:
• Colour image fundamentals
• RGB
• HSI models

Main types of digital
image
Colour image (RGB, CMYK)
•An RGB image has 24-bit information (millions of
colours)
•Channels Red, Green and Blue have 256 colours
each.
•For screen images.
•A CMYK image has a 32-bit information
•Channels Cyan, Magenta, Yellow, and Black have
256 colours each.
•For images used in printing offices.
Indexed colour
•8-bit image information. Availability of 256 colours.
•Suits well for coloured drawing graphics, but not
for photographs.
•For screen images.

Main types of digital image CONT…..
Line-art, bitmap
•An image element consists of 1 bit; 1 = white
and 0 = black.
•Suitable for the presentation of drawings, for
instance, drawing ink works, black and white line
graphics, and texts.
•Requires little saving space due to the lack of
colours, but requires high resolution in order to
show details accurately.
Grayscale image
•The image has 8 bits and 256 tones of grey;
• 1 = black and 255 = white.
•Requires 8 times more saving space than a line-
art image.
•Suitable for presenting black and white
photographs, for instance.
Can be used in printing office.

Colorimetric
Color Perception involve Hue, Saturation, and Lightness
Hue :Distinguish among colors such as red, green, and
purple.
Saturation :Refer to how color far from gray.white light
mixed with Hue

Lightness: The perceived intensity of a reflecting object.
Brightness :Refer to the perceived intensity of self-luminous.
White “Pure”
color
Grays
Shades
Tones
Black
© 1992–2008 R.C. Gonzalez & R. E. Woods
Artists Terms
Tint: results of adding white pigments
pure pigments
Shade: comes from adding black pigments
to pure pigments
Tone:results of adding both black and white
pigments to pure pigments

Color Image Processing
Green
Color Models:
The Newton Color Circle
Cyan Yellow
Blue Red
Magenta

•The Newton color circle provides a convenient way to perceive
the additive mixing properties of colors.
•The R,G,B and their complementary colors C,M,Y are placed on
the circle in the order of the wavelengths of the corresponding
spectral colors.

Digital Image Processing, 3rd ed.
Gonzalez & Woods
www.ImageProcessingPlace.com
Chapter 6
Color Image Processing
•The separation of colors by a prism expose a continuous range
of spectral colors
© 1992–2008 R. C. Gonzalez & R. E. Woods

Digital Image Processing, 3rd ed.
Gonzalez & Woods
www.ImageProcessingPlace.com
Chapter 6
Color Image Processing
•A spectral color is composed of a single wavelength
•The helium-neon laser monochromatic light is red (632 nm).
•Most colored objects give off a range of wavelengths and the
characterization of color is much more than the statement of
wavelength.
© 1992–2008 R. C. Gonzalez & R. E. Woods

Digital Image Processing, 3rd ed.
Gonzalez & Woods
www.ImageProcessingPlace.com
Chapter 6
Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

Primary and Secondary colors

CIE Chromatic Diagram
Chromatic values depend on dominant
wavelength and saturation and independent
of luminous energy.
Consider a color C, the we can Write C =
XX + YY + ZZ
Normalize Against X+Y+Z
The XYZ space
x = X/(X+Y+Z) y = Y/(X+Y+Z) z =
Z/(X+Y+Z)
We know that x+y+z = 1, and the
luminance information usually in Y (Y
cef.), thus we can recover X,Y,Z
X = Y (x/y) ; Y = Y ; Z = Y(1-x-y)/y
Plotting these parameters
© 1992–2008 R. C. Gonzalez & R. E. Woods

XYZ Space

cessing

When two color A and B are added together new color C
lies on the line connects both colors.
In the side Figure, B defines the dominant wavelength,
and the ratio AC to BC expressed as a percent of the
excitation purity of A.
The closer A to C the more light A includes.

Complementary colors are those that can be mixed to
produce white light. D and E on the side Figure are
complementary colors.
Nonspectral color are those that can not be defined by
dominant wavelength such as F. Color gamuts or color
ranges is the effect of adding colors together
© 1992–2008 R. C. Gonzalez & R. E. Woods

.
Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

RGB Color Model
The color range (gamut) RGB
model is defined by the CRT’s
phosphor.

C = RR + GG + BB

Let us look at these colors in
XYZ space RGB NTSC
CIE Monitor
R (0.67, 0.33)
G (0.21, 0.71)
(0.73, 0.26) (0.62, 0.34)
(0.27, 0.71) (0.26, 0.59)
B (0.14, 0.08) (0.16, 0.01) (0.15, 0.07)
© 1992–2008 R. C. Gonzalez & R. E. Woods

Generating Image of Three Color Cross sectional Colour Plane (127,G,B)

Digital Image Processing, 3rd ed.
Gonzalez & Woods
www.ImageProcessingPlace.com
Chapter 6
Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

CMY Color Model

Cyan, magenta, and blue are the complements of red, green, blue.
CMY is important when dealing with hardcopy that deposit color
pigments onto paper.

 C  1  R

M



1



G

     

 Y 


1


B

 R 1  C 
1
    

 B


1


 Y 


G



1G



M

© 1992–2008 R. C. Gonzalez & R. E. Woods

In various color processing
applications it is possible to
use the corresponding Red,
Green, and Blue channels
© 1992–2008 R. C. Gonzalez & R. E. Woods

.

Color Coding for
visualization
© 1992–2008 R. C. Gonzalez & R. E. Woods

Digital Image Processing

Color Image Processing

Colour Image Processing

Digital Image Processing.
Color Image Processing
Color Transformation
© 1992–2008 R. C. Gonzalez & R. E. Woods

Digital Image Processing, 3rd ed.
Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

Digital Image Processing
Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

Digital Image Processing
Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

Digital Image Processing, 3rd ed.
Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

Digital Image Processing, 3rd ed.
Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

Digital Image Processing, 3rd ed.
Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

© 1992–2008 R. C. Gonzalez & R. E. Woods

Digital Image Processing
Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

Color Image Processing
© 1992–2008 R. C. Gonzalez & R. E. Woods

Color Image Processing

© 1992–2008 R. C. Gonzalez & R. E. Woods

© 1992–2008 R. C. Gonzalez & R. E. Woods

© 1992–2008 R. C. Gonzalez & R. E. Woods

Color Image Processing