| CPC G06T 5/80 (2024.01) [G06T 3/40 (2013.01); G06T 5/20 (2013.01); G06V 10/60 (2022.01); G06V 10/751 (2022.01); G06T 2207/20028 (2013.01)] | 20 Claims |

|
1. A method for removing haziness in a digital image, the method comprising:
receiving, by a processing unit, an input digital image from an image capturing device, the input digital image depicting at least some haze content;
downscaling, by the processing unit, the input digital image to obtain a low-resolution image, wherein the low-resolution image comprises pixels having intensity values associated with multiple color channels;
determining, by the processing unit, a dark channel image corresponding to the low-resolution image by:
identifying minimum intensity dark channels associated with respective local patches of the pixels of the low-resolution image, wherein:
a minimum intensity dark channel associated with a particular local patch is identified as one color channel of the multiple color channels that is associated with lowest intensity values within the particular local patch; and
generating the dark channel image using the minimum intensity dark channels associated with the respective local patches;
determining, by the processing unit, an atmospheric light value associated with the low-resolution image;
determining, by the processing unit, a transmission map of the low-resolution image by computing a transmission ratio for each of the respective local patches, based on:
the minimum intensity dark channels associated with the respective local patches in the dark channel image, and
the atmospheric light value;
scaling, by the processing unit, the transmission map to a corresponding magnitude of the input digital image to generate a scaled transmission map;
generating, by the processing unit, a de-hazed output image by applying the scaled transmission map and the atmospheric light value to the input digital image; and
displaying, by the processing unit, the de-hazed output image on a display unit.
|