Canny Edge Operator
Primary edge detection steps:
- Smoothing derivatives to suppress noise and compute gradient
- Threshold to find regions of “significant” gradient.
- “Thin” to get localized edge pixels
- And link or connect edge pixels
Canny edge operator
- Filter image with derivative of Gaussian
- Find magnitude and orientation of gradient
- Non-maximum suppression: Thin multi-pixel wide “ridges” down to single pixel width
Linking and thresholding (hysteresis):
Define two thresholds: low and high
- Use the high threshold to start edge curves and the low threshold to continue them
MATLAB: edge(image, ‘canny’);