Start » Filter Reference » OpenCV » Miscellaneous Image Transformations » cvInpaint

cvInpaint


Module: OpenCV

Inpaints the selected region in the image.

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