US 11,895,427 B2
Method for generating a composite image
Razvan Condorovici, Bucharest (RO); Andra Stan, Bucharest (RO); and Cosmin Stan, Bucharest (RO)
Assigned to FotoNation Limited
Filed by FotoNation Limited, Galway (IE)
Filed on Aug. 25, 2021, as Appl. No. 17/411,887.
Prior Publication US 2023/0066958 A1, Mar. 2, 2023
Int. Cl. H04N 5/272 (2006.01); G06T 7/194 (2017.01); H04N 23/88 (2023.01)
CPC H04N 5/272 (2013.01) [G06T 7/194 (2017.01); H04N 23/88 (2023.01); G06T 2207/30201 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A method for generating a composite image comprising:
a) selecting an image as a background for the composite image, wherein the background image comprises a static image or a video stream;
b) detecting a color temperature of at least a portion of said background image, said color temperature for said background image corresponding to a triplet of red, green and blue values for an illuminant of said color temperature for said background image, wherein when said background image is the video stream, color temperature and illuminance levels are detected at every Nth frame of the video stream;
c) acquiring from a camera through an image signal processor (ISP) performing white balance correction of acquired image data, an image including a foreground region including face of a user;
d) detecting a color temperature and an illuminance level of at least a portion of said foreground region, said color temperature for said foreground region corresponding to a triplet of red, green and blue values for skin under an illuminant of said color temperature for said foreground region;
e) responsive to said color temperature and illuminance level for said foreground region differing from said color temperature and illuminance level for said background image by more than a threshold amount, setting a color temperature for said white balance correction of a subsequently acquired image which causes skin pixels within said foreground region of said subsequently acquired image to have a color temperature closer to said color temperature for said background image, and adjusting an exposure setting of said camera for said subsequently acquired image to adjust said illuminance level for said foreground region;
f) combining pixel values of said foreground region with pixel values of said background image corresponding to a background region of said acquired image to provide said composite image; and
g) repeating steps c) to f) at least once.