sfm_fundamentalFromEssential
import { sfm_fundamentalFromEssential } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSE, K1, K2, F
FUNCTIONsfm_fundamentalFromEssential
RETURN TYPEvoid
Get Essential matrix from Fundamental and Camera matrices.
sfm_fundamentalFromEssential(E: Mat, K1: Mat, K2: Mat, F: Mat): void;EInput 3x3 essential matrix.
K1Input 3x3 first camera matrix
K = \vecthreethree{f_x}{0}{c_x}{0}{f_y}{c_y}{0}{0}{1}.K2Input 3x3 second camera matrix. The parameters are similar to K1.
FOutput destination, filled by the native operation. Output 3x3 fundamental matrix.
Reference: [HartleyZ00] 9.6 pag 257 (formula 9.12) or http://ai.stanford.edu/~birch/projective/node20.html
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.