[vtkusers] About ICP and VTK

John Hsieh cthsieh2001 at yahoo.com
Mon Mar 2 22:02:58 EST 2009


Dear all,
Currently, I am working on a VC++ project that requires to fit two objects
close together ASAP.
In this project, I am trying to apply the vtk class,
vtkIterativeClosestPointTransform. 
I had surfed a lot of web sites for searching example codes or tutorials
about ICP/VTK, but got very few information. Is anyone can talk me where I
can get more information about ICP/VTK.
Actually, I had written some codes as the below, but the result is not good.


this->icpTransform->SetSource(STLReader1->GetOutput());
this->icpTransform->SetTarget(STLReader2->GetOutput());
this->icpTransform->GetLandmarkTransform()->SetModeToRigidBody();
					
this->icpTransform->SetMaximumMeanDistance(0.00001);
this->icpTransform->SetMaximumNumberOfIterations(10000);
this->icpTransform->CheckMeanDistanceOn();
this->icpTransform->SetMeanDistanceModeToRMS();
this->icpTransform->SetMaximumNumberOfLandmarks(300);

this->icpTransform->Modified();
this->icpTransform->Update();

thanks for your answering
-- 
View this message in context: http://www.nabble.com/About-ICP-and-VTK-tp22301671p22301671.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list