DocumentImage.cannyEdgeDetectionTo Method¶
Module: DocumentImage
Definition¶
Applies Canny edge detection to a grayscale image.
The Canny edge detector uses a multi-stage algorithm to detect edges in images.
Note
Only grayscale 8-bit images are supported.
void cannyEdgeDetectionTo(double lowThreshold, double highThreshold, DocumentImage dstDocumentImage)
Parameters
lowThreshold doublein First threshold for the hysteresis procedure (lower values detect more edges).
highThreshold doublein Second threshold for the hysteresis procedure (must be greater than low_threshold).
dstDocumentImage DocumentImagein The destination Image that receives the edge-detected image.
Exceptions
An error has occurred during Document Library execution.