摘要
中值滤波是图像处理中降低椒盐噪声的一种有效手段,其核心是计算当前滤波窗口内所有像素的中值。中值滤波具有稳定性,当一幅图像的像素点被改变时,即使改变的值很大,也不会影响中值滤波的计算结果。滤波窗口遍历整幅图像后,就完成了整幅图像的中值滤波计算。中值滤波算法的关键是定义最优中值算法,以在最短的时间内获取中值。对此,提出并实现了自适应中值算法,能够根据滤波窗口半径和数据类型,自动选择性能最佳的中值算法,并使用ARM NEON指令集进行优化加速。实验结果表明,提出的自适应中值滤波算法较OpenCV的中值滤波算法性能有显著提升,平均性能提升了20%。
Median filtering is an effective method to reduce salt and pepper noise in image processing.Its core is to calculate the median of all pixels in the current filtering window.Median filtering is stable.When the pixels of an image are changed,the calculation results of median filtering will not be affected even if the changed value is large.After the filtering window traverses the whole image,the median filtering calculation of the whole image is completed.The key of the median filtering algorithm is to define the optimal median algorithm,which can obtain the median in the shortest time.In this regard,an adaptive median algorithm is proposed and implemented,which can automatically select the median algorithm with the best performance according to the filtering window radius and data type,and use ARM NEON instruction set for optimization and acceleration.Experimental results show that the proposed adaptive median filtering algorithm significantly outperforms OpenCV,and the average performance is improved by 20%.
作者
牟明任
贾海鹏
张云泉
邓明森
曲国远
魏大洲
张广婷
MU Ming-ren;JIA Hai-peng;ZHANG Yun-quan;DENG Ming-sen;QU Guo-yuan;WEI Da-zhou;ZHANG Guang-ting(School of Information,Guizhou University of Finance and Economics,Guiyang 550025;State Key Laboratory of Computer Architecture,Institute of Computing Technology,Chinese Academy of Sciences,Beijing 100190;China Aeronautical Radio Electronics Research Institute,Shanghai 200241,China)
出处
《计算机工程与科学》
CSCD
北大核心
2022年第10期1738-1746,共9页
Computer Engineering & Science
基金
国家重点研发计划(2017YFB0202105)
国家自然科学基金(61972376)
北京市自然科学基金(L182053)。
关键词
中值滤波
中值算法
ARM指令集
median filtering
median algorithm
ARM instruction set