point-cloud-library - 如果我知道它必须具有的大致形状,我如何分割云?

标签 point-cloud-library

我正在尝试分割这个 3D 点云(这是顶部的 View ):

enter image description here

我想要的是“内省(introspection)略号”,基本上排除了右边的红色长线和其他一些从红色省略号中突出太多的点。

我如何/可以使用 PCL 做到这一点?

最佳答案

我建议使用 RANSAC,但创建您自己的“椭圆”模型,类似于此处使用的模型:http://docs.pointclouds.org/trunk/a02954.html .完成后,我相信它也可能对其他人有益。

看看代码,例如SampleConsensusModelPlane 或 SampleConsensusModelCylinder 了解如何构建此类模型:

$ cd ~/software/pcl
$ find . -name "sac_model_cylinder*"
./sample_consensus/src/sac_model_cylinder.cpp
./sample_consensus/include/pcl/sample_consensus/impl/sac_model_cylinder.hpp
./sample_consensus/include/pcl/sample_consensus/sac_model_cylinder.h

嗯,这可能就是我会做的(我还没有做过)。

关于point-cloud-library - 如果我知道它必须具有的大致形状,我如何分割云?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23144685/

相关文章:

c++ - 如何在RANSAC平面估算器上包含自定义约束/等级?

c++ - 使用 PCL 的 BreadthFirstIterator 时出现 LNK2001 错误

c++ - 如何合并不同大小的点云簇

c++ - 从 .oni 文件中获取平面图像和深度图像之间的对应关系

c++ - SACSegmentation检测奇平面模型

c++ - 从给定视点将 3D 点云光线转换到 2D 图像

c++ - 链接和编译 pcl

android - 为 Android 构建 PCL

c++ - 点云库:如何使用 pcl::addCoordinateSystem(double scale, const Eigen::Affine3f & t, int viewport = 0))

C# 点云匹配 (Visual studio 2013)