Beruflich Dokumente
Kultur Dokumente
Processing
Presented by
Anil Kumar H A
[13MVD1002]
1
Color Spectrum
white light with a prism (1966, Newton)
2
HSI, HSV
R
G
B
R
G
1 0.956 0.620
1 0.272 0.647
B 1 1.108 1.705
Y
I
Q
where 0 I , R, G, B 1
1
[( R G ) ( R B)]
H cos 1{ 2
},
2
( R G ) ( R B)(G B )
H 360 H ,
if g 0 b0
if g 0 b0
where g 0 G / I , b0 B / I
3
S 1
(min{R, G, B})
RG B
8
assume 0 H 120
1
S cos H
R [1
]
3
cos(60 H )
G 1 R B
In d e x
f e a tu r e in f o r m a tio n
in d e x
q u e ry
Q u e ry
r e s u lt
Im a g e d a ta b a s e
R e t r ie v a l
d e c o m p r e s s io n
c o m p r e s s io n im a g e
10
Dominant Colors
11
12
Introduction to Digital
Image(color) Processing
Human vision - perceive and understand world
Computer vision, Image Understanding /
Interpretation, Image processing.
3D world -> sensors (TV cameras) -> 2D images
Dimension reduction -> loss of information
13
Algorithm
Complexity
Increases
HIGH
MEDIUM
LOW
Acquisition,
Amount of preprocessing
Data
Decreases
Raw data
no
intelligence
Extraction,
edge joining
Recognition,
interpretation
intelligent
14
Scalar functions
sufficient to describe a monochromatic image intensity images
Vector functions
represent color images - three component colors
16
Image Functions
Image - continuous function of a number of variables
Co-ordinates x, y in a spatial plane
for image sequences - variable (time) t
Analogue camera
frame grabber
video capture card
Image definition
Image definition:
B
1
6
8
1
2
F - intensity, grey level
x,y - spatial co-ordinates
f(N-1,M-1)
No. of grey levels,
L = 2B
B = no. of bits
L
2
54
256
Description
Binary Image (black and white)
64 levels, limit of human visual system
Typical grey level resolution
illumination properties
object surface orientation with respect to a viewer
and light source
Monochromatic images
Image processing - static images - time t is constant
Monochromatic static image - continuous image function f(x,y)
arguments - two co-ordinates (x,y)
21
Chromatic images
Colour
Represented by vector not scalar
Red, Green, Blue (RGB)
Hue, Saturation, Value (HSV)
luminance, chrominance (Yuv , Luv)
S=0
Green
Hue degrees:
Red, 0 deg
Green 120 deg
Blue 240 deg
Red
Green
V=0
22
23
Image quality
Quality of digital image proportional to:
spatial resolution
proximity of image samples in image plane
spectral resolution
bandwidth of light frequencies captured by sensor
radiometric resolution
number of distinguishable gray levels
time resolution
interval between time samples at which images
captured
24
Image summary
N
F(xi,yj)
i
= 0 --> N-1
j
= 0 --> M-1
N*M = spatial resolution, size of
image
L
= intensity levels, grey levels
= no. of bits
f(o,o)
M
f(N-1,M-1)
data
uncompressed, compressed, ascii, binary.
File types
JPEG, BMP, PPM.
26
PPM example
PPM colour file RGB
P3
# feep.ppm
44
15
0 0 0
0 0
0 0 0
0 15
0 0 0
0 0
15 0 15
0 0
0
7
0
0
0 0
0 0
0 15
0 0
0 15 0 15
0
0 0 0
7 0 0 0
0
0 0 0
28
Image
presentation (1)
1.1 Image
capture,
representation
, and storage:
digital image,
DPI, pixel...
Example:
Various
quantizing
level: (a) 6
bits; (b) 4 bits;
Image presentation
(2)
1.2 Color representation:
Color systems: RGB, CMY/CMYK, HSI,
YCbCr
Summary
We know following terms:
digital image (pixel, gray level)
colormap
digitization
continuous-tone image
sampling
quantization
dynamic range
spatial resolution
pixelation
brightness resolution
posterization & brightness contouring
31