CaptureImage.cannyEdgeDetection Method

Module: CaptureImage

Definition

Applies Canny edge detection to a grayscale image in-place.

The Canny edge detector uses a multi-stage algorithm to detect edges in images.

Note

Only grayscale 8-bit images are supported.

void cannyEdgeDetection(double lowThreshold, double highThreshold)

Parameters

lowThreshold double
in First threshold for the hysteresis procedure (lower values detect more edges).

highThreshold double
in Second threshold for the hysteresis procedure (must be greater than low_threshold).

Exceptions

An error has occurred during Devices Library execution.