Moving-Least-Squares
Moving-Least-Squares copied to clipboard
Overflow Error with mls_rigid_deformation
Hi there,
There is an overflow error, using np.int16 is not enough in this function, which was leading to errors when running on mac or black pixels at the centre of anchor points when using it on Windows.
When I updated it to the following: q = np.ascontiguousarray(q[:, [1, 0]].astype(np.int32)) p = np.ascontiguousarray(p[:, [1, 0]].astype(np.int32))
I saw that the issue was solved.
Deal with this information however you want!
Best, Rob