Start » Filter Reference » OpenCV » Image Filtering » cvBoxFilter

cvBoxFilter


Module: OpenCV

Smoothes an image using box filter.

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

Complexity Level

This filter is available on Basic Complexity Level.