cv.Canny2 - MATLAB File Help |
Finds edges in an image using the Canny algorithm with custom image gradient
edges = cv.Canny2(dx, dy, thresh)
edges = cv.Canny2(dx, dy, thresh, 'OptionName', optionValue, ...)
int16
).dx
).[low_thresh,high_thresh]
.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 false