基于改进边缘锐度计算的投影仪自动对焦算法
Projector Automatic Focus Algorithm Based on Improved Edge Sharpness Calculation
张恩利 1于洋 1余嘉琛1
作者信息
- 1. 深圳创维数字技术有限公司,广东 深圳 518057
- 折叠
摘要
针对手动对焦体验差、深度相机和ToF模组自动对焦成本高且可扩展性差的问题,文章提出基于改进边缘锐度计算的投影仪自动对焦算法.首先,通过角点检测提取并分块投影区域的棋盘格图像.其次,采用改进边缘锐度算法评估提取区域清晰度.再次,利用爬山法调节马达步进获取新图像并分块评估.在此基础上,持续迭代找到图像清晰度最佳的马达步进位置,实现投影仪的自动对焦.最后,通过实物样机验证了文章所提方法的可行性.
Abstract
Aiming at the problems of poor manual focusing experience,high cost and poor scalability of automatic focus of depth camera and ToF module,this paper proposes a projector automatic focus algorithm based on improved edge sharpness calculation.Firstly,the checkerboard image of the projection area is extracted and segmented through corner detection.Secondly,the improved edge sharpness algorithm is used to evaluate the clarity of the extracted area.Then,the hill climbing algorithm is used to regulate motor steps to obtain new images and evaluate by partitioning.On this basis,the motor step position with the best image clarity is found by continuous iteration to realize the automatic focus of the projector.Finally,the feasibility of the proposed method is verified by a physical prototype.
关键词
自动对焦/角点检测/改进边缘锐度算法/爬山法Key words
automatic focus/corner detection/improved edge sharpness algorithm/hill climbing algorithm引用本文复制引用
出版年
2024