Click or drag to resize

CvInvokeCanny Method (IInputArray, IInputArray, IOutputArray, Double, Double, Boolean)
Finds the edges on the input dx, dy 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 dx,
	IInputArray dy,
	IOutputArray edges,
	double threshold1,
	double threshold2,
	bool l2Gradient = false


Type: Emgu.CVIInputArray
16-bit x derivative of input image
Type: Emgu.CVIInputArray
16-bit y derivative of input image
Type: Emgu.CVIOutputArray
Image to store the edges found by the function
Type: SystemDouble
The first threshold
Type: SystemDouble
The second threshold.
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