sfm_essentialFromRt
import { sfm_essentialFromRt } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSR1, t1, R2, t2
FUNCTIONsfm_essentialFromRt
RETURN TYPEvoid
Get Essential matrix from Motion (R's and t's ).
sfm_essentialFromRt(R1: Mat, t1: Mat, R2: Mat, t2: Mat, E: Mat): void;R1Input 3x3 first camera rotation matrix.
t1Input 3x1 first camera translation vector.
R2Input 3x3 second camera rotation matrix.
t2Input 3x1 second camera translation vector.
EOutput 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.