高级检索

基于自适应透射率与Gamma增强的图像去雾

Image dehazing based on adaptive transmittance and Gamma enhancement

  • 摘要: 为了克服图像去雾易产生光晕效果和亮度偏暗的缺陷,更好地恢复图像的自然颜色,提出了基于自适应透射率与Gamma增强的图像去雾方法。首先,提出了自适应的透射率,将像素划分为骤变区域的像素和平滑区域的像素,分别用小邻域和大邻域的最小值滤波估计透射率,以避免光晕效果的产生。其次,在暗通道中选择值最大的1‰像素,将它们对应于有雾图像中的像素在通道内的均值,作为大气光的估计值,以提高大气光估计的准确性。然后,根据大气散射模型进行去雾恢复。最后,提出自适应的Gamma指数函数,对去雾图像的明度分量进行Gamma变换,以改善去雾图像的亮度分布。实验结果显示,提出方法去雾后的视觉感知效果优于现有方法,信息熵、标准差和明度均值分别高于现有方法4.01%、23.1%和6.67%以上。因此,提出方法具有更好的去雾能力。

     

    Abstract:
    Haze in the air degrades actual imaging effect, directly leading to low contrast and clarity of images, making it difficult to reflect the real scene information, thereby reducing the application effectiveness of pattern recognition, computer vision, and intelligent detection. Therefore, image dehazing is necessary. To improve foggy images, scholars have proposed image enhancement-based, image restoration-based, and deep learning-based dehazing methods. However, image enhancement-based methods are subjective and arbitrary, lacking robustness across different foggy images. Image restoration-based methods model hazy imaging using assumptions or priors, which struggle to fit complex real-world scenarios accurately, leading to deviation between restored images and the actual scene images. Deep learning-based methods learn models from image datasets, but they require large datasets and long training time.
    To address these shortcomings, an image dehazing method based on adaptive transmittance and Gamma enhancement was proposed. Firstly, an adaptive dark channel was defined: for pixels in sudden-change regions, the dark channel was calculated using a minimum filter with a smaller neighborhood, while for pixels in smooth regions, it was calculated using a minimum filter with a larger neighborhood. This adaptive dark channel exhibited no block effect, had delicate edges and textures, accurately reflected brightness variations, and enhanced image hierarchy. Secondly, based on the adaptive dark channel, adaptive transmittance was proposed. Pixels were classified into sudden-change and smooth regions based on local standard deviation, and their transmittance was calculated using minimum filters with small and large neighborhoods, respectively. Thirdly, the top 1 ‰ of pixels with the highest values in the dark channel were selected, and their corresponding pixel values in the foggy image were averaged within each channel to estimate atmospheric light, improving estimation accuracy. Finally, dehazing recovery was performed using the estimated adaptive transmittance and atmospheric light based on the atmospheric scattering model. Furthermore, to restore the normal brightness of dehazed images, an adaptive Gamma transformation function was proposed, applying the Gamma transformation to the brightness component in HSV space to improve brightness distribution. The defined Gamma exponential function, as shown in Equation (8), adapted to the grayscale frequency distribution of the brightness image. Pixels were assumed to be evenly distributed across gray levels, with the denominator being the integral of each gray level multiplied by its corresponding average frequency, and the numerator being the integral of each gray level multiplied by its corresponding pixel frequency.
    The proposed method and several recently developed representative methods were applied to six scene-based image dehazing experiments, as shown in Fig.4 to Fig.9. Subjectively, the proposed method achieved more thorough dehazing, resulting in higher contrast, clarity, and better color fidelity, leading to superior visual effects. Objectively, the information entropy of images dehazed by the proposed method was over 4.01% higher than that of existing methods, demonstrating that the adaptive transmittance enhanced information content, yielding clearer textures and details. The standard deviation of dehazed images was over 23.1% higher, indicating greater improvement in contrast and clarity. The average brightness was over 6.67% higher, showing that the adaptive Gamma enhancement effectively improved brightness distribution without over-enhancement.
    Experimental results and qualitative-quantitative analyses demonstrate that the proposed method achieves competitive dehazing performance, yielding high-contrast dehazed images with clear edges, rich details and realistic colors.Therefore, the proposed image dehazing method based on adaptive transmittance and Gamma enhancement is effective.

     

/

返回文章
返回