Knobbe, Martens, Olson & Bear LLP
Method and apparatus for processing image
A method and an apparatus for processing an image are provided. A method may include: acquiring a to-be-processed foggy image, and performing minimum value filtering on the to-be-processed foggy image to obtain a grayscale image of the to-be-processed foggy image; selecting, in a descending order of pixel values, a target number of pixel points from the grayscale image, and determining an image area corresponding to the selected pixel points from the to-be-processed foggy image; acquiring pixel values of the pixel points included in the image area, and determining an atmospheric light value based on the acquired pixel values; and performing image defogging processing on the to-be-processed foggy image based on the grayscale image and the atmospheric light value to obtain a processed image. The effect of image display and the efficiency of image processing can be improved.
Baidu Online Network Technology (Beijing) Co., Ltd.
G G G G
G06T G06T G06T G06T
inventional additional inventional inventional
Ti Shilei Xiao Xin Fan Xiang Errui Xubin Hao
Bai Wen Liu Li Yang Zhao Ding Li Sun