光子学报 ›› 2018, Vol. 47 ›› Issue (7): 715002-0715002.doi: 10.3788/gzxb20184707.0715002

• 计算机视觉 • 上一篇    下一篇

基于正弦相位编码的相机离焦标定

杨浩1, 蔡宁1, 林斌1,2, 曹向群1   

  1. 1 浙江大学 现代光学仪器国家重点实验室 国家光学仪器工程技术研究中心, 杭州 310027;
    2 浙江大学台州研究院, 浙江 台州 318000
  • 收稿日期:2018-03-11 出版日期:2018-07-25 发布日期:2018-04-11
  • 通讯作者: 林斌(1964-),男,教授,博士,主要研究方向为图像传感及处理、光电测量技术和仪器.Email:wjlin@zju.edu.cn
  • 作者简介:杨浩(1993-),男,硕士研究生,主要研究方向为机器视觉、相机标定和图像处理.Email:21530012@zju.edu.cn
  • 基金资助:

    江苏省科技计划项目(工业支撑)(No.BE2014082),昆山市机器人及智能装备科技专项(No.KSJ1517)和浙江省公益技术应用研究(No.2016C01G2011454)资助

Defocus Camera Calibration Based on Sinusoidal Phase Coding

YANG Hao1, CAI Ning1, LIN Bin1,2, CAO Xiang-qun1   

  1. 1 State Key Laboratory of Modern Optical Instrumentation, CNERC for Optical Instrument, Zhejiang University, Hangzhou 310027, China;
    2 Research Institute of Zhejiang University-Taizhou, Taizhou, Zejiang 318000, China
  • Received:2018-03-11 Online:2018-07-25 Published:2018-04-11
  • Contact: 2018-04-11
  • Supported by:

    Jiangsu Science and Technology Project (Industry Support) (No.BE2014082), Kunshan Robotics and Intelligent Equipment Technology Project(No.KSJ1517) and Zhejiang Research on Application of Commonweal Technology(No.2016C01G2011454)

摘要:

分析了光学系统离焦状态对基于正弦光栅的结构光相位的影响.基于正弦结构光相位与相机对焦状态无关的性质,提出了一种利用相移法正弦结构光编码显示面板对离焦相机进行标定的方法.使用Floyd-Steinberg Dithering算法消除了显示面板gamma变换带来的结构光相位计算误差.实现了相机在离焦状态下对标定物特征点的准确提取.标定结果重投影误差为0.17 pixels.相机焦距的标定误差在0.39%以内.与传统方法相比提高了标定精度,为具有特殊成像范围的相机的标定提供了一种解决方案.

关键词: 相移法, 离焦, 摄影设备, 相位匹配, 相机标定

Abstract:

The influence of the defocus state of the optical system on the phase of structured light based on sine grating, abbreviated as sinusoidal structured light, was analyzed. Based on the property that the sinusoidal structured light phase is independent of the camera's focusing state, a method of calibrating the camera in the defocus state using a phase-shifted sinusoidal-structured-light-encoded display panel is proposed. The Floyd-Steinberg Dithering algorithm is used to eliminate the structured light phase calculation errors caused by the gamma conversion of the display panel. This method makes the accurate extraction of the feature points of the calibration object under the defocus state come true. The calibration result has a reprojection error of 0.17 pixels. The calibration error of the camera focal length is within 0.39%. The calibration accuracy was improved compared to traditional methods. A solution for the calibration of cameras with a special imaging range was provided.

Key words: Phase shift, Defocusing, Photographic equipment, Camera calibration, Phase matching

中图分类号: