Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » OpenCV » Image Filtering » cvSqrBoxFilter

cvSqrBoxFilter


Module: OpenCV

Smoothes an image using box filter.

Name Type Range Description
inSrc Image Source image.
inDDepth Integer* Desired depth of the Output image. If it is NIL, it will be the same as depth of source image.
inKWidth Integer 2 - Smoothing kernel width.
inKHeight Integer 2 - Smoothing kernel width.
inAnchor Location* Anchor point. The NIL value means that the anchor is at the kernel center.
inNormalize Bool Flag specifying whether the kernel is normalized by its area or not.
inBorderType CvBorderType Border mode used to extrapolate pixels outside of the image.
outDst Image Output image.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Input image must have pixel type different from Int8 and Int32 in cvSqrBoxFilter.

Complexity Level

This filter is available on Basic Complexity Level.