Click or drag to resize
CvInvokeCanny Method
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
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static void Canny(
	IInputArray image,
	IOutputArray edges,
	double threshold1,
	double threshold2,
	int apertureSize = 3,
	bool l2Gradient = false


Type: Emgu.CVIInputArray
Input image
Type: Emgu.CVIOutputArray
Image to store the edges found by the function
Type: SystemDouble
The first threshold
Type: SystemDouble
The second threshold.
apertureSize (Optional)
Type: SystemInt32
Aperture parameter for Sobel operator
l2Gradient (Optional)
Type: SystemBoolean
a flag, indicating whether a more accurate norm should be used to calculate the image gradient magnitude ( L2gradient=true ), or whether the default norm is enough ( L2gradient=false ).
See Also