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 static void Canny( CvArr image, CvArr edges, double threshold1, double threshold2 )
Parameters
- image
- Type: OpenCvSharpCvArr
Input image. - edges
- Type: OpenCvSharpCvArr
Image to store the edges found by the function. - threshold1
- Type: SystemDouble
The first threshold. - threshold2
- Type: SystemDouble
The second threshold.
See Also