Overview
Canny edge detection reduces noise with smoothing, computes gradient magnitude and direction, thins responses with non-maximum suppression, and uses hysteresis thresholds to keep connected strong edges.
Finds thin edges by smoothing, measuring gradients, suppressing nonmaxima, and linking thresholds.
Compact metadata for implementation and discovery.
Canny edge detection reduces noise with smoothing, computes gradient magnitude and direction, thins responses with non-maximum suppression, and uses hysteresis thresholds to keep connected strong edges.
Quick facts
Runtime and memory behavior at a glance.
Best
O(w h)
Average
O(w h)
Worst
O(w h)
Space
O(w h)
magnitude = sqrt(gx^2 + gy^2)Measures edge strength before non-maximum suppression and thresholding.
Show a photo becoming gradients, thinned edges, and final connected edges.
Canny's quality depends heavily on sigma and hysteresis thresholds.
What each reference supports for this entry.
Original Canny paper supporting smoothing, non-maximum suppression, and hysteresis thresholding.
Open sourceComputer-vision textbook support for Canny Edge Detection's feature, matching, flow, or multiscale image-analysis workflow.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Image Processing · Foundation
Thresholding segments by intensity, while Canny detects edges from gradients.
Compare with thisImage Processing · Extended
Laplacian Edge Detection is an alternative to Canny Edge Detection within the Edge Detection family.
Compare with thisImage Processing · Core
Canny commonly smooths the image before computing gradients.
Compare with thisCanny commonly smooths the image before computing gradients.
Both use image gradients, but Canny adds thinning and hysteresis linking.