Start » Filter Reference » OpenCV » Image Filtering » cvBilateralFilter

cvBilateralFilter


Module: OpenCV

Applies bilateral filter to the image.

Name Type Description
Input value
inSrc Image Source 8-bit or floating-point, 1-channel or 3-channel image.
Input value
inD Integer Diameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from sigmaSpace .
Input value
inSigmaColor Real Filter sigma in the color space.
Input value
inSigmaSpace Real Filter sigma in the coordinate space.
Input value
inBorderType CvBorderType
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 1 or 3 channels in cvBilateralFilter.
DomainError Type of pixel of input image must be Real or UINT8 in cvBilateralFilter.

Complexity Level

This filter is available on Basic Complexity Level.