how to use ICPRegistration in my own project
Posted: Thu Apr 20, 2023 12:29 pm
I am learning the point cloud registration algorithm these days. I found that the fine registration(icp) in cc is much better than that in PCL. So I downloaded the source code and try to use the icp algorithm. The functions related to registration include MainWindow::doActionRegister in mainwindow.cpp,CCCoreLib::ICPRegistrationTools::Register in ccRegistrationTools.cpp, and ICPRegistrationTools::Register in RegistrationTools.cpp. So I imitated the process of ccRegistrationTools::ICP, and created two PointClassTpl classes, and use function "addPoint" to get Modeldata and Clouddata. Then defined the GenericIndexedCloudPersist pointer equal to modeldata and clouddata. Removed and modified all parts that do not belong to cccorelib.The program runs normally, but the registration results obtained are poor.
Did I miss any step in registration process or set any Incorrect parameters ?
Thanks in advance for your support.
Did I miss any step in registration process or set any Incorrect parameters ?
Thanks in advance for your support.