Click or drag to resize
ImageTColor, TDepthSobel Method
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: (
public Image<TColor, float> Sobel(
	int xorder,
	int yorder,
	int apertureSize


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