Click or drag to resize

CvInvokeSqrBoxFilter Method
Calculates the normalized sum of squares of the pixel values overlapping the filter. For every pixel(x, y) in the source image, the function calculates the sum of squares of those neighboring pixel values which overlap the filter placed over the pixel(x, y). The unnormalized square box filter can be useful in computing local image statistics such as the the local variance and standard deviation around the neighborhood of a pixel.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static void SqrBoxFilter(
	IInputArray src,
	IOutputArray dst,
	DepthType ddepth,
	Size ksize,
	Point anchor,
	bool normalize = true,
	BorderType borderType = BorderType.Reflect101


Type: Emgu.CVIInputArray
input image
Type: Emgu.CVIOutputArray
output image of the same size and type as src
Type: Emgu.CV.CvEnumDepthType
the output image depth (-1 to use src.depth())
Type: System.DrawingSize
kernel size
Type: System.DrawingPoint
kernel anchor point. The default value of Point(-1, -1) denotes that the anchor is at the kernel center
normalize (Optional)
Type: SystemBoolean
flag, specifying whether the kernel is to be normalized by it's area or not.
borderType (Optional)
Type: Emgu.CV.CvEnumBorderType
border mode used to extrapolate pixels outside of the image
See Also