sfm_preconditionerFromPoints
import { sfm_preconditionerFromPoints } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSpoints, T
FUNCTIONsfm_preconditionerFromPoints
RETURN TYPEvoid
Point conditioning (non isotropic).
sfm_preconditionerFromPoints(points: Mat, T: Mat): void;pointsInput vector of N-dimensional points.
TOutput destination, filled by the native operation. Output 3x3 transformation matrix.
Computes the transformation matrix such that the two principal moments of the set of points are equal to unity, forming an approximately symmetric circular cloud of points of radius 1 about the origin.\n Reference: [HartleyZ00] 4.4.4 pag.109
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.