符亚云 胡庆胜 牛一 杨少杰



摘 要:随着计算机运算速度的提高以及图像采集设备的更新换代,人们越来越不满足于传统三维测量方式,非接触式测量技术蓬勃发展,成为国内外学者研究的热点,双目三维重建是研究重点之一。本文首先介绍了基于双目视觉的三维重建技术,然后在MATLAB和OpenCV实验平台上,采用经典立体匹配算法即AD-Census算法对花瓶进行三维重建。
关键词:双目视觉;三维重建;AD-Census算法
中图分类号:TP391.41文献标识码:A文章编号:1003-5168(2021)01-0016-03
Abstract: With the improvement of computer operation speed and the update of image acquisition equipment, people are more and more dissatisfied with the traditional three-dimensional measurement method. The non-contact measurement technology is booming, and has become a hot spot of scholars at home and abroad. Binocular three-dimensional reconstruction is one of the research focuses. This paper first introduced the 3D reconstruction technology based on binocular vision, and then used the classical stereo matching algorithm ad census algorithm to reconstruct the vase on the experimental platform of MATLAB and OpenCV.
Keywords: binocular vision;3D reconstruction;AD-Census algorithm
以双目视觉为基础的三维重建技术是光学深度获取的重要方法之一,具有非接触、测量速度快等优点,被广泛应用于众多领域。目前,双目三维重建技术被广泛应用于工业生产、机器人视觉导航、文物修复、目标识别[1]等领域。基于双目视觉的三维重建技术的原理是人眼视物,通过视差来获取被测物体的深度信息,继而实现三维重建,即利用双目相机拍摄的图像,将目标在图像上的二维像素坐标转化为三维世界坐标[2]。双目三维重建的工作流程主要包含4步,即双目标定、图像校正、立体匹配和三维重建,其中立体匹配是关键步骤[3-4]。
1 双目相机标定
相机标定精度直接影响重建结果,物体和成像平面上像素的几何位置取决于相机成像模型。相机标定是双目三维重建的基础,通过相机标定可以获得相机的内参和外参。相机内参反映相机几何特性和光学特性,用来去除图像畸变,确定像素坐标与世界坐标的关系;相机外参反映相机的位置关系,用于计算图像深度。……