The invention discloses an HSV (
hue, saturation and value)
color space dual-channel-based image defogging method, which comprises the following steps of: acquiring an original foggy image, and transferring the original foggy image to an HSV space to obtain a saturation image and a brightness image; sorting the pixel values of the saturation image from small to large, selecting the coordinates of the first n% pixels, and finding the coordinate of the
maximum pixel in the corresponding coordinates in the brightness image; finding a coordinate corresponding to the
maximum pixel in the original
fog-containing image, and obtaining a pixel value as an atmospheric light
estimation value; the pixel values of the S channel and the V channel are used for constructing a balance coefficient to compensate the saturation, and then the transmissivity is compensated; according to the atmospheric light
estimation value, the transmissivity and the atmospheric scattering model, the original
fog-containing image is processed, the defogged image is obtained, the low-saturation and high-brightness pixels are selected as the final atmospheric light, and the good defogging effect is achieved; the
transmittance is estimated through the compensated saturation, and based on pixel
estimation, the defogging speed is increased while the blocking effect is reduced, and the defogging quality is improved.