| 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
)
Public Shared Sub Inpaint (
src As InputArray,
inpaintMask As InputArray,
dst As OutputArray,
inpaintRadius As Double,
flags As InpaintMethod
)
public:
static void Inpaint(
InputArray^ src,
InputArray^ inpaintMask,
OutputArray^ dst,
double inpaintRadius,
InpaintMethod flags
)
static member Inpaint :
src : InputArray *
inpaintMask : InputArray *
dst : OutputArray *
inpaintRadius : float *
flags : InpaintMethod -> unit
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