Mask-robust image inpainting utilizing machine-learning models

US12536626B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12536626-B2
Application numberUS-202318307546-A
CountryUS
Kind codeB2
Filing dateApr 26, 2023
Priority dateApr 26, 2023
Publication dateJan 27, 2026
Grant dateJan 27, 2026

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure relates to systems, non-transitory computer-readable media, and methods for inpainting digital images utilizing mask-robust machine-learning models. In particular, in one or more embodiments, the disclosed systems obtain an initial mask for an object depicted in a digital image. Additionally, in some embodiments, the disclosed systems generate, utilizing a mask-robust inpainting machine-learning model, an inpainted image from the digital image and the initial mask. Moreover, in some implementations, the disclosed systems generate a relaxed mask that expands the initial mask. Furthermore, in some embodiments, the disclosed systems generate a modified image by compositing the inpainted image and the digital image utilizing the relaxed mask.

First claim

Opening claim text (preview).

What is claimed is: 1 . A system comprising: one or more memory devices comprising a digital image and an initial mask for an object portrayed in the digital image; and one or more processors coupled to the one or more memory devices that cause the system to train a mask-robust inpainting machine-learning model by: generating, utilizing the mask-robust inpainting machine-learning model, an inpainted image from the digital image, wherein the inpainted image comprises modified pixels inside and outside the initial mask; generating, utilizing an additional inpainting machine-learning model, a pseudo-ground-truth inpainted image from the digital image utilizing a dilated mask generated from the initial mask; determining a measure of loss by comparing the inpainted image and the pseudo-ground-truth inpainted image; and tuning parameters of the mask-robust inpainting machine-learning model based on the measure of loss. 2 . The system of claim 1 , wherein training the mask-robust inpainting machine-learning model further comprises: generating a relaxed mask that expands the initial mask; and generating a modified image by compositing the inpainted image and the digital image utilizing the relaxed mask, wherein comparing the inpainted image and the pseudo-ground-truth inpainted image comprises comparing the modified image and the pseudo-ground-truth inpainted image. 3 . The system of claim 2 , wherein the one or more processors further cause the system to: generate the relaxed mask utilizing a mask refiner machine-learning model; and train the mask refiner machine-learning model by tuning parameters of the mask refiner machine-learning model based on the measure of loss. 4 . The system of claim 1 , wherein training the mask-robust inpainting machine-learning model further comprises: generating a perturbed mask from the initial mask; generating a relaxed mask that expands the perturbed mask; and generating a modified image by compositing the inpainted image and the digital image utilizing the relaxed mask, wherein comparing the inpainted image and the pseudo-ground-truth inpainted image comprises comparing the modified image and the pseudo-ground-truth inpainted image. 5 . The system of claim 4 , wherein generating the perturbed mask comprises: replacing the initial mask utilizing a free-form mask; or eroding a selection of boundary pixels of the initial mask. 6 . The system of claim 4 , wherein generating the perturbed mask comprises: identifying pixel regions within the initial mask; determining probabilities that the pixel regions cover the object portrayed in the digital image; and removing one or more of the pixel regions from the initial mask based on the probabilities. 7 . The system of claim 1 , wherein training the mask-robust inpainting machine-learning model further comprises: generating, utilizing the mask-robust inpainting machine-learning model, an additional inpainted image from the digital image, wherein the additional inpainted image comprises additional modified pixels inside and outside the initial mask; determining an additional measure of loss by comparing the additional inpainted image and the pseudo-ground-truth inpainted image; and further tuning the parameters of the mask-robust inpainting machine-learning model based on the additional measure of loss. 8 . A computer-implemented method comprising training a mask-robust inpainting machine-learning model by: generating, utilizing the mask-robust inpainting machine-learning model, an inpainted image from a digital image, wherein the inpainted image comprises modified pixels inside and outside an initial mask for an object portrayed in the digital image; generating, utilizing an additional inpainting machine-learning model, a pseudo-ground-truth inpainted image from the digital image utilizing a dilated mask generated from the initial mask; determining a measure of loss by comparing the inpainted image and the pseudo-ground-truth inpainted image; and tuning parameters of the mask-robust inpainting machine-learning model based on the measure of loss. 9 . The computer-implemented method of claim 8 , wherein training the mask-robust inpainting machine-learning model further comprises: generating a relaxed mask that expands the initial mask; and generating a modified image by compositing the inpainted image and the digital image utilizing the relaxed mask, wherein comparing the inpainted image and the pseudo-ground-truth inpainted image comprises comparing the modified image and the pseudo-ground-truth inpainted image. 10 . The computer-implemented method of claim 9 , further comprising: generating the relaxed mask utilizing a mask refiner machine-learning model; and training the mask refiner machine-learning model by tuning parameters of the mask refiner machine-learning model based on the measure of loss. 11 . The computer-implemented method of claim 8 , wherein training the mask-robust inpainting machine-learning model further comprises: generating a perturbed mask from the initial mask; generating a relaxed mask that expands the perturbed mask; and generating a modified image by compositing the inpainted image and the digital image utilizing the relaxed mask, wherein comparing the inpainted image and the pseudo-ground-truth inpainted image comprises comparing the modified image and the pseudo-ground-truth inpainted image. 12 . The computer-implemented method of claim 11 , wherein generating the perturbed mask comprises: replacing the initial mask utilizing a free-form mask; or eroding a selection of boundary pixels of the initial mask. 13 . The computer-implemented method of claim 11 , wherein generating the perturbed mask comprises: identifying pixel regions within the initial mask; determining probabilities that the pixel regions cover the object portrayed in the digital image; and removing one or more of the pixel regions from the initial mask based on the probabilities. 14 . The computer-implemented method of claim 8 , wherein training the mask-robust inpainting machine-learning model further comprises: generating, utilizing the mask-robust inpainting machine-learning model, an additional inpainted image from the digital image, wherein the additional inpainted image comprises additional modified pixels inside and outside the initial mask; determining an additional measure of loss by comparing the additional inpainted image and the pseudo-ground-truth inpainted image; and further tuning the parameters of the mask-robust inpainting machine-learning model based on the additional measure of loss. 15 . A non-transitory computer-readable medium storing instructions thereon that, when executed by at least one processor, cause the at least one processor to train a mask-robust inpainting machine-learning model by: generating, utilizing the mask-robust inpainting machine-learning model, an inpainted image from a digital image, wherein the inpainted image comprises modified pixels inside and outside an initial mask for an object portrayed in the digital image; generating, utilizing an additional inpainting machine-learning model, a pseudo-ground-truth inpainted image from the digital image utilizing a dilated mask generated from the initial mask; determining a measure of loss by comparing the inpainted image and the pseudo-ground-truth inpainted image; and tuning parameters of the mask-robust inpainting machine-learning model based on the measure of loss. 16 . The non-transitory computer-readable medium of claim 15 , wherein traini

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12536626B2 cover?
The present disclosure relates to systems, non-transitory computer-readable media, and methods for inpainting digital images utilizing mask-robust machine-learning models. In particular, in one or more embodiments, the disclosed systems obtain an initial mask for an object depicted in a digital image. Additionally, in some embodiments, the disclosed systems generate, utilizing a mask-robust inp…
Who is the assignee on this patent?
Adobe Inc
What technology area does this patent fall under?
Primary CPC classification G06T5/77. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 27 2026 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).