节点文献

基于DSP的视频自动聚焦系统研究

Research on DSP-based Auto-focusing Systems

【作者】 刘连杰

【导师】 俞立; 郑雅羽;

【作者基本信息】 浙江工业大学 , 检测技术与自动化装置, 2011, 硕士

【摘要】 随着数字图像处理技术的日益发展,自动聚焦技术被广泛的应用于数码相机、数码摄像机以及显微镜成像等领域。获得清晰的视频图像是后续视频处理、视频分析的基础,因此实现视频图像快速、精确、智能化的聚焦显得十分重要。但现有的基于图像的自动聚焦算法都是针对于单一主体场景,并且都未考虑视频聚焦的平滑性问题。同时由于现有的聚焦算法都不能很好的分割视频场景中前景和背景部分,导致场景中聚焦主体的成像质量不高,尤其在多主体场景下将会导致误聚焦的出现。基于上述研究背景本文展开了基于DSP的自动聚焦系统的研究,主要工作和研究成果如下:1.在单一主体场景聚焦中,为了满足视频聚焦过程平滑性的要求,提出了自适应平滑聚焦算法。首先建立了基于图像的自动聚焦系统模型,该模型主要包含清晰度计算和聚焦搜索算法两个模块。为了使聚焦主体包含图像主体,采用了基于边缘检测的聚焦区域选择方法,并结合梯度阈值的清晰度计算方法对图像主体的清晰度值进行正确评价。为了保证聚焦过程的平滑性,提出了自适应聚焦搜索算法,该算法通过清晰度的变化程度来自适应调整搜索步长,从而实现快速、精确、平滑的视频聚焦。2.在多主体场景聚焦中,由于清晰度曲线呈现多峰性,使得现有的聚焦算法都会陷入局部极值导致聚焦结果的不确定性。本文通过视频之间的关系来动态的搜寻视频场景中的聚焦主体,提出了多主体聚焦算法。该算法包括图像快速清晰度计算和多主体聚焦搜索算法。为了满足嵌入式设备实时性的要求,采用了基于Sobel算子清晰度计算方法。同时在聚焦搜索中,一种基于近景优先的聚焦搜索策略能够保证镜头聚焦到最近主体位置。3.在ADI Blanckfin DSP平台上,对自动聚焦系统进行了实现。首先是基于DSP的聚焦系统架构设计,并在此基础上对视频采集驱动和镜头控制驱动进行了实现。接着对上述两个的聚焦算法进行了移植和优化,包括算法整体架构的实现、算法移植优化和数据流优化。最后是对整个聚焦系统进行了实际平台的搭建并给出了具体硬件型号和实物图。

【Abstract】 With the development of digital image processing technology, the auto-focusing (AF) techniques have been widely applied in many imaging instruments such as camera, video and microscope. The achievement of the distinct image is the fundament of the image processing and the vision analyzing. So the fast auto-focusing with high accuracy becomes important. How to achieve smooth auto-focus for video applications is a chief problem in the auto-focusing techniques. Moreover, it is difficult to obtain good performance when there are multiple objects in the scene. From this viewpoint, this paper presents an auto-focusing system based on DSP. The main contents and achievements of the whole research are introduced as follows.To achieve the smoonth auto-focus for the video applications, a fast and high accuracy auto-focusing algorithm with self-adaptive steps is proposed. Firstly, the model of the auto-focus system based on images is introduced, which is composed of the image sharpness measure and the search strategy. The region selection method based on edge detection is used to improve the accuracy of the image sharpenss measure. And a weighted gradient histogram based threshold selection method is used to reduce the influence of background noises. Then the smooth auto-focus search strategy with self-adaptive steps is designed according to the change of the image sharpness, which has good performance on speed, sensitivity of interference and smoothness of auto-focus search.In the multi-objective situation, the image sharpness curve has multiple peaks, and the traditional AF algorithms are not robust due to the local maximum trapping. To solve this problem, an image based passive auto-focusing algorithm for the multi-objective situation is proposed. The algorithm is composed of the image sharpness measure and the search strategy. To meet real time requirement, an effective and efficient image sharpness calculation based on Sobel operator is proposed. During the multi-objective search, a near-object priority search method is presented to search the real peak. The method will drive the lens focus on the nearest object automatically by detecting sharpness changes in the sub-windows.At last, the auto-focusing system is implemented on the ADI Blackfin DSP. Firstly, the design principle of hardware and software is presented. Then the drives for video capture and lens control are implemented. Moreover, the auto-focusing algorithm is transported to the DSP, and the data flow optimization and the memory optimization are used to improve the performance. Finally, the physical parts of the auto-focus system are illustrated in detail.

节点文献中: 

本文链接的文献网络图示:

本文的引文网络