Method Inpaint
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Inpaint(InputArray, InputArray, OutputArray, double, InpaintTypes)
Restores the selected region in an image using the region neighborhood.
public static void Inpaint(InputArray src, InputArray inpaintMask, OutputArray dst, double inpaintRadius, InpaintTypes flags)
Parameters
srcInputArrayInput 8-bit, 16-bit unsigned or 32-bit float 1-channel or 8-bit 3-channel image.
inpaintMaskInputArrayInpainting mask, 8-bit 1-channel image. Non-zero pixels indicate the area that needs to be inpainted.
dstOutputArrayOutput image with the same size and type as src.
inpaintRadiusdoubleRadius of a circular neighborhood of each point inpainted that is considered by the algorithm.
flagsInpaintTypesInpainting method that could be cv::INPAINT_NS or cv::INPAINT_TELEA