Lab6 Vision (1)
Lab6 Vision (1)
VISION
R
ENG/TA : MAiADA ALAA
Canny Edge
Detection
• algorithm is a powerful tool for extracting edges from
images.
• STEPS
Spatial Domain
Frequency Domain
Low-pass filter:
A filter that drop high frequencies while passing low
frequencies.- used for blurring (smoothing)
High-pass filter:
A filter that drop low frequencies while passing high
frequencies. used for sharpening
Ideal Low Pass filter
Butterworth Low
Pass filter
Gaussian Low Pass
Filter
Ideal High Pass Filter
Butterworth High
Pass Filter
Gaussian High Pass
Filter
Spacial representation of Ideal
, Butterworth and gaussian
high pass filters
• Q1) For the grayscale image below, compute the gradient
magnitude and orientation at pixel [3,3]. Use the filter [−1,0
1] to compute gradients, assuming that the positive part of
the filter is assigned to the pixel at which we want to compute
the gradient. If pixel [3,3] lies on an edge in the image, what is
the orientation of the edge at this location?
•Solution
• |G| = = 10.77
• 21 degree
•Solution
21
C, smooth
image
B , more details D0
=
A,100
more define
edges
Image A FT-2, No filter
Image B FT-4,Ideal High
Pass Filter
Image C FT-1, Ideal Low
Pass Filter
Image D FT-3, Bandpass
filter
THANK
YOU