1 | initial version |
Typically ICP (Iterative Closest Point) algorithm is used to solve such a problem. As far as I know, there exist no ICP in OpenCV. If you can use Point Cloud Library in your project, you can easily adapt the code from the ICP tutorial on the PCL website (see here) to solve your problem.