基于图像清晰度的自动聚焦算法.PDF
文本预览下载声明
基于图像清晰度的自动聚焦算法
1 ,2 1 1 ,3
王 蔚 宁新宝 张 胜
1 ( ) 2 ( ) 3 ( )
南京大学电子科学与工程系 南京 210093 南京师范大学电教系 南京 210024 南京师范大学物理系 南京 210024
摘 要 在数字监控和机器视觉中 ,摄像头的焦距可以由计算机根据图像的清晰度 自动控制 。本文针对监控系统在 目标跟踪时
对自动聚焦的速度和精度的要求 ,提出了两次定位 、单向搜索的快速精确的聚焦算法 。在聚焦精度方面首先针对全局图像进行第
一次粗略的聚焦 , 图像的清晰度判断采用计算速度较快的相邻象素差分法的判断函数 ;然后再对图像中的目标区域进行第二次精
确的聚焦 , 图像清晰度判断采用对清晰度变化敏感的基于Laplacian 边缘检测的判断函数 。调焦过程采用最佳焦距位置的单向搜索
法 , 以提高聚焦的速度 。实验证明该算法具有较好的实时性和精确性 。
关键词 自动聚焦 清晰度函数 图像特征
THE FAST AUTOFOCUSING AL GORITHMS BASED ON IMA GE OBJECT
1 ,2 1 1 ,3
Wang Wei Ning Xinbao Zhang Sheng
1 ( Dep artment of Electronics Engineering , N anj ing University , N anj ing 210093)
2 ( Dep artment of Modern Educational Technology , N anj ing Normal University , N anj ing 210024)
3 ( Dep artment of Physics , N anj ing Normal University , N anj ing 210024)
Abstract In the application related to the machine vision and the digital supervising ,the autofocus of the camera plays an important role . The
research focuses on the autofocusing algorthms based on the sharpness character of the image from CCD camera systems. The paper suggests a fast
algorithm to focus on an obj ect region of the image rapidly and accurately. An efficient and practical algorithm is presented in the paper . The algorithm
adapts two step s to focus on the obj ect region . Firstly ,the camera focuses on the whole image according to the different of pixels as a sharpness
function . Secondly ,it foc
显示全部