如何提取pcl中孔的边界?

问题描述 投票:0回答:1

在带有圆孔的平面上有一个点云,我想知道如何提取孔的点以使我适合3D圆? enter image description here

3d geometry point-cloud-library point-clouds
1个回答
0
投票

使用

pcl::BoundaryEstimation<pcl::PointXYZ, pcl::Normal, pcl::Boundary>
类时。最好将点云投影到xoy平面,而不是使用ransac拟合的平面。

有点奇怪,我不知道pcl中的类是如何工作的,不是使用PCA方法来计算边界吗?希望有人能给出解释。

使用ransac方法拟合的平面进行投影(边界):

enter image description here

使用XOY平面投影(边界):

enter image description here

或者使用

pcl::ConcaveHullpcl::PointXYZ
类,也可以解决这样的问题。

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.