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)
Syntaxpublic static void SqrBoxFilter(
IInputArray src,
IOutputArray dst,
DepthType ddepth,
Size ksize,
Point anchor,
bool normalize = true,
BorderType borderType = BorderType.Reflect101
)
Public Shared Sub SqrBoxFilter (
src As IInputArray,
dst As IOutputArray,
ddepth As DepthType,
ksize As Size,
anchor As Point,
Optional normalize As Boolean = true,
Optional borderType As BorderType = BorderType.Reflect101
)
public:
static void SqrBoxFilter(
IInputArray^ src,
IOutputArray^ dst,
DepthType ddepth,
Size ksize,
Point anchor,
bool normalize = true,
BorderType borderType = BorderType::Reflect101
)
static member SqrBoxFilter :
src : IInputArray *
dst : IOutputArray *
ddepth : DepthType *
ksize : Size *
anchor : Point *
?normalize : bool *
?borderType : BorderType
(* Defaults:
let _normalize = defaultArg normalize true
let _borderType = defaultArg borderType BorderType.Reflect101
*)
-> unit
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