节点文献
基于DSP的自动聚焦系统
Auto-focusing system based on DSP
【摘要】 通过对基于空域分析的聚焦评价算子的对比,选择了基于Sobel梯度的Tenengrad函数作为系统的聚焦评价函数,该函数具有聚焦精度高、成像清晰的优点,但计算量大,不适合实时计算。根据DSP的运算特点,对Tenengrad函数进行了改进,提出了x/y向Tenengrad函数概念。通过实验证明,改进后的函数在不损失原函数聚焦精度的情况下,每幅图像的聚焦判据的计算时间减少为25ms,是原来聚焦判据计算时间的1/35,以此作为聚焦评价函数,在TMS320DM642平台上通过对视频驱动、UART驱动的开发,实现了可变焦摄像机的实时自动聚焦。
【Abstract】 The focus evaluation functions on the basis of spatial domain are analyzed. Then,Tenengrad function based on Sobel operator is chosen as the focus evaluation function. Tenengrad function is improved to overcome the great computation cost and a x/y Tenengrad function which can be real-timely implemented in the Digital Signal Processing(DSP) platform is put forward. Experimental results indicate that with almost the same focusing precision,the focusing computation time for per image of 768×576 is within 25ms,which is one thirty-fifth of that of the classic Tenengrad function. By finishing the video driver and UART driver in the TMS320DM642 platform,an auto-focusing system comprising x/y Tenengrad function and global searching algorithm is set up successfully.
【Key words】 automatic focusing; evaluation function; Tenengrad function; DSP;
- 【文献出处】 光电工程 ,Opto-Electronic Engineering , 编辑部邮箱 ,2007年08期
- 【分类号】TP274
- 【被引频次】20
- 【下载频次】368