IP Library Granted Patent US 11,836,905
Granted Patent B2
US 11,836,905 · App. 17/338,196 · Granted Dec 5, 2023

Image reenactment with illumination disentanglement

Inventors: Mohamed N. Moustafa (Metuchen, NJ); Ahmed A. Ewais (New Cairo, EG); Amr A. Ali (Cairo, EG)
Assignee: Spree3D Corporation
G06T5/50G06N3/045G06N3/088G06T7/70G06T2207/10016G06T2207/20081G06T2207/20084G06T2207/20221G06T2207/30201
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,836,905
App. No.
17/338,196
Granted
Dec 5, 2023
Kind
B2
Abstract

Apparati, methods, and computer readable media for inserting identity information from a source image ( 1 ) into a destination image ( 2 ), while mimicking illumination of the destination image ( 2 ). In an apparatus embodiment, an identity encoder ( 4 ) is configured to encode just identity information of the source image ( 1 ) and to produce an identity vector ( 7 ), where the identity encoder ( 4 ) does not encode any pose information or illumination information of the source image ( 1 ). A driver encoder ( 12 ) has two components: a pose encoder ( 5 ) configured to encode pose information of the destination image ( 2 ) and an illumination encoder ( 6 ) configured to separately encode illumination information of the destination image ( 2 ), and to produce two vectors: a pose vector ( 8 ) and an illumination vector ( 9 ). A neural network generator ( 10 ) is coupled to the identity encoder ( 4 ) and to the driver encoder ( 12 ), and has three inputs: the identity vector ( 7 ), the pose vector ( 8 ), and the illumination vector ( 9 ). The neural network generator ( 10 ) is configured to generate, in response to these three inputs, a composite image ( 3 ) comprising identity information of the source image ( 1 ) inserted into the destination image ( 2 ), wherein the composite image has substantially the same illumination as the destination image.

Claims (57)

1. Apparatus for inserting identity information from a source image into a destination image while mimicking illumination of the destination image, said apparatus comprising:

an identity encoder configured to encode just identity information of the source image and to produce an identity vector, where the identity encoder does not encode any pose information or illumination information of the source image;

a pose encoder configured to encode pose information from the totality of the destination image and to produce a pose vector;

separate from and independent of the pose encoder, an illumination encoder configured to encode illumination information from the totality of the destination image and to produce an illumination vector; and

a neural network generator coupled to the identity encoder, pose encoder, and illumination encoder, and having three inputs: the identity vector, the pose vector, and the illumination vector; wherein

the generator is configured to generate, in response to the three inputs, a composite image comprising identity information of the source image inserted into the destination image, wherein the composite image has substantially the same illumination as the destination image.

2. The apparatus of claim 1 wherein the neural network generator has an associated loss function comprising identity, pose, and illumination components.

3. The apparatus of claim 2 wherein the neural network generator has an associated training phase whose objective is to minimize the loss function.

4. The apparatus of claim 1 wherein the source image and the destination image are static images.

5. The apparatus of claim 1 wherein the source image and the destination image are video images.

6. The apparatus of claim 5 wherein the encoded identity information of the source image comprises the gait of the source.

7. The apparatus of claim 1 wherein the encoded identity information of the source image comprises facial features of the source.

8. The apparatus of claim 1 wherein the encoded identity information of the source image comprises hair features of the source.

9. The apparatus of claim 1 wherein the encoded identity information of the source image comprises torso features of the source.

10. The apparatus of claim 1 wherein the identity encoder, pose encoder, and illumination encoder are neural networks.

11. The apparatus of claim 1 wherein:

the neural network generator is a generative adversarial network; and

a multi-layered perceptron neural network is positioned between the three encoders and the neural network generator.

12. Apparatus for inserting identity information from a source image into a destination image while mimicking illumination of the destination image, said apparatus comprising:

an identity encoder configured to encode identity information of the source image and to produce an identity vector, where the identity encoder does not encode any pose information, and the identity information includes uncompensated illumination information of the source image;

a pose encoder configured to encode just pose information from the totality of the destination image and to produce a pose vector, where the pose encoder does not encode any illumination information of the destination image;

separate from and independent of the pose encoder, an illumination encoder configured to encode just illumination information from the totality of the destination image and to produce an illumination vector;

a primary neural network generator having two inputs, the identity vector and the pose vector, and an uncompensated composite image output; and

an illumination generator having two inputs, the uncompensated composite image output from the primary generator and the illumination vector; wherein

