Click or drag to resize

ImageTColor, TDepthSobel Method

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.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public Image<TColor, float> Sobel(
	int xorder,
	int yorder,
	int apertureSize
)

Parameters

xorder
Type: SystemInt32
Order of the derivative x
yorder
Type: SystemInt32
Order of the derivative y
apertureSize
Type: SystemInt32
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

Type: ImageTColor, Single
The result of the sobel edge detector
See Also