gadomski / cpd

C++ implementation of the Coherent Point Drift point set registration algorithm.
http://www.gadom.ski/cpd
GNU General Public License v2.0
385 stars 122 forks source link

Velocity field #127

Open tractatus opened 6 years ago

tractatus commented 6 years ago

thanks for a great C++ implementation! Everything is running smooth for me but I had some questions. Haven't gone in detail of the code yet (sitting with it next to the original matlab implementation) but is there a member function for obtaining the velocity field for any given set of points given by a 2D matrix?

Would be highly useful but have a hard time finding where in the code that would be done. Maybe a pointer to where I should start looking in the code.

As thanks I can contribute some more examples and tutorials. I have successfully written a wrapper of cpd to R for some basic functionality using Rcpp which might help the scientific community to adopt the C++ library faster.

gadomski commented 6 years ago

is there a member function for obtaining the velocity field for any given set of points given by a 2D matrix?

No, but you could subtract the original points from the registered points to get the displacement?

I have successfully written a wrapper of cpd to R for some basic functionality using Rcpp which might help the scientific community to adopt the C++ library faster.

Can you point me to this code? This is great!

PS sorry about the delay getting back, was in other software worlds for a while :-)