You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the function that takes only 3 points and returns the matrix -> this should indeed go to affine-transform
the function that takes more than 3 points and that returns the best fitting transform (using ransac) -> put that in image-js-ts?
Currently for the partial affine transform, point 2 is made in image-js-ts, but I feel that it would be nearly more intuitive to have the function fitting N points in affine-transform as well. Indeed this function is completely unrelated to images.
This would imply migrating some of the code from image-js-ts to ml-affine-transform, which would then have ml-ransac as a dependency.
I'd be fine migrating code from image-js to ml-affine-transform, especially since the existing getAffineTransform function over there already takes many points (not just 3).
We want a function that takes in two sets of N points and returns the best 2x3 transformation matrix between them.
image
https://nghiaho.com/?p=2208
We need a minimum of 3 points to get the affine transform. The best affine transform can then be found using RANSAC.
The text was updated successfully, but these errors were encountered: