Click or drag to resize

Cv2Inpaint Method

Restores the selected region in an image using the region neighborhood.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void Inpaint(
	InputArray src,
	InputArray inpaintMask,
	OutputArray dst,
	double inpaintRadius,
	InpaintMethod flags
)

Parameters

src
Type: OpenCvSharpInputArray
Input 8-bit, 16-bit unsigned or 32-bit float 1-channel or 8-bit 3-channel image.
inpaintMask
Type: OpenCvSharpInputArray
Inpainting mask, 8-bit 1-channel image. Non-zero pixels indicate the area that needs to be inpainted.
dst
Type: OpenCvSharpOutputArray
Output image with the same size and type as src.
inpaintRadius
Type: SystemDouble
Radius of a circular neighborhood of each point inpainted that is considered by the algorithm.
flags
Type: OpenCvSharpInpaintMethod
Inpainting method that could be cv::INPAINT_NS or cv::INPAINT_TELEA
See Also