http://www.emgu.com
Calculates the image derivative by convolving the image with the appropriate kernel The Sobel operators combine Gaussian smoothing and differentiation so the result is more or less robust to the noise. Most often, the function is called with (xorder=1, yorder=0, aperture_size=3) or (xorder=0, yorder=1, aperture_size=3) to calculate first x- or y- image derivative.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public Image<TColor, float> Sobel(
	int xorder,
	int yorder,
	int apertureSize
)
Visual Basic
Public Function Sobel ( _
	xorder As Integer, _
	yorder As Integer, _
	apertureSize As Integer _
) As Image(Of TColor, Single)
Visual C++
public:
Image<TColor, float>^ Sobel(
	int xorder, 
	int yorder, 
	int apertureSize
)

Parameters

xorder
Type: System..::..Int32
Order of the derivative x
yorder
Type: System..::..Int32
Order of the derivative y
apertureSize
Type: System..::..Int32
Size of the extended Sobel kernel, must be 1, 3, 5 or 7. In all cases except 1, aperture_size xaperture_size separable kernel will be used to calculate the derivative.

Return Value

The result of the sobel edge detector

See Also