Finds the edges on the input image image and marks them in the output image edges using the Canny algorithm.
The smallest of threshold1 and threshold2 is used for edge linking, the largest - to find initial segments of strong edges.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Canny( CvArr edges, double threshold1, double threshold2, ApertureSize apertureSize )
Parameters
- edges
- Type: OpenCvSharpCvArr
Image to store the edges found by the function. - threshold1
- Type: SystemDouble
The first threshold. - threshold2
- Type: SystemDouble
The second threshold. - apertureSize
- Type: OpenCvSharpApertureSize
Aperture parameter for Sobel operator.
See Also