Click or drag to resize

CvInvokeSqrBoxFilter Method

http://www.emgu.com
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: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void SqrBoxFilter(
	IInputArray src,
	IOutputArray dst,
	DepthType ddepth,
	Size ksize,
	Point anchor,
	bool normalize = true,
	BorderType borderType = BorderType.Reflect101
)

Parameters

src
Type: Emgu.CVIInputArray
input image
dst
Type: Emgu.CVIOutputArray
output image of the same size and type as src
ddepth
Type: Emgu.CV.CvEnumDepthType
the output image depth (-1 to use src.depth())
ksize
Type: System.DrawingSize
kernel size
anchor
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