Professional Documents
Culture Documents
Dr. P. Arulmozhivarman
Asso.Prof
DSP/ISP division
School of Electronics engineering
VIT university, Vellore
Elements of Visual Perception
Structure of the human eye
3
Retina
Cross-section of eye Cross section of retina
Pigmented
epithelium
Ganglion axons
Ganglion cell layer
Bipolar cell layer
Receptor layer
Retina up-close
Light
Rods and Cones
Rods and cones in the retina
Image formation in the eye
X-Ray UV Visible
Composite
Infrared Radio
EM Spectrum Relative Sizes
The Visible Spectrum
Gate
Photosites
Vertical Transport Register
Image Sensor: Inside Charge-Coupled Device
Gate
Vertical Transport Register
Horizontal Transportation Register
i h g Image pixel
f e d
c b a
i h g
f e d
i h g
Horizontal transport
register c b a
f e d
Horizontal shift
Fundamentals of Digital Images
Origin
y
f(x,y)
Image “After snow storm”
w An image: a multidimensional function of spatial coordinates.
w Spatial coordinate: (x,y) for 2D case such as photograph,
(x,y,z) for 3D case such as CT scan images
(x,y,t) for movies
w The function f may represent intensity (for monochrome images)
or color (for color images) or other associated values.
Image acquisition using a single
sensor
Using
sensor
strips
A simple
image
formation
model
Illumination and reflectance
Illumination and transmissivity
f ( x, y) i( x, y)r ( x, y)
Image Sampling and Quantization
Sampling
and
quantization
Representing digital images
Number of storage bits
Digital Image Types : Intensity Image
Binary data
0 0 0 0
0 0 0 0
1 1 1 1
1 1 1 1
Image Types : Index Image
Index image
Each pixel contains index number
pointing to a color in a color table
Color Table
Neighbors of a pixel
N 4 ( p) : 4-neighbors of p
( x 1, y), ( x 1, y) , ( x, y 1) , ( x, y 1)
(0,0) x
(x-1,y-1) (x,y-1)(x+1,y-1)
(x-1,y+1)(x,y+1)(x+1,y+1)
(x,y-1) 4-neighbors of p:
(x1,y)
(x-1,y) p (x+1,y)
(x+1,y)
N4(p) = (x,y1)
(x,y+1)
(x,y+1)
(x1,y1)
(x-1,y) p (x+1,y)
(x,y1)
(x+1,y1)
(x1,y)
(x-1,y+1)(x,y+1)(x+1,y+1) (x+1,y)
N8(p) = (x1,y+1)
(x,y+1)
(x+1,y+1)
(x1,y1)
p
(x+1,y1)
ND(p) = (x1,y1)
(x+1,y+1)
(x-1,y+1) (x+1,y+1)
w mixed-connectivity (m-connectivity):
p and q are m-connected if q N4(p)
or
q ND(p) and N4(p) N4(q) =
Adjacency
V : The set of gray-level values used
to define adjacency
4-adjacency: Two pixels p and q with
values from V are 4-adjacency if q is in
the set N 4 ( p)
8-adjacency: Two pixels p and q with
values from V are 8-adjacency if q is in
the set N 8 ( p )
m-adjacency (mixed adjacency): Two
pixels p and q with values from V are
m-adjacency if
q is in N 4 ( p), or
q is in N ( p )and the set N 4 ( p) N 4 ( q)
D
has no pixels whose values are from V
Subset adjacency
S1 and S2 are adjacent if some pixel in
S1 is adjacent to some pixel in S2
Path
A path from p with coordinates ( x, y) to
pixel q with coordinates (s, t ) is a
sequence of distinct pixels with
coordinates
( x0 , y 0 ), ( x1 , y1 ) ,…, ( xn , y n )
where ( x0 , y0 )= ( x, y) , ( xn , yn ) = (s, t ) ,
and pixels ( xi , yi ) and ( xi 1 , yi 1 ) are
adjacent
Region
We call R a region of the image if R is a
connected set
Boundary
The boundary of a region R is the set of
pixels in the region that have one or
more neighbors that are not in R
Edge
Pixels with derivative values that
exceed a preset threshold
Distance measures
Euclidean distance
1
De ( p, q) [( x s) 2 ( y t ) ]
2 2
City-block distance
D4 ( p, q) | ( x s) | | ( y t ) |
Chessboard distance
D8 ( p, q) max(| ( x s ) |, | ( y t ) |)
Distance
w D(p,q) = D(q,p)
De ( p, q) ( x s)2 ( y t )2
Distance (cont.)
D4 ( p, q) x s y t
2 1 2
2 1 0 1 2
2 1 2
D8 ( p, q) max( x s , y t )
2 2 2 2 2
2 1 1 1 2
2 1 0 1 2
2 1 1 1 2
2 2 2 2 2