Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOW TO USE #13

Open
mahdipo opened this issue Feb 2, 2020 · 0 comments
Open

HOW TO USE #13

mahdipo opened this issue Feb 2, 2020 · 0 comments

Comments

@mahdipo
Copy link

mahdipo commented Feb 2, 2020

Hi Thanks a lot for this grate wrapper.
i tried to use icp to register pointcloud but its diffrent to use with original pcl library c++.
for example in original pcl :

Eigen::Matrix4f Ti = Eigen::Matrix4f::Identity (), prev, targetToSource;
PointCloudWithNormals::Ptr reg_result = points_with_normals_src;
reg.setMaximumIterations (2);
for (int i = 0; i < 30; ++i)
{
PCL_INFO ("Iteration Nr. %d.\n", i);

// save cloud for visualization purpose
points_with_normals_src = reg_result;

// Estimate
reg.setInputSource (points_with_normals_src);
reg.align (*reg_result);

	//accumulate transformation between each Iteration
Ti = reg.getFinalTransformation () * Ti;

1-how to get from reg.FinalTransformation, position rotation and scale ?
2-in c# i cant multiply matrix4f*matrix4f (line "Ti = reg.getFinalTransformation () * Ti")
3-i cant find reg.hasConverged() !!!
4-where can i find a complete example use of registerationof point clouds and reconstruction mesh from that in pclsharp?

please help me.
thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant