摘要
在通用图像采集IP核的基础上,提出了一种能更好地应用于自动聚焦等相关算法的IP核。充分利用图像数据中的引导码完成了软同步设计,根据算法进行需求分析,只提取图像信号中的灰度分量Y,并将它们进行打包处理,最终通过DMA突发传输的方式缓存到SDRAM中。该设计方法在使采集效率提高50%的同时使资源消耗量减少了59%,并且通过实验验证了其功能的正确性和可靠性。
A new image acquisition IP which can be better used in auto-focus algorithm is proposed in the paper. The IP can complete the soft synchronization through the guide code which is included in image data stream. In addition, through the analysis of algorithm's needs, the gray component Y is extracted and packed. Finally, the image data is buffered into SDRAM by the means of DMA burst transfer. With this method, the efficiency of acquisition is improved 50% and the resource consumption is reduced 59%. And the correctness and reliability of its function is verified through experiments.
出处
《电子测量与仪器学报》
CSCD
2011年第11期1006-1011,共6页
Journal of Electronic Measurement and Instrumentation
关键词
自动聚焦
引导码
软同步
DMA
Auto-focus
guide code
soft synchronization
direct memory access