[registration] icp with TransformationEstimationPointToPlane can not give right result.
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp
調査の方向性
Issue のコード、レポートにリンクされている PCD ファイル、および Windows 上の PCL 1.14.1.99 を使用して結果を再現してください。まず pcl/registration/icp.h と pcl/registration/transformation_estimation_point_to_plane.h から始め、次に point-to-plane メソッドとその収束出力を比較してください。メソッドが単位行列を返す理由を特定し、再現可能な検証によってその動作を文書化または修正できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
If icp uses TransformationEstimationPointToPlane as the transformation estimation method, meaningless results will be obtained
I am testing to compare the performance of different ICP methods.
Currently, PCL has an ICPWithNormals type, which is based on the PointToPlane principle of LLS. There are also two other transformation estimation methods based on PointToPlane that are based on LM, but I tried these two methods and could not get meaningful results , only an identity matrix.
My code:
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/registration/icp.h>
#include <pcl/registration/transformation_estimation_point_to_plane.h>
#include <iostream>
int main(int argc, char **argv) {
pcl::PointCloud<pcl::PointNormal>::Ptr source_cloud(
new pcl::PointCloud<pcl::PointNormal>);
pcl::PointCloud<pcl::PointNormal>::Ptr target_cloud(
new pcl::PointCloud<pcl::PointNormal>);
pcl::io::loadPCDFile<pcl::PointNormal>("D:\\program_on_git\\own\\test\\pcl_test\\source\\normalcloud1.pcd", *source_cloud);
pcl::io::loadPCDFile<pcl::PointNormal>("D:\\program_on_git\\own\\test\\pcl_test\\source\\normalcloud2.pcd", *target_cloud) ;
pcl::IterativeClosestPoint<pcl::PointNormal, pcl::PointNormal> icp;
icp.setInputSource(source_cloud);
icp.setInputTarget(target_cloud);
icp.setTransformationEstimation(std::make_shared<pcl::registration::TransformationEstimationPointToPlane<pcl::PointNormal, pcl::PointNormal>>());
std::cout << "transformation epsilon: " << icp.getTransformationEpsilon()
<< std::endl;
std::cout << "euclidean fitness epsilon: " << icp.getEuclideanFitnessEpsilon()
<< std::endl;
pcl::PointCloud<pcl::PointNormal> Final;
icp.align(Final);
std::cout << "has converged:" << icp.hasConverged() << std::endl;
std::cout << "score: " << icp.getFitnessScore() << std::endl;
std::cout << icp.getFinalTransformation() << std::endl;
return 0;
}
my file: https://ufile.io/f/vpq0a
result:
transformation epsilon: 0
euclidean fitness epsilon: -1.79769e+308
has converged:1
score: 24.1359
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
Your Environment (please complete the following information):
OS: Windows 10
Compiler: MSVC 2022
PCL Version 1.14.1.99(https://github.com/PointCloudLibrary/pcl/commit/2d5101a59b75551f5300b78586b5521d006aa5cf)
GPU:1060 6GB
- 主要言語
- 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 日以内に返信