Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is an implementation of Iterative Closest Point (ICP) available in R?

Tags:

r

curve

Does someone have an implementation of Iterative Closest Point (ICP) algorithm for two dimensions (2D) in R?

Here is an attempt in c#
Iterative Closest Point Implementation
Here is a more general question
iterative closest point library

This is to match two sets of points through translation and scaling.

like image 749
Etienne Low-Décarie Avatar asked May 31 '12 14:05

Etienne Low-Décarie


2 Answers

Spacedman's comment is probably best. You might also take a look at http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=12627&objectType=file for a matlab implementation. Assuming it works ok, translating Matlab to R code is relatively easy.

like image 83
Carl Witthoft Avatar answered Sep 18 '22 22:09

Carl Witthoft


This is somewhat of an answer in the form of a non-answer.

There are many variants of ICP. The design choices are at least partially organized by the late 90's Ph.D. work of Pulli and by Rusinkiewicz & Levoy. If you're going to be using ICP for anything remotely important (translation: "more than just a class assignment"), you should understand the tradeoffs.

Thus, it's probably best to take one of the existing implementations and port it to R.

like image 41
Chris A. Avatar answered Sep 17 '22 22:09

Chris A.