基于双目结构的投影栅相位法利用相位值建立左右图像对应点匹配关系,但传统相位立体匹配方法匹配速度较慢,因此本文提出了一种基于极线校正的相位立体匹配方法来提高相位立体匹配速度。首先,通过极线校正算法将双目立体视觉几何结构转换成极线标准几何结构,即左图中任意一点在右图的极线是与该点纵坐标相同的水平直线。然后,在对左右相位图进行极线校正的基础上,给出了改进的相位立体匹配方法步骤。最后,通过对实物进行三维重建,分析比较了传统相位立体匹配方法与改进方法的性能。实验结果表明,与传统方法相比,改进的方法将匹配时间缩短了63%,能够满足工业应用对测量速度的要求。
Projected grating phase method with two-camera setups uses phase values to set up the corresponding points between the left and right images.For solving the problem of a lower speed in the traditional phase-based stereo matching method,a new phase-based stereo matching method using epipolar line rectification is presented to improve the speed of phase-based stereo matching.Firstly,the epipolar line rectification algorithm is used to transform the bi-stereo geometry into the epipolar standard geometry.That is,the epipolar line for a certain point on the left image is simply the horizon line with the same row coordinate on the right image.Then,based on the epipolar line rectifications of left and right phase maps,procedures of improved phase-based stereo matching method are presented.Finally,through three-dimensional reconstruction of certain objects,this paper analyses and compares the performances of original and improved phase-based stereo matching methods.The experimental results show that the improved method has shortened the matching time by 63 percent as compared with that of traditional method.The method can meet the requirements of high speed for industrial measurements.