矢量中值滤波器(vector median filter,VMF)是一种经典和高效的矢量滤波器,主要用于消除彩色图像中的脉冲噪声,但它没有考虑在滤波器窗口内各个像素由于位置的不同而对滤波效果产生的不同的影响。根据人类视觉感知,在一个滤波器窗口中,即使二个像素具有相同的颜色值,其中离中心像素较近的像素应当对中心像素影响较大,而距离较远的像素对中心像素影响较小。基于此,试图将空间距离对滤波效果的影响量化,提出了一个基于心理距离的加权公式,并结合传统的矢量中值滤波器VMF,构造出了一种新的基于空间距离加权的自适应矢量中值滤波器。实验表明,新的矢量中值滤波器,在抑制脉冲噪声、色调保持、细节或边缘保护方面,胜过传统的VMF和其他几个基本的典型矢量滤波器。
Vector median filter(VMF) is a kind of traditional and highly effective vector filter which is mainly used to remove impulsive noise from color images. But it doesn't take account of a fact that the pixels located at different positions in a filtering window have different influence on filtering effect. According to the human visual perception, even though two pixels in a filtering window have the same color values, the one that is closer to the central pixel should have greater influence on the central pixel, and the other' s influence should be less. Based on this principle, this paper attempts to quantify the influence of different spatial distances on filtering effect by suggesting a spatial-distance weighting function which is based on psychological distance. Combining this function with the traditional VMF, a new filter, namely adaptive spatial distance-weighted vector median filter (ADWVMF), is proposed. The experimental results show that the new ADWVMF, compared with the traditional VMF and several other representative vector filters, has better performance and filtering effect on noise attenuation, chromaticity retention, and edges or details preservation.