Skip to content

sfm_essentialFromFundamental

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

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

ARGUMENTSF, K1, K2, E
FUNCTIONsfm_essentialFromFundamental
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Get Essential matrix from Fundamental and Camera matrices.

sfm_essentialFromFundamental(F: Mat, K1: Mat, K2: Mat, E: Mat): void;
F

Input 3x3 fundamental matrix.

K1

Input 3x3 first camera matrix K = \vecthreethree{f_x}{0}{c_x}{0}{f_y}{c_y}{0}{0}{1}.

K2

Input 3x3 second camera matrix. The parameters are similar to K1.

E

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

Reference: [HartleyZ00] 9.6 pag 257 (formula 9.12)

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.