Closed tlambert03 closed 7 years ago
Thanks. I will look into it today.
Fixed in 3ddd79e9445b89cdcd3cdc8135c3477fe4f7eb63
By the way, I would be happy to review any of your pull requests for fixing bugs and adding more features. There is a Thanks.txt file which reflects those that have contributed to the repository.
registrations cannot be repeated because self.t changes shape during processing.
self.t.shape == (1,3)
after__init__
, butself.t.shape == (3,)
afterself.register()
,so repeat calls to
self.register()
givesValueError: operands could not be broadcast together with shapes
in the line:self.TY = self.s * np.dot(self.Y, np.transpose(self.R)) + np.repeat(self.t, self.M, axis=0)
(or the corresponding line in affine_registration)