Start » Filter Reference » OpenCV » Image Filtering » cvBlur
Module: | OpenCV |
---|
Smoothes image using normalized box filter.
Name | Type | Range | Description | |
---|---|---|---|---|
inSrc | Image | Source image. | ||
inKWidth | Integer | 1 - | Smoothing kernel width. | |
inKHeight | Integer | 1 - | Smoothing kernel height. | |
inAnchor | Location* | Anchor point. The NIL value means that the anchor is at the kernel center. | ||
inBorderType | CvBorderType | Border mode used to extrapolate pixels outside of the image. | ||
outDst | Image | Output image. |
Description
The operation smooths inImage with matrix of size inKWidth x inKHeight with all elements equal 1/(inKWidth x inKHeight).
Examples
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 | Border type can be BORDER_* except BORDER_TRANSPARENT and BORDER_ISOLATED in cvBlur. |
DomainError | Input image must have pixel type different from Int8 and Int32 in cvBlur. |
Complexity Level
This filter is available on Basic Complexity Level.