Patent ID: 11942013
Assignee: MAGIC LEAP, INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A system comprising:
one or more processors; and
a non-transitory computer-readable medium comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
capturing a plurality of images of a display of a wearable device using an image capture device, wherein the plurality of images are captured in a color space, and wherein each of the plurality of images corresponds to one of a plurality of color channels;
performing a global white balance to the plurality of images to obtain a plurality of normalized images each corresponding to one the plurality of color channels;
performing a local white balance to the plurality of normalized images to obtain a plurality of correction matrices each corresponding to one of the plurality of color channels, wherein performing the local white balance includes, during each of multiple iterations through a loop using the plurality of normalized images:
defining a set of weighting factors based on a figure of merit;
computing a plurality of weighted images based on the plurality of normalized images and the set of weighting factors; and
computing the plurality of correction matrices based on the plurality of weighted images;

after computing the plurality of correction matrices and while the wearable device is being worn by a user:
correcting a video sequence to be displayed at the wearable device using the plurality of correction matrices; and
displaying the corrected video sequence at the display.