针对传统图像滤波算法在滤除噪声的同时也会丢失掉一些图像细节信息的缺点,提出了一种基于图像增强的滤波算法。该算法根据待检测像素周围3×3邻域的像素平均灰度值和待检测像素的梯度值,并结合人眼视觉特性自适应地生成动态阈值。该算法能够在抑制噪声的同时,增强图像的对比度和图像边缘信息。
As traditional image filtering algorithm may lose some image detail information while eliminating noise, an image filtering algorithm based on image enhancement is proposed. In the algorithm, adaptively automatic threshold is calculated according to the mean value of the 3×3 area pixels around the detecting pixel and gradient of the detecting pixel and the human vision system(HVS). The algerithm can not only restrain noise, but also enhance the eontrast with the edge of the image. By comparing the results of the new algorithm and those of other original image filtering algorithms, the new algorithm is outstanding.