Skip to content

point-cloud registeration using Iterative closest point algorithm

License

Notifications You must be signed in to change notification settings

SohilZidan/point-cloud-registration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

point-cloud-registration

build License: MIT

A C++ implementation for Iterative Closest Point algorithm:

  • Robust ICP
  • Trimmed ICP

reading point cloud:

It is only working with .ply extension using the function readPointCloud(const std::string filename) which returns an Eigen::Matrix<float, nSamples, 3> object.

ICP:

  1. Create an object of icp::Icp or icp::TrIcp with the required arguments:
icp::PointCloud P, M;  
icp::Icp robusticp(P,M);  
  1. run the algorithm
robusticp.run();
  1. performance measurement:
    icp::Icp.getIter(): #iteration taken for until convergence
    icp::Icp.getNpo(): last #trimmedpoints considered in computations
    icp::Icp.getSts(): sum of squared distances
    icp::Icp.getMse(): mean squared error or Sts/Npo
    icp::Icp.getR(): an accumulated 3X3 rotation matrix
    icp::Icp.rotationError(Eigen::Matrix3f R): computes the rotation error given a ground truth rotation
    icp::Icp.getT(): an accumulated Eigen::Vector3f translation vector

NOTE: performance results are provided here

About

point-cloud registeration using Iterative closest point algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published