Patent ID: 11861810
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. An apparatus for performing a dehazing process in an image, the apparatus comprising:
a memory storing instructions; and
a processor in communication with the memory, wherein, when the processor executes the instructions, the processor is configured to cause the apparatus to perform:
acquiring a first image and a second image corresponding to a target scene;
calculating, based on a first pixel value of each pixel of the first image and a second pixel value of each pixel of the second image, haze density information of each pixel, by:
extracting a blue-light brightness value of each pixel from the first pixel value of each pixel of the first image, and using the second pixel value of each pixel of the second image as an infrared brightness value of each pixel; and
calculating the haze density information of each pixel according to a difference between the blue-light brightness value and the infrared brightness value;

generating an image fusion factor of each pixel according to the haze density information, the image fusion factor indicating a fusion degree between the first image and the second image; and
fusing the first image and the second image according to the image fusion factor to obtain a dehazed image.