###
计算机系统应用英文版:2017,26(12):124-129
本文二维码信息
码上扫一扫!
面向高性能DSP的图像滤波库优化
郑晓松1,2,3, 顾乃杰1,2,3, 叶鸿1,2,3
(1.中国科学技术大学 计算机科学与技术学院, 合肥 230027;2.中国科学技术大学 安徽省计算与通信软件重点实验室, 合肥 230027;3.中国科学技术大学 先进技术研究院, 合肥 230027)
Optimization of Image Filtering Library for High-Performance DSP
(1.School of Computer Science and Technology, University of Science and Technology of China, Hefei 230027, China;2.Anhui Province Key Laboratory of Computing and Communication Software, University of Science and Technology of China, Hefei 230027, China;3.Institute of Advanced Technology, University of Science and Technology of China, Hefei 230027, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1215次   下载 1623
Received:March 15, 2017    Revised:April 05, 2017
中文摘要: 滤波函数在图像处理领域起着至关重要的作用. 传统的滤波实现方法以窗口为处理单位,但窗口尺寸较小导致指令流水线频繁中断. 针对该问题,本文提出了算法切片的优化方法. 首先,对滤波算法进行切片,使得每个切片处理滤波窗口中的一个像素点;接着,根据切片处理的像素点在滤波窗口中的位置计算出有效处理范围,去除图像边缘处理中复杂的条件判断;最后,按列方向进行多簇流水,让流水线重复执行大量相同的指令序列. 结合BWDSP 1042的特殊指令和硬件逻辑,对中值滤波等图像滤波函数进行了优化. 实验结果表明:在四簇流水模式下,所有图像滤波函数性能均提升了51倍以上.
Abstract:Filter functions play a significant role in image processing. The traditional implementation method takes the window as the processing unit, whose size is so small that the pipeline is interrupted frequently. This paper proposes an optimization method of algorithm slicing to settle this problem. First, the filtering algorithm is sliced so that each slice processes one pixel in the filter window. Then, the effective processing range is calculated from the position of the pixel in the filter window to remove the complex conditional judgment of the edge of the image. Finally, the software pipeline is carried out in the column direction, allowing the pipeline to repeat a large number of identical instruction sequences. Combined with BWDSP 1042 special instructions and hardware logic, the median filter and other image filtering functions are optimized. The experimental results show that the performance of the entire image filtering functions is improved by more than 51 times in the four-cluster pipeline mode.
文章编号:     中图分类号:    文献标志码:
基金项目:安徽省自然科学基金(1408085MKL06);高等学校学科创新引智计划基金(B07033)
引用文本:
郑晓松,顾乃杰,叶鸿.面向高性能DSP的图像滤波库优化.计算机系统应用,2017,26(12):124-129
ZHENG Xiao-Song,GU Nai-Jie,YE Hong.Optimization of Image Filtering Library for High-Performance DSP.COMPUTER SYSTEMS APPLICATIONS,2017,26(12):124-129