WLJS LogoWLJS Notebook

Inpaint

Inpaint[image, region] retouches parts of image that correspond to nonzero elements in region.

Examples

img = ExampleData[{"TestImage", "Lena"}];
mask = DiskMatrix[20];
Inpaint[img, mask]

Please visit the official Wolfram Language Reference for more details.

On this page