http://www.emgu.com
Reconstructs the selected image area from the pixel near the area boundary. The function may be used to remove dust and scratches from a scanned photo, or to remove undesirable objects from still images or video.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static void cvInpaint(
	IntPtr src,
	IntPtr mask,
	IntPtr dst,
	double inpaintRadius,
	INPAINT_TYPE flags
)
Visual Basic
Public Shared Sub cvInpaint ( _
	src As IntPtr, _
	mask As IntPtr, _
	dst As IntPtr, _
	inpaintRadius As Double, _
	flags As INPAINT_TYPE _
)
Visual C++
public:
static void cvInpaint(
	IntPtr src, 
	IntPtr mask, 
	IntPtr dst, 
	double inpaintRadius, 
	INPAINT_TYPE flags
)

Parameters

src
Type: System..::..IntPtr
The input 8-bit 1-channel or 3-channel image
mask
Type: System..::..IntPtr
The inpainting mask, 8-bit 1-channel image. Non-zero pixels indicate the area that needs to be inpainted
dst
Type: System..::..IntPtr
The output image of the same format and the same size as input
inpaintRadius
Type: System..::..Double
The radius of circlular neighborhood of each point inpainted that is considered by the algorithm
flags
Type: Emgu.CV.CvEnum..::..INPAINT_TYPE
The inpainting method

See Also