Professional Documents
Culture Documents
2
of
39
Introduction
Today well look at colour image processing,
covering:
Colour fundamentals
Colour models
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
3
of
39
Colour Fundamentals
In 1666 Sir Isaac Newton discovered that
when a beam of sunlight passes through a
glass prism, the emerging beam is split into a
spectrum of colours
4
of
39
ite L
ight
Colours
Absorbed
Green
Light
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
5
of
39
6
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
7
of
39
8
of
39
9
of
39
z = 1 (x + y)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
10
of
39
11
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
12
of
39
13
of
39
Colour Models
From the previous discussion it should be
obvious that there are different ways to model
colour
We will consider two very popular models
used in colour image processing:
RGB (Red Green Blue)
HIS (Hue Saturation Intensity)
14
of
39
RGB
In the RGB model each colour appears in its
primary spectral components of red, green and
blue
The model is based on a Cartesian coordinate
system
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
15
of
39
RGB (cont)
16
of
39
RGB (cont)
Images represented in the RGB colour model
consist of three component images one for
each primary colour
When fed into a monitor these images are
combined to create a composite colour image
The number of bits used to represent each
pixel is referred to as the colour depth
A 24-bit image is often referred to as a full8
colour image as it allows (2 ) = 16,777,216
colours
3
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
17
of
39
RGB (cont)
18
of
39
19
of
39
20
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
21
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
22
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
23
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
24
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
25
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
26
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
27
of
39
28
of
39
H =
360
ifB G
ifB > G
1
R G ) + ( R B)]
2 [(
1
cos
1
[( R G) 2 + ( R B)(G B)] 2
3
S = 1
[min(R,G,B)]
( R + G + B)
I = 13 ( R + G + B)
29
of
39
S cos H
R = I1+
cos(60 H )
G = 3I ( R + B)
R = I(1 S ) G = I1+
B = I(1 S )
S cos( H 120)
B = 3I ( R + G)
cos( H 60)
30
of
39
S cos( H 240)
R = 3I (G + B) G = I (1 S ) B = I1+
cos( H 180)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
31
of
39
32
of
39
HSI
HSI Image
Image
Manipulations
RGB
RGB
Image
Image
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
33
of
39
RGB
Image
Saturation
Hue
Intensity
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
34
of
39
Hue
Intensity
Saturation
RGB
Image
35
of
39
36
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
37
of
39
38
of
39
39
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
40
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
41
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
42
of
39
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
43
of
39
44
of
39
Chapter 6
Color Image Processing
45
of
39
Chapter 6
Color Image Processing
46
of
39
Chapter 6
Color Image Processing
47
of
39
Chapter 6
Color Image Processing
48
of
39
Chapter 6
Color Image Processing
49
of
39
Chapter 6
Color Image Processing
50
of
39
Chapter 6
Color Image Processing
51
of
39
Chapter 6
Color Image Processing
52
of
39
Chapter 6
Color Image Processing
53
of
39
Chapter 6
Color Image Processing
54
of
39
Chapter 6
Color Image Processing
55
of
39
Chapter 6
Color Image Processing
56
of
39
Chapter 6
Color Image Processing
57
of
39
Chapter 6
Color Image Processing
58
of
39
Chapter 6
Color Image Processing
59
of
39
Chapter 6
Color Image Processing
60
of
39
Chapter 6
Color Image Processing
61
of
39
Chapter 6
Color Image Processing
62
of
39
Chapter 6
Color Image Processing
63
of
39
Chapter 6
Color Image Processing
64
of
39
Chapter 6
Color Image Processing
65
of
39
Chapter 6
Color Image Processing
66
of
39
Chapter 6
Color Image Processing
67
of
39
Chapter 6
Color Image Processing
68
of
39
Chapter 6
Color Image Processing
69
of
39
Chapter 6
Color Image Processing
70
of
39
Chapter 6
Color Image Processing
71
of
39
Chapter 6
Color Image Processing
72
of
39
Chapter 6
Color Image Processing
73
of
39
Chapter 6
Color Image Processing
74
of
39
Chapter 6
Color Image Processing
75
of
39
Chapter 6
Color Image Processing
76
of
39
Chapter 6
Color Image Processing