使用PCL :: CROPHULL

发布于 2025-01-22 14:25:34 字数 343 浏览 2 评论 0原文

您好,我正在寻找一种方法来找出位于预定义的多边形点/指数集中的点云的点/索引。

我的输入将是以下内容。

  1. 形成2D多边形的云指数集。例如:21480,4491,20399,19034,21322,5240,5870,21480
  2. 套件坐标(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.

  1. Set of indices of the cloud forming a 2D polygon. Eg : 21480, 4491, 20399, 19034, 21322, 5240, 5870, 21480
  2. Set of coordinates(x,y,z) which correspond to the above indices in the cloud.

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

单身情人 2025-01-29 14:25:34

我愿意建议您文档 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)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文