Skip to content

sfm_normalizedEightPointSolver

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

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

ARGUMENTSx1, x2, F
FUNCTIONsfm_normalizedEightPointSolver
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Estimate the fundamental matrix between two dataset of 2D point (image coords space).

sfm_normalizedEightPointSolver(x1: Mat, x2: Mat, F: Mat): void;
x1

Input 2xN Array of 2D points in view 1.

x2

Input 2xN Array of 2D points in view 2.

F

Output destination, filled by the native operation. Output 3x3 fundamental matrix.

Uses the normalized 8-point fundamental matrix solver. Reference: [HartleyZ00] 11.2 pag.281 (x1 = x, x2 = x')

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.