使用PCL :: CROPHULL
您好,我正在寻找一种方法来找出位于预定义的多边形点/指数集中的点云的点/索引。
我的输入将是以下内容。
- 形成2D多边形的云指数集。例如:21480,4491,20399,19034,21322,5240,5870,21480
- 套件坐标(x,y,z),与云中的上述指数相对应。
Hello I am looking for a way to find out points/indices of point cloud which lie within a set of pre-defined polygon points/indices.
My Input would be either of the following.
- Set of indices of the cloud forming a 2D polygon. Eg : 21480, 4491, 20399, 19034, 21322, 5240, 5870, 21480
- Set of coordinates(x,y,z) which correspond to the above indices in the cloud.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我愿意建议您文档 pcl :: crophull
在您的情况下。方法:
SethullCloud(PointCloudptr点)
setCropoutside(bool crop_outside)
进而
filter(pointCloud& output)
应该完成工作。
如果这没有回答您的问题,请更具体地说明您在使用PCL :: CROPHULL时完全面临的问题(如果可能的话,请使用代码)
May I politelly suggest you the documentation pcl::CropHull
In your case. the methods:
setHullCloud (PointCloudPtr points)
setCropOutside (bool crop_outside)
and then
filter (PointCloud &output)
should do the job.
If this did not answer your problem please be more specific to which problems you are exactly facing when using pcl::CropHull (with code if possible)