为了实现大规模重建场景的三维轮廓高效提取,提出了一种基于重投影的三维线段检测算法.在基于二维线段检测器的线段检测与基于运动恢复结构的重建基础上,根据摄像机矩阵对空间点云进行重投影;通过弱匹配关系寻找最佳重投影线段,并利用重投影索引推断出三维线段;最后通过对空间短线段进行延伸获得三维轮廓线,并采用空间点云的平面聚类消除重投影引起的线段误匹配.实验结果表明,该算法能取得较好的视觉效果,同时具有较高的计算效率.
A re-projection based 3D line segment detection algorithm is proposed to efficiently extract 3D contours from a large-scale reconstructed scene.For the reconstructed scene based on the 2D line segment detector and structure from motion approaches,the proposed algorithm first re-projects the spatial point clouds to image plane based on different camera matrices,then finds the best re-projected lines under the condition of weak matching.3D line segments are derived by using re-projection index and 3D contour is obtained via line segment extension.To alleviate the matching errors caused by re-projection,a planar clustering algorithm of 3D point clouds is implemented.Experimental results show that the proposed algorithm can produce satisfied visual effects with high computational efficiency.