[pcl_visualizer] "Allow custom definition of non-dense point cloud"
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp
調査の方向性
まず updatePointCloud() と addPointCloud() を convertPointCloudToVTKPolyData() まで追跡してください。ここでは現在、3つの 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時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
needs-format
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Niko1221/Strata#6251 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
metasequoiaime/msime#11666 ·
メンテナーはふだん 1 日以内に返信
-
DAE2 crashes on call.without.effects with a non ref.func expression対応中かも @stevenfontanella が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
WebAssembly/binaryen#9404 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
CodeZombie/goodluckOS#178 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
CVO-Org/immersive-cigs-rewrite#313 ·
メンテナーはふだん 1 日以内に返信