Edge Detection
Edge Detection
Our
Presentation
Edge Detection
What is Edge
Detection?
Identifying points/Edges in a digital image at
which the image brightness changes sharply or
has discontinuities.
-Edges are significant local changes of intensity in an
image.
-Edges typically occur on the boundary between
two different regions in an image.
Goal of edge
detection
Edge detection is extensively used in image
segmentation when we want to divide the image
into areas corresponding to different objects. If
we need to extract different object from an
image, we need Edge Detection Using Edge
Detection, we can:
-Produce a line drawing of a scene from an image of that
scene.
-Important features can be extracted from the edges of
an image (e.g., corners, lines, curves).
-These features are used by higher-level computer vision
algorithms (e.g., recognition, Image comparizon ).
Process of Edge
Detection
Most of edge detection algorithm are based on one of two
basic properties of intensity values: Discontinuity and
similarity.
1. Noise reduction
2. Edge enhancement
3. Edge localization
Process of Edge
DetectionNoise
(...)reduction
where we try to suppress as much noise as possible,
without smoothing away the meaningful edges.
detector
response
Canny Edge
Detector
As I mention before, canny edge detector have multiple
algorithm.
It have Some steps, those are:
Image Smoothing
Nonmaxima
Suppression Hysteresis
Thresholding
Connectivity Analysis
Canny Edge
Detector
Image Smoothing
Reduce image noise by smoothing with a
Gaussian
features
The larger the width of the Gaussian mask, the lower is the detector's sensitivity
Canny Edge
Detector
Nonmaxima Suppression
Nonmaxima Suppression reduce thick edge strength responses around true edges
select the single maximum point across the width of an edge. is used to trace
along the edge in the edge direction and suppress any pixel value (sets it equal to
0) that is not considered to be an edge. This will give a thin line in the output
image.
Canny Edge
Detector
Hysteresis Thresholding
Large intensity gradients are more likely to correspond to edges than small intensity gradients. It is in most
cases impossible to specify a threshold at which a given intensity gradient switches from corresponding
to an edge into not doing so. Therefore Canny uses thresholding with hysteresis.
Thresholding with hysteresis requires two thresholds – high and low. Select two thresholds TH and TL such
3 Set to zero all pixels in gNL(x y) that were not marked as valid edge pixels
4 Combine all nonzero pixels in gNH(x y) and gNL(x y ) to find the final edge
pixels
Analysis
Canny Edge
Detector
Visually all
steps
?