cv.Canny - MATLAB File Help
cv.Canny

Finds edges in an image using the Canny algorithm

edges = cv.Canny(image, thresh)
edges = cv.Canny(image, thresh, 'OptionName', optionValue, ...)

Input

Output

Options

The function finds edges in the input image image and marks them in the output map edges using the Canny algorithm. When thresh is 2-element vector, the smallest value between them is used for edge linking. The largest value is used to find initial segments of strong edges. When thresh is a scalar, it is treated as a higher threshold value and 0.4*thresh is used for the lower threshold. See Canny edge detector.

References

[Canny86]:

John Canny. A computational approach to edge detection. Pattern Analysis and Machine Intelligence, IEEE Transactions on, (6):679-698, 1986.

See also