MATLAB File Help: cv.inpaint2 Index
cv.inpaint2

The function implements different single-image inpainting algorithms

dst = cv.inpaint2(src, mask)
dst = cv.inpaint2(src, mask, 'OptionName', optionValue, ...)

Input

Output

Options

The function reconstructs the selected image area from known area. See the original paper [He2012] for details.

References

[He2012]:

Kaiming He, Jian Sun. "Statistics of patch offsets for image completion". In Computer Vision-ECCV 2012, pages 16-29. Springer, 2012.

See also