Skip to content

sfm_projectionsFromFundamental

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

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

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

Get projection matrices from Fundamental matrix

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

Input 3x3 fundamental matrix.

P1

Output destination, filled by the native operation. Output 3x4 one possible projection matrix.

P2

Output destination, filled by the native operation. Output 3x4 another possible projection 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.