Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » OpenCV » Miscellaneous Image Transformations » cvInpaint

cvInpaint


Module: OpenCV

Inpaints the selected region in the image.

Name Type Range Description
inSrc Image Input UINT8 1-channel or 3-channel image.
inInpaintMask Region Inpainting region.
inInpaintRadius Real 0.0 - Radius of a circular neighborhood of each point inpainted that is considered by the algorithm.
inMethod CvInpaintMethod Inpainting method
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 Empty inInpaintMask in cvInpaint.
DomainError Input image must be 1- or 3-channel, UINT8 image in cvInpaint.

Complexity Level

This filter is available on Basic Complexity Level.