1.2.0 • Published 2 years ago
kabschjs v1.2.0
kabschjs
A simple library to compute rigid transformation matrix between two point sets. Implements kabsch algorithm as explained in https://en.wikipedia.org/wiki/Kabsch_algorithm to compute rotation matrix. By default, utilizes gpu if webgl is supported.
usage
import { getRigidTransformation } from 'kabschjs';
const setA = [ [1,2,3], [4,5,6] ];
const setB = [ [11,12,13], [14,15,16] ];
const [R, T] = getRigidTransformation(setA, setB);
installation
npm install kabschjs