| cv.Canny - MATLAB File Help | 
Finds edges in an image using the Canny algorithm
edges = cv.Canny(image, thresh)
edges = cv.Canny(image, thresh, 'OptionName', optionValue, ...)
[low_thresh,high_thresh].image.sqrt((dI/dx)^2 + (dI/dy)^2) should be used to compute the image gradient
magnitude (L2gradient=true), or whether the default L1 norm
abs(dI/dx) + abs(dI/dy) is enough (L2gradient=false). Default falseThe 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.
[Canny86]:
John Canny. A computational approach to edge detection. Pattern Analysis and Machine Intelligence, IEEE Transactions on, (6):679-698, 1986.