IP Library Granted Patent US 11,915,133
Granted Patent B2
US 11,915,133 · App. 17/468,546 · Granted Feb 27, 2024

Techniques for smooth region merging in image editing

Inventors: Ratheesh Kalarot (San Jose, CA); Kevin Wampler (Seattle, WA); Jingwan Lu (Santa Clara, CA); Jakub Fiser (Milton Keyne, GB); Elya Shechtman (Seattle, WA); Aliakbar Darabi (Seattle, WA); Alexandru Vasile Costin (Monte Sereno, CA)
Assignee: Adobe Inc.
G06N3/08G06F3/04845G06F3/04847G06F18/211G06F18/214G06F18/2163G06F18/40G06N3/045G06N20/20G06T3/0006G06T3/0093G06T3/40G06T3/4038G06T3/4046G06T5/005G06T5/20G06T11/001G06T11/60G06T2207/10024G06T2207/20081G06T2207/20084G06T2207/20221G06T2210/22
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 11,915,133
App. No.
17/468,546
Granted
Feb 27, 2024
Kind
B2
Abstract

Systems and methods seamlessly blend edited and unedited regions of an image. A computing system crops an input image around a region to be edited. The system applies an affine transformation to rotate the cropped input image. The system provides the rotated cropped input image as input to a machine learning model to generate a latent space representation of the rotated cropped input image. The system edits the latent space representation and provides the edited latent space representation to a generator neural network to generate a generated edited image. The system applies an inverse affine transformation to rotate the generated edited image and aligns an identified segment of the rotated generated edited image with an identified corresponding segment of the input image to produce an aligned rotated generated edited image. The system blends the aligned rotated generated edited image with the input image to generate an edited output image.

Claims (65)

1. A computer-implemented method comprising:

cropping, by a computing system, an input image around a region to be edited to produce a cropped input image;

applying, by the computing system, an affine transformation to the cropped input image to produce a rotated cropped input image;

providing, by the computing system, the rotated cropped input image as input to a machine learning model to generate a latent space representation of the rotated cropped input image;

editing, by the computing system, the latent space representation to generate an edited latent space representation;

providing, by the computing system, the edited latent space representation as input to a trained generator neural network implemented by the computing system;

generating, by the generator neural network, a generated edited image;

applying, by the computing system, an inverse affine transformation to the generated edited image to generate a rotated generated edited image;

aligning, by the computing system, an identified segment of the rotated generated edited image with an identified corresponding segment of the input image to produce an aligned rotated generated edited image; and

blending, by the computing system, the aligned rotated generated edited image with the input image to generate an edited output image.

2. The method of claim 1 , further comprising:

identifying, by the computing system, the segment of the rotated generated edited image; and

identifying, by the computing system, the corresponding segment of the input image.

3. The method of claim 2 , wherein identifying the corresponding segment of the input image comprises:

providing, by the computing system, the input image to a segmentation neural network implemented by the computing system, wherein the segmentation neural network identifies a plurality of segments including the segment of the input image.

4. The method of claim 1 , further comprising:

based on the identified corresponding segment of the input image and the identified segment of the rotated generated edited image, modifying, by the computing system, a color and a contrast in the rotated generated edited image to match a color and a contrast in the input image.

5. The method of claim 1 , wherein blending the aligned rotated generated edited image with the input image comprises applying, by the computing system, healing to the aligned rotated generated edited image and the input image.

6. The method of claim 1 , further comprising:

identifying, by the computing system, pixels corresponding to artifacts in the aligned rotated generated edited image; and

applying a content-aware fill to the identified pixels of the aligned rotated generated edited image.

7. The method of claim 1 , further comprising outputting, by the computing system, the edited output image to a display device for display.

8. The method of claim 1 , further comprising, before cropping the input image, detecting, by the computing system, a target region of the input image for configuring the cropping.

9. A computing system comprising:

a processor;

a non-transitory computer-readable medium comprising instructions which, when executed by the processor, perform processing comprising:

applying an affine transformation to an input image to produce a rotated input image;

providing the rotated input image as input to a machine learning model to generate a latent space representation of the rotated input image;

editing the latent space representation to generate an edited latent space representation;

providing the edited latent space representation as input to a trained generator neural network implemented by the computing system;

generating, by the generator neural network, an edited generated image;

applying an inverse affine transformation to the generated edited image to generate a rotated generated edited image;

aligning an identified segment of the rotated generated edited image with an identified corresponding segment of the input image to produce an aligned rotated generated edited image; and

blending the aligned rotated generated edited image with the input image to generate an edited output image.

10. The computing system of claim 9 , the processing further comprising:

identifying the segment of the rotated generated edited image; and

identifying the corresponding segment of the input image.

11. The computing system of claim 10 , wherein identifying the corresponding segment of the input image comprises:

providing, by the computing system, the input image to a segmentation neural network implemented by the computing system, wherein the segmentation neural network identifies a plurality of segments including the segment of the input image.

12. The computing system of claim 9 , the processing further comprising:

outputting the edited output image for display.

13. The computing system of claim 9 , the processing further comprising:

based on the identified corresponding segment of the input image and the identified segment of the rotated generated edited image, adjusting, by the computing system, a color and a contrast in the rotated generated edited image to match a color and a contrast in the input image.

14. The computing system of claim 9 , wherein blending the aligned rotated generated edited image with the input image comprises applying, by the computing system, healing to the aligned rotated generated edited image and the input image.

15. The computing system of claim 9 , the processing further comprising:

identifying, by the computing system, pixels corresponding to artifacts in the aligned rotated generated image; and

applying a content-aware fill to the identified pixels of the aligned rotated generated image.

16. A non-transitory computer-readable medium having instructions stored thereon, the instructions executable by a processing device to perform operations comprising:

cropping an input image around a region to be edited to produce a cropped input image;

applying an affine transformation to the cropped input image to produce a rotated cropped input image;

providing the rotated cropped input image as input to a machine learning model to generate a latent space representation of the rotated cropped input image;

editing the latent space representation to generate an edited latent space representation;

providing the edited latent space representation as input to a trained generator neural network;

generating, by the generator neural network, a generated edited image; and

a step for blending the generated edited image with the input image such that an identified segment of the generated edited image aligns with an identified corresponding segment of the input image.

17. The medium of claim 16 , the operations further comprising:

identifying the segment of the generated edited image; and

identifying the corresponding segment of the input image.

18. The medium of claim 17 , wherein identifying the corresponding segment of the input image comprises:

providing the input image to a segmentation neural network, wherein the segmentation neural network identifies a plurality of segments including the segment of the input image.

19. The medium of claim 16 , the operations further comprising:

outputting the edited output image for display.

20. The medium of claim 16 , the operations further comprising:

identifying, by the computing system, pixels corresponding to artifacts in the aligned rotated generated image; and

applying a content-aware fill to the identified pixels of the aligned rotated generated image.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 7, 2021
From: KALAROT, RATHEESH; WAMPLER, KEVIN; LU, JINGWAN; FISER, JAKUB; SHECHTMAN, ELYA; DARABI, ALIAKBAR; COSTIN, ALEXANDRU VASILE
To: ADOBE INC.
Reel/Frame 057404/0539 →
Continuity (2)
Provisional Application 63092980 · Oct 16, 2020
Related Publication 20220122308A1 · Apr 21, 2022
Cited By (4)
US 12,327,188 US 12,333,427 US 12,412,089 US 12,530,592