Patent ID: 11895427
Assignee: FOTONATION LIMITED
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 0:
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.