CPC G06T 19/006 (2013.01) [G06T 7/11 (2017.01); G06T 7/70 (2017.01); G06T 19/20 (2013.01); G06V 10/60 (2022.01); G06V 10/761 (2022.01); G06T 2219/2004 (2013.01)] | 20 Claims |
1. A method for evaluating luminance in Augmented Reality (AR) applications, the method comprising:
receiving, by a luminance testing device, a plurality of video frames corresponding to an AR object in a real-world environment in real-time from an AR application at a current camera angle, wherein each of the plurality of video frames comprises a grid, wherein the grid comprises a plurality of blocks, and wherein the AR object in each of the plurality of video frames comprises a set of AR object pixels and the real-world environment in each of the plurality of video frames comprises a set of environment pixels;
for each of the plurality of video frames,
subtracting, by the luminance testing device, the set of AR object pixels from the set of environment pixels in a frame to identify a current location of the AR object in the frame, wherein the current location of the AR object corresponds to at least one of the plurality of blocks in the frame;
calculating, by the luminance testing device, a mean luminance value corresponding to the set of AR object pixels in each of the at least one of the plurality of blocks in the frame;
calculating, by the luminance testing device, a mean luminance value corresponding to each of the plurality of blocks of the grid in the real-world environment through a light sensor;
comparing, by the luminance testing device, the mean luminance value for each of the plurality of blocks of the grid with the mean luminance value corresponding to the set of AR object pixels in each of the at least one of the plurality of blocks in the frame; and
evaluating, by the luminance testing device, luminance of the AR object at the current location in the AR application based on the comparing.
|