Skip to content

sfm_fundamentalFromProjections

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

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

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

Get Fundamental matrix from Projection matrices.

sfm_fundamentalFromProjections(P1: Mat, P2: Mat, F: Mat): void;
P1

Input 3x4 first projection matrix.

P2

Input 3x4 second projection matrix.

F

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

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.