CPC H04N 9/735 (2013.01) [G06T 7/11 (2017.01); G06T 7/90 (2017.01); H04N 5/2258 (2013.01); H04N 5/2351 (2013.01); H04N 5/23229 (2013.01); H04N 9/09 (2013.01); H04N 9/646 (2013.01); G06T 2207/10024 (2013.01); G06T 2207/10048 (2013.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01); H04N 5/33 (2013.01)] | 20 Claims |
1. A method for generating a glare-free image, the method comprising:
acquiring an RGB image of a scene in a visible wavelength range;
acquiring an infrared (IR) image of the scene in an IR wavelength range;
transforming the RGB image to a YUV image;
based on a luminance component of the YUV image, identifying a glare region in the YUV image;
identifying, in the IR image, a corresponding region to the glare region in the YUV image; and
substituting, in the luminance component of the YUV image, pixel values in the glare region with pixel values of the corresponding region in the IR image.
|