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

bug in the rigid::compute method #88

Closed Phan-Anh-Fiagon closed 7 years ago

Phan-Anh-Fiagon commented 7 years ago

result.points = result.scale moving result.rotation.transpose() + result.translation.transpose().replicate(moving.rows(), 1); it must be moving.rows() instead of fixed.rows()