Systems and methods for performing inpainting
AssigneeCanva Pty Ltd
InventorsAlexander TACK, Stefan SIETZEN, David FANKHAUSER
Life of this patent
Estimating the term…
Abstract
Described embodiments generally relate to a computer-implemented method for performing inpainting. The method includes accessing a first image; receiving a selected area of the first image; identifying a foreground area of the first image; generating a merged mask based on the union of the user selected area and the foreground area; performing an inpainting process on the area of the first image corresponding to the merged mask to generate a second image, being an inpainted image; generating a reduced mask based on the user selected area reduced by the foreground area; and combining the first image with the area of the second image corresponding to the reduced mask to produce an output image.
Claims20
A computer-implemented method for performing inpainting, the method comprising:
- accessing a first image;
- receiving a selected area of the first image;
- identifying a foreground area of the first image;
- generating a merged mask based on the union of the selected area and the foreground area;
- performing an inpainting process on the area of the first image corresponding to the merged mask to generate a second image, being an inpainted image;
- generating a reduced mask based on the selected area reduced by the foreground area;
- and
- combining the first image with the area of the second image corresponding to the reduced mask to produce an output image.
Non-transitory computer-readable storage medium storing instructions which, when executed by a processing device, cause the processing device to perform a method comprising:
- accessing a first image;
- receiving a selected area of the first image;
- identifying a foreground area of the first image;
- generating a merged mask based on the union of the selected area and the foreground area;
- performing an inpainting process on the area of the first image corresponding to the merged mask to generate a second image, being an inpainted image;
- generating a reduced mask based on the selected area reduced by the foreground area;
- and
- combining the first image with the area of the second image corresponding to the reduced mask to produce an output image.
Dependencies are inferred from the claim text.