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.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void Inpaint(
IInputArray src,
IInputArray mask,
IOutputArray dst,
double inpaintRadius,
InpaintType flags
)
Public Shared Sub Inpaint (
src As IInputArray,
mask As IInputArray,
dst As IOutputArray,
inpaintRadius As Double,
flags As InpaintType
)
public:
static void Inpaint(
IInputArray^ src,
IInputArray^ mask,
IOutputArray^ dst,
double inpaintRadius,
InpaintType flags
)
static member Inpaint :
src : IInputArray *
mask : IInputArray *
dst : IOutputArray *
inpaintRadius : float *
flags : InpaintType -> unit
Parameters
- src
- Type: Emgu.CVIInputArray
The input 8-bit 1-channel or 3-channel image - mask
- Type: Emgu.CVIInputArray
The inpainting mask, 8-bit 1-channel image. Non-zero pixels indicate the area that needs to be inpainted - dst
- Type: Emgu.CVIOutputArray
The output image of the same format and the same size as input - inpaintRadius
- Type: SystemDouble
The radius of circular neighborhood of each point inpainted that is considered by the algorithm - flags
- Type: Emgu.CV.CvEnumInpaintType
The inpainting method
See Also