XPhotoInvokeInpaint Method |
http://www.emgu.com
The function implements different single-image inpainting algorithms
Namespace:
Emgu.CV.XPhoto
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static void Inpaint(
Mat src,
Mat mask,
Mat dst,
XPhotoInvokeInpaintType algorithmType
)
Public Shared Sub Inpaint (
src As Mat,
mask As Mat,
dst As Mat,
algorithmType As XPhotoInvokeInpaintType
)
public:
static void Inpaint(
Mat^ src,
Mat^ mask,
Mat^ dst,
XPhotoInvokeInpaintType algorithmType
)
static member Inpaint :
src : Mat *
mask : Mat *
dst : Mat *
algorithmType : XPhotoInvokeInpaintType -> unit
Parameters
- src
- Type: Emgu.CVMat
source image, it could be of any type and any number of channels from 1 to 4. In case of 3- and 4-channels images the function expect them in CIELab colorspace or similar one, where first color component shows intensity, while second and third shows colors. Nonetheless you can try any colorspaces. - mask
- Type: Emgu.CVMat
mask (CV_8UC1), where non-zero pixels indicate valid image area, while zero pixels indicate area to be inpainted - dst
- Type: Emgu.CVMat
destination image - algorithmType
- Type: Emgu.CV.XPhotoXPhotoInvokeInpaintType
algorithm type
See Also