siavashk / pycpd

Pure Numpy Implementation of the Coherent Point Drift Algorithm
MIT License
513 stars 115 forks source link

bug in pycpd/rigid_registration.py #21

Closed Kai-46 closed 5 years ago

Kai-46 commented 5 years ago

I believe that line 41 should be return self.s np.dot(Y, self.R) + np.tile(self.t, (Y.shape[0], 1)) instead of the current return self.s np.dot(Y, self.R) + np.tile(np.transpose(self.t), (Y.shape[0], 1))

siavashk commented 5 years ago

Good catch. I have been refactoring things and I missed this one.

siavashk commented 5 years ago

Fixed in 18fec52b9e43dda9684a770f11d1400c15dc5c09.

siavashk commented 5 years ago

I have also added you to THANKS.txt.