http://www.emgu.com
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Finds the edges on the input 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: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public static void Canny( IntPtr image, IntPtr edges, double lowThreshold, double highThreshold, int apertureSize, bool L2gradient ) |
Visual Basic |
---|
Public Shared Sub Canny ( _ image As IntPtr, _ edges As IntPtr, _ lowThreshold As Double, _ highThreshold As Double, _ apertureSize As Integer, _ L2gradient As Boolean _ ) |
Visual C++ |
---|
public: static void Canny( IntPtr image, IntPtr edges, double lowThreshold, double highThreshold, int apertureSize, bool L2gradient ) |
Parameters
- image
- Type: System..::..IntPtr
Input image
- edges
- Type: System..::..IntPtr
Image to store the edges found by the function
- lowThreshold
- Type: System..::..Double
The first threshold
- highThreshold
- Type: System..::..Double
The second threshold
- apertureSize
- Type: System..::..Int32
Aperture parameter for Sobel operator, use 3 for default
- L2gradient
- Type: System..::..Boolean
Use false for default