计算机工程与应用 ›› 2016, Vol. 52 ›› Issue (7): 155-159.

• 模式识别与人工智能 • 上一篇    下一篇

暗环境下利用改良聚光灯测距的方法

李洪歧1,鲁怀伟2,李鹏飞3   

  1. 1.兰州交通大学 电子与信息工程学院,兰州 730070
    2.兰州交通大学 数理学院,兰州 730070
    3.兰州交通大学 自动化与电气工程学院,兰州 730070
  • 出版日期:2016-04-01 发布日期:2016-04-19

Ranging method based on improved spotlight in dark environments

LI Hongqi1, LU Huaiwei2, LI Pengfei3   

  1. 1.School of Electronic and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China
    2.School of Mathematics and Physics, Lanzhou Jiaotong University, Lanzhou 730070, China
    3.School of Automation and Electronical Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China
  • Online:2016-04-01 Published:2016-04-19

摘要: 针对传统的基于激光和传感器测距方式复杂和昂贵的缺点,提出了一种利用改良聚光灯的测距方法。该方法根据暗环境的特点,使用透镜改良聚光灯产生边缘效果好的光斑;变化的阈值实现对图像中的区域分割,利用环形质心接近的方法确定白光照射的焦点位置,利用三角方法实现测距。经实验验证,该方法区别于使用激光等测距,可以快速地处理复杂背景下的精度要求不高的测距任务,还可以为摄像头提供光源来获取颜色、细节等图像信息。

关键词: 测距, 改良聚光灯, 结构光, 三角测距

Abstract: A new ranging method based on improved spotlight is proposed to satisfy the need of simplification of system model, reduce the cost of the system. According to the characteristics of a dark environment, the method utilizes lens to improve the edge of the spotlight, and utilizes variable threshold to achieve the edge of the white light, then determines the focus position of white light by the circle centroid closest approach, and calculates the distance with optical triangulation method. The experiments prove that the method is different from the laser and sensor ranging, which can handle less precision complex background ranging task fast. The spotlight can provide light to camera in dark environments, and the camera can access scene color, object detail information in the space.

Key words: ranging, improved spotlight, structured light, triangulation