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

Claim 0:
1. A method for performing a dehazing process in an image, the method comprising:
acquiring, by a device comprising a memory storing instructions and a processor in communication with the memory, a first image and a second image corresponding to a target scene;
calculating, by the device 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, by the device, 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, by the device, the first image and the second image according to the image fusion factor to obtain a dehazed image.