摘要
结合DSP并行处理的结构特征,研究了常见的数字图像预处理算法的共同特点,以及预处理算法的C语言级代码优化方法,包括设置编译选项、循环展开、减少循环嵌套、使用内联函数、使用关键字等。并对应用各种优化技术后的代码执行效率进行对比分析,结果表明优化后的代码执行效率有明显提高。
This paper studied common features of digital image preprocessing algorithms combined with structural features of DSP parallel processing, as well as their optimization methods by c languages, including setting compiler options, unrolling loops, reducing nested loops and using instrinsics or key words. The comparative analysis results show that execution efficiency was significantly increased after optimizing these code.
出处
《仪器仪表用户》
2010年第3期58-60,共3页
Instrumentation