Given two corresponding sets of 2D points A and B, find and apply an optimal transformation matrix to bring set A as close as possible to set B.
- fit_transform implements full Kabsch algorithm for datasets where
N >= 3 - closeness of sets is understood as RMSD
- this implementation focuses on 2D points only, but can be easily generalised to support more dimensions
fitTransform(A, B) -> A'-- returns a transformed datasetkabsch(A, B) -> C-- returns an optimal rotation matrix
npm install fit_transform
yarn
yarn build
yarn test
cd examples/
python -m SimpleHTTPServer
See also examples


