[pcl_visualizer] "Allow custom definition of non-dense point cloud"
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cpp
调研方向
首先跟踪 updatePointCloud() 和 addPointCloud() 到 convertPointCloudToVTKPolyData() 的调用路径,其中当前通过三次 std::isfinite 调用检查点的有效性。确定如何公开自定义的无效点定义,同时默认保留现有行为;完成标准是两条转换路径都支持所请求的自定义,并且不会破坏非密集点云的处理。
由索引模型根据 Issue 内容生成。
描述
When profiling, it seems that quite some time is being used to test if each point in a point cloud is valid. Of course, this is necessary for non-dense point clouds. However, it could be done faster.
This happens when calling updatePointCloud() and addPointCloud() which both calls convertPointCloudToVTKPolyData().
Then function tests non-density with
// Check if the point is invalid
if (!std::isfinite ((*cloud)[i].x) ||
!std::isfinite ((*cloud)[i].y) ||
!std::isfinite ((*cloud)[i].z))
continue;
Here it would be useful to be able to inject a custom definition:
// Check if the point is invalid
if ( isInvalidPoint((*cloud)[i]) )
continue;
For example, it may be enough for certain applications to test if the x-component is NaN to determine this. Today we get 3 tests per point and each may results in a non-inlined function call.
The downside is that each of the above three functions needs an additional template parameter.
I hope it is something that you will consider in the future.
kind regards
Thorsten
- 主要语言
- C++
- 星标
- 11.2k
- 派生
- 4.7k
- 平均合并
- 6 天 13 小时
- 30 天内合并 PR
- 10
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PointCloudLibrary/pcl 的其他 Issue
-
kind: bug status: triage
难度 1/5 1 小时以内 新手友好度 82/100
PointCloudLibrary/pcl#6536 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
PointCloudLibrary/pcl#6509 · 1 条评论 ·
维护者通常 3 天内回复
-
kind: bug status: triage
难度 4/5 3-5 天 新手友好度 48/100
PointCloudLibrary/pcl#6537 ·
维护者通常 3 天内回复
-
[cmake] QHULL/FLANN dll missing when linking single module可能已有人在做 @SIDDARTHAREDDY8 于 6 天前认领。 未关闭kind: bug module: cmake
难度 3/5 半天 新手友好度 50/100
PointCloudLibrary/pcl#6522 · 1 条评论 ·
维护者通常 3 天内回复
-
kind: bug status: triage
难度 4/5 3-5 天 新手友好度 35/100
PointCloudLibrary/pcl#6395 ·
维护者通常 3 天内回复
查看 PointCloudLibrary/pcl 的全部 Issue
相似的 Issue
-
documentation
难度 1/5 1 小时以内 新手友好度 86/100
Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP#335 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
deepseek-ai/DeepEP#830 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
google-ai-edge/LiteRT-LM#4701 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
HarperFast/rocksdb-js#1131 ·
维护者通常 1 天内回复
-
Swapped cache lookups in ScanModelAndDecideAllDiffExpansion可能已有人在做 @Lian292213 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复