Patent ID: 11948245
Assignee: APPLE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 16:
17. A method, comprising:
obtaining a training set comprising a first plurality of images, wherein the first plurality of images comprises at least one synthetic image and at least one real image;
initializing a neural network configured to decompose images into a plurality of lighting-related components; and
for each image in the first plurality of images:
decomposing the image into a plurality of lighting-related components using the neural network;
generating a reconstructed version of the image based on the plurality of lighting-related components;
determining a cross-relighting loss term for the image if the image is a real image, wherein the cross-relighting loss term comprises computing a difference between: (1) a version of the image that is relit with estimated lighting for another image in the first plurality of images; and (2) the another image;
determining a reconstruction loss term for the image based, at least in part, on the reconstructed version of the image and the plurality of lighting-related components; and
refining the neural network based, at least in part, on:
(a) the reconstruction loss term for the image; and
(b) the cross-relighting loss term for the image, if the image is real image.