Professional Documents
Culture Documents
Ivp2 - Image Fundamentals
Ivp2 - Image Fundamentals
The amount of source light being incident on the scene being viewed –
illumination component (i(x,y)).
2
2 3 2
2
2D function – Examples.
n2
n1
n2
n1
Separable Functions
A 2-D sequence x(n1,n2) is said to be a
separable sequence if it can be expressed as
If y(m,n) = T [x(m,n)]
y(m-i,n-j) = T [x(m-i,n-j)]
2-D Convolution
The 2D discrete convolution equation is
M 1 N 1
C (i, j ) A(k , l ) B(i k , j l )
k 0 l 0
Steps for 2-D convolution
Either of the array is rotated by 180 degree. (say B
(k, l))
1 0 1 0 0 0 2 0 2 1
1 1 0 0 0 0 2 2 0 2
0 1 1 0 0 0 0 2 2 0
2 0 2 1 0 1 0 0 0 3
Gb 2 2 0 0 Y = G b * fp ’
1 1 0 0 0 f p ' 4
0 2 2 0 1 1 0 0 0 0
0 0 0 2 0 2 1 0 1 0
0 0 0 2 2 0 1 1 0 0
0 0 0 0 2 2 0 1 1 0
Example – 2D Convolution
1
1 0 0 0 0 2 2 0 1 2
1 1 0
0 0 0 2 2 0 0
0 1 1 0 0 0 0 2 2
3
2 0 1 1 0 0 0 0 2 f p ' 4
Gb ' 2 2 0 1 1 0 0 0 0
0
0 2 2 0 1 1 0 0 0 0
0
0 2 2 0 1 1 0 0 0
0 0 0 2 2 0 1 1 0
0
0 0 0 0 2 2 0 1 1
Y = Gb ’ * fp ’
Circular convolution
If two 1-D convolving sequences are periodic then
their convolution is also periodic and can be
represented as
N 1
y ( n) x ( k ) h( n k ) 0 n N 1
k 0
y ( 0) 3 2 1 0 x ( 0)
y (1) 0 3 2 1 x(1)
y ( n) H c x ( n)
y ( 2) 1 0 3 2 x ( 2)
y ( 3) 2 1 0 3 x(3)
M 1 N 1
C (i, j ) A(k , l ) B (i k , j l )
k 0 l 0