the illumination generator is a neural network optimized to produce an output composite image comprising identity information of the source image inserted into the destination image, wherein the composite image has substantially the same illumination as the destination image.

13. The apparatus of claim 12 wherein the illumination vector is represented as a set of spherical harmonics.

14. The apparatus of claim 12 wherein:

the primary neural network generator is a generative adversarial network; and

the identity vector and the pose vector are fed to the primary neural network generator via a multi-layered perceptron neural network.

15. A method for inserting identity information from a source image into a destination image while mimicking illumination of the destination image, said method comprising the steps of:

encoding identity information of the source image to produce an identity vector, where the identity information encoding does not encode any pose information or illumination information of the source image;

encoding pose information from the totality of the destination image to produce a pose vector;

separately from and independently of the pose information encoding step, encoding illumination information from the totality of the destination image to produce an illumination vector; and

activating a neural network generator to accept as inputs the identity vector, the pose vector, and the illumination vector; and to generate in response thereto a composite image comprising identity information of the source image inserted into the destination image, wherein the composite image has substantially the same illumination as the destination image.

16. The method of claim 15 further comprising the step of training the neural network generator to minimize a loss function.

17. The method of claim 16 wherein the loss function takes into account identity information of the source image, and pose and illumination information of the destination image.

18. A method for inserting identity information from a source image into a destination image while mimicking illumination of the destination image, said method comprising the steps of:

encoding identity information of the source image to produce an identity vector, where the identity information encoding does not encode any pose information, and the identity information encoding does encode unwanted illumination of the source image;

encoding pose information from the totality of the destination image to produce a pose vector;

separately from and independently of the pose information encoding step, encoding illumination information from the totality of the destination image to produce an illumination vector;

activating a neural network generator to accept as inputs the identity vector and the pose vector, and to generate in response thereto a composite image comprising identity information of the source image inserted into the destination image, wherein the composite image contains uncompensated illumination information of the source image; and

activating an illumination generator to accept as inputs the uncompensated composite image and the illumination vector, and to generate in response thereto a compensated composite image comprising identity information of the source image inserted into the destination image, wherein the compensated composite image has substantially the same illumination as the destination image.

19. The method of claim 18 wherein the illumination vector is represented as a set of spherical harmonics.

20. The method of claim 18 wherein:

the neural network generator is a generative adversarial network; and

a multi-layered perceptron neural network is positioned between the identity vector and the pose vector on the one hand, and the neural network generator on the other hand.

21. At least one computer-readable medium for executing computer-readable instructions configured to insert identity information from a source image into a destination image while mimicking illumination of the destination image, said instructions performing the steps of:

encoding identity information of the source image to produce an identity vector, where the identity information encoding does not encode any pose information or illumination information of the source image;

encoding pose information from the totality of the destination image to produce a pose vector;

separately from and independently of the pose information encoding step, encoding illumination information from the totality of the destination image to produce an illumination vector; and

activating a neural network generator to accept as inputs the identity vector, the pose vector, and the illumination vector; and to generate in response thereto a composite image comprising identity information of the source image inserted into the destination image, wherein the composite image has substantially the same illumination as the destination image.

22. At least one computer-readable medium for executing computer-readable instructions configured to insert identity information from a source image into a destination image while mimicking illumination of the destination image, said instructions performing the steps of:

encoding identity information of the source image to produce an identity vector, where the identity information encoding does not encode any pose information, and the identity information encoding does encode unwanted illumination of the source image;

encoding pose information from the totality of the destination image to produce a pose vector;

separately from and independently of the pose information encoding step, encoding illumination information from the totality of the destination image to produce an illumination vector;

activating a neural network generator to accept as inputs the identity vector and the pose vector, and to generate in response thereto a composite image comprising identity information of the source image inserted into the destination image, wherein the composite image contains uncompensated illumination information of the source image; and

activating an illumination generator to accept as inputs the uncompensated composite image and the illumination vector, and to generate in response thereto a compensated composite image comprising identity information of the source image inserted into the destination image, wherein the compensated composite image has substantially the same illumination as the destination image.

Assignments (2)
CHANGE OF NAME Recorded Nov 29, 2023
From: SPREE3D CORPORATION
To: SPREEAI CORPORATION
Reel/Frame 065714/0419 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 11, 2021
From: MOUSTAFA, MOHAMED N.; EWAIS, AHMED A.; ALI, AMR A.
To: SPREE3D CORPORATION
Reel/Frame 057756/0474 →
Continuity (1)
Related Publication 20220392034A1 · Dec 8, 2022