Professional Documents
Culture Documents
LTI System: Digital Signal Processing
LTI System: Digital Signal Processing
LTI System: Digital Signal Processing
Lecture
LTI System
in out
Classified Image
Moving Window Concept
Output File
Moving Window Concept
Output File
Moving Window Concept
Output File
Moving Window Concept
Output File
Moving Window Concept
Output File
Moving Window Concept
Output File
Moving Window Concept
Output File
Moving Window Concept
Output File
Moving Window Concept
Output File
Example: Mean Kernel Calculation
in out
Boundaries blurred,
detail lost
Gaussian Filter
2 2
1D: g(x)= 1/(2) × e -x /2
2 2 2
2D: g(x,y)= 1/(2) × e - (x +y ) /2
4
5x5 gaussian
(edges sharper)
Edge Detection
edge
f(x)
df(x) f(x+h) - f(x)
dx h
scanline
out[x,y] = in[x+1,y] - in[x,y]
g[x,y] = 0 0 0
0 -1 1
df(x) 0 0 0
dx
(must remap result to range 0-1)
Better Edge Detection
in simple df
dx
Sobel df
dx
Oriented Edges
in
|P| , Sobel
(all edges)
simple df
dx
(vertical edges only)
Gradient + Blur
in |P| , Sobel
features lost
gaussian blur,
then |P| Sobel
less noise
Edge Enhancement
AKA “Sharpening”
Find edges, amplify them, add them back
out[x,y] = out[x,y] - α × edge[x,y]
g[x,y] = 0 -α 0
-α 1+4α -α | (laplacian)
0 -α 0
Edge Enhancement
in out
Gaussian low-pass filter
low-pass filter
Differentiation
1 0 1 2
2 1
0 2 1 0 1
1
1 0 1
Sobel Edge Detector
threshold 64
9
6
128
Convolutions- Smoothing
Convolutions- Edge Detection
CNN
Convolution Neural Network
y[n] = 2 –3 3 3 –6 0 1 0 0
Example-Convolution of Two Rectangles
convex1
Example..(Continued)
Example-Convolution Of Two Sequences