http://www.emgu.com
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.OpenCL
Assembly: Emgu.CV.OpenCL (in Emgu.CV.OpenCL.dll) Version: 2.4.10.1935 (2.4.10.1935)

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
)
F#
static member Canny : 
        image : IntPtr * 
        edges : IntPtr * 
        lowThreshold : float * 
        highThreshold : float * 
        apertureSize : int * 
        L2gradient : bool -> unit 

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

See Also