IP Library Granted Patent US 12,260,530
Granted Patent B2
US 12,260,530 · App. 18/190,544 · Granted Mar 25, 2025

Generating a modified digital image utilizing a human inpainting model

Inventors: Krishna Kumar Singh (San Jose, CA); Yijun Li (Seattle, WA); Jingwan Lu (Santa Clara, CA); Duygu Ceylan Aksit (Mountain View, CA); Yangtuanfeng Wang (London, GB); Jimei Yang (Merced, CA); Tobias Hinz (Ulm, DE); Qing Liu (Santa Clara, CA); Jianming Zhang (Campbell, CA); Zhe Lin (Fremont, CA)
Assignee: Adobe Inc.
G06T5/77G06V10/25G06V10/44G06V10/82G06T2207/30196
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,260,530
App. No.
18/190,544
Granted
Mar 25, 2025
Kind
B2
Abstract

The present disclosure relates to systems, methods, and non-transitory computer-readable media that modify digital images via scene-based editing using image understanding facilitated by artificial intelligence. For example, in one or more embodiments the disclosed systems utilize generative machine learning models to create modified digital images portraying human subjects. In particular, the disclosed systems generate modified digital images by performing infill modifications to complete a digital image or human inpainting for portions of a digital image that portrays a human. Moreover, in some embodiments, the disclosed systems perform reposing of subjects portrayed within a digital image to generate modified digital images. In addition, the disclosed systems in some embodiments perform facial expression transfer and facial expression animations to generate modified digital images or animations.

Claims (44)

1. A system comprising:

one or more memory devices comprising a digital image, a structure guidance map of a human, a parameter neural network, and a human inpainting generative adversarial neural network; and

one or more processors configured to cause the system to:

determine a human portrayed in the digital image and a region of the human to inpaint;

generate, utilizing an encoder, a structural encoding from the structure guidance map of the human;

generate, utilizing the encoder, a visual appearance encoding of the human;

generate, utilizing the parameter neural network, local appearance feature tensor from the visual appearance encoding; and

generate, utilizing a human inpainting generative adversarial neural network, a modified digital image comprising modified pixels of the region from the structural encoding and the local appearance feature tensor.

2. The system of claim 1 , wherein the one or more processors are configured to cause the system to generate a spatially varying scaling tensor and a spatially varying shifting tensor by utilizing the parameter neural network.

3. The system of claim 2 , wherein the one or more processors are configured to cause the system to modulate the structural encoding utilizing the spatially varying scaling tensor and the spatially varying shifting tensor.

4. The system of claim 1 , wherein the one or more processors are configured to cause the system to generate, utilizing a first style block of the human inpainting generative adversarial neural network, an intermediate feature vector by utilizing a modulation layer, a convolutional layer, and a demodulation layer.

5. The system of claim 1 , wherein the one or more processors are configured to cause the system to generate the structural encoding from at least one of a keypoint map, a segmentation map, or a pose map.

6. The system of claim 1 , wherein the one or more processors are configured to cause the system to train the human inpainting generative adversarial neural network by:

determining a partial reconstruction loss for a portion of the digital image that does not include the region of the human to inpaint; and

modifying parameters of the human inpainting generative adversarial neural network based on the partial reconstruction loss.

7. The system of claim 6 , wherein the one or more processors are configured to cause the system to train the human inpainting generative adversarial neural network by:

determining an adversarial loss for the region of the human to inpaint; and

modifying parameters of the human inpainting generative adversarial neural network based on the adversarial loss and the partial reconstruction loss.

8. The system of claim 1 , wherein the one or more processors are configured to cause the system to determine an indication of at least one of removing an object, expanding a digital image frame of the digital image, or removing an object from the region of the human.

9. A non-transitory computer-readable medium storing executable instructions which, when executed by a processing device, cause the processing device to perform operations comprising:

determining a human portrayed in a digital image and a region of the human to inpaint;

generating, utilizing a first encoder, a structural encoding from a structure guidance map of a depiction of the human from the digital image;

generating, utilizing a second encoder, a visual appearance encoding from the depiction of the human from the digital image;

generating, utilizing a parameter neural network, local appearance feature tensor from the visual appearance encoding; and

generating, utilizing a human inpainting generative adversarial neural network, a modified digital image comprising modified pixels of the region from the structural encoding by modulating style blocks of the human inpainting generative adversarial neural network based on the local appearance feature tensor.

10. The non-transitory computer-readable medium of claim 9 , wherein generating the structural encoding and the visual appearance encoding further comprises generating, utilizing a hierarchical encoder, the structural encoding from the structure guidance map of the human and the visual appearance encoding from the human portrayed in the digital image, wherein the hierarchical encoder comprises a plurality of downsampling layers and upsampling layers of matching resolutions connected via skip connections.

11. The non-transitory computer-readable medium of claim 9 , wherein generating the modified digital image further comprises generating an intermediate feature vector for each style block of the human inpainting generative adversarial neural network by modulating the structural encoding utilizing a spatially varying scaling tensor and a spatially varying shifting tensor corresponding to a style block.

12. A computer-implemented method comprising:

determining, from a digital image, a depiction of a human and a region of the human to inpaint;

generating, utilizing an encoder, a structural encoding from a structure guidance map of the human;

generating, utilizing the encoder, a visual appearance encoding from the human portrayed in the digital image;

generating, utilizing a parameter neural network, local appearance feature tensor from the visual appearance encoding; and

generating, utilizing a human inpainting generative adversarial neural network, a modified digital image comprising modified pixels of the region from the structural encoding and the visual appearance encoding of the human.

13. The computer-implemented method of claim 12 , wherein generating the structural encoding and the visual appearance encoding further comprises generating, utilizing a hierarchical encoder comprising a plurality of downsampling layers and upsampling layers of matching resolutions connected via skip connections, the structural encoding from the structure guidance map of the human and the visual appearance encoding from the human portrayed in the digital image.

14. The computer-implemented method of claim 12 , wherein generating the local appearance feature tensor comprises generating, utilizing the parameter neural network, a spatially varying scaling tensor and a spatially varying shifting tensor.

15. The computer-implemented method of claim 12 , further comprising training the human inpainting generative adversarial neural network by:

determining a partial reconstruction loss for a portion of the digital image that does not include the region of the human to inpaint;

determining an adversarial loss for the region of the human to inpaint; and

modifying parameters of the human inpainting generative adversarial neural network based on the partial reconstruction loss and the adversarial loss.

16. The computer-implemented method of claim 14 , wherein generating the modified digital image further comprises generating, utilizing a first style block of the human inpainting generative adversarial neural network, an intermediate feature vector by modulating the structural encoding utilizing the spatially varying scaling tensor and the spatially varying shifting tensor.

17. The computer-implemented method of claim 16 , wherein generating the intermediate feature vector further comprises utilizing a modulation layer, a convolutional layer, and a demodulation layer to generate the intermediate feature vector.

18. The computer-implemented method of claim 16 , further comprising generating, utilizing a second style block of the human inpainting generative adversarial neural network, an additional intermediate feature vector from the intermediate feature vector, an additional spatially varying scaling tensor, and an additional spatially varying shifting tensor.

19. The computer-implemented method of claim 12 , wherein generating the structural encoding from the structure guidance map comprises generating the structural encoding from at least one of a keypoint map or a pose map.

20. The computer-implemented method of claim 12 , wherein generating the structural encoding from the structure guidance map comprises generating the structural encoding from at least one of a segmentation map or a digital image.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 28, 2023
From: SINGH, KRISHNA KUMAR; LI, YIJUN; LU, JINGWAN; AKSIT, DUYGU CEYLAN; WANG, YANGTUANFENG; YANG, JIMEI; HINZ, TOBIAS; LIU, QING; ZHANG, JIANMING; LIN, ZHE
To: ADOBE INC.
Reel/Frame 063124/0641 →
Continuity (5)
Continuation In Part 18058538 · Nov 23, 2022
Continuation In Part 18058601 · Nov 23, 2022
Continuation In Part 18058554 · Nov 23, 2022
Provisional Application 63378616 · Oct 6, 2022
Related Publication 20240135511A1 · Apr 25, 2024
References Cited (33)
US 12026845B2 · Pardeshi · 2024 [cited by examiner]
US 20190114748A1 · Lin et al. · 2019 [cited by applicant]
US 20200234480A1 · Volkov et al. · 2020 [cited by applicant]
US 20200394828A1 · Shukla et al. · 2020 [cited by applicant]
US 20210056348A1 · Berlin et al. · 2021 [cited by applicant]
US 20220207262A1 · Jeong et al. · 2022 [cited by applicant]
US 20220392133A1 · Volkov et al. · 2022 [cited by applicant]
US 20230037339A1 · Villegas et al. · 2023 [cited by applicant]
US 20230123820A1 · Wang et al. · 2023 [cited by applicant]
US 20240135513A1 · Singh · 2024 [cited by examiner]
US 20240153047A1 · Smith · 2024 [cited by examiner]
US 20240169624A1 · Brandt · 2024 [cited by examiner]
US 20240169701A1 · Kulal et al. · 2024 [cited by applicant]
US 20240171848A1 · Figueroa · 2024 [cited by examiner]
US 20240331322A1 · Smith · 2024 [cited by applicant]
CN 113240613B · 2021 [cited by applicant]
CN 114862697A · 2022 [cited by applicant]
CN 114943656A · 2022 [cited by applicant]
GB 2606253A · 2022 [cited by applicant]
WO 2022083504A1 · 2022 [cited by applicant]
Michail Christos Doukas, Stefanos Zafeiriou, Viktorija Sharmanska HeadGAN: One-Shot Neural Head Synthesis and Editing. [cited by applicant]
Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, Bjorn Ommer—High-Resolution Image Synthesis with Latent Diffusion Models arXiv:2112.10752 Wed, Apr. 13, 2022. [cited by applicant]
Badour AlBahar, Jingwan Lu, Jimei Yang, Zhixin Shu, Eli Shechtman, Jia-Bin Huang—Pose with Style: Detail-Preserving Pose-Guided Image Synthesis with Conditional StyleGAN Badour et al., SIGGRAPH Asia 2021. [cited by applicant]
Artur Grigorev, Artem Sevastopolsky, Alexander Vakhiov, and Victor Lempitsky. Coordinate-based texture inpainting for pose-guided image generation. arXiv preprint arXiv:1811.11459, 2018. [cited by applicant]
Ziwei Liu, Ping Luo, Shi Qiu, Xiaogang Wang, and Xiaoou Tang. Deepfashion: Powering robust clothes recognition and retrieval with rich annotations. In Proceedings of IEEE Conference on Computer Vision and Pattern Recogn… [cited by applicant]
Kripasindhu Sarkar, Vladislav Golyanik, Lingjie Liu, and Christian Theobalt. Style and pose control for image synthesis of humans from a single monocular view, 2021. [cited by applicant]
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. [cited by applicant]
Combined Search and Examination Report as received in GB2318853.5 dated Jun. 12, 2024. [cited by applicant]
Combined Search and Examination Report as received in GB2319660.3 dated Jun. 14, 2024. [cited by applicant]
Combined Search and Examination Report as received in GB2319084.6 dated Jun. 25, 2024. [cited by applicant]
Wiles, 0., Koepke, A and Zisserman, A, 2018. “X2face: A network for controlling face generation using images, audio, and pose codes.” in Proceedings of the European conference on computer vision (ECCV) (pp. 690-706). [cited by applicant]
U.S. Appl. No. 18/190,556, Mail Date Dec. 13, 2024, Office Action. [cited by applicant]
U.S. Appl. No. 18/190,684, Mail Date Jan. 27, 2025, Office Action. [cited by applicant]
Cited By (3)
US 12,394,239 US 12,525,357 US 12,669,914