Skip to content

sfm_preconditionerFromPoints

sfmfunctionOpenCV 5.0.0
import { sfm_preconditionerFromPoints } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSpoints, T
FUNCTIONsfm_preconditionerFromPoints
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Point conditioning (non isotropic).

sfm_preconditionerFromPoints(points: Mat, T: Mat): void;
points

Input vector of N-dimensional points.

T

Output 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.