sfm_motionFromEssential
import { sfm_motionFromEssential } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSE, Rs, ts
FUNCTIONsfm_motionFromEssential
RETURN TYPEvoid
Get Motion (R's and t's ) from Essential matrix.
sfm_motionFromEssential(E: Mat, Rs: MatVector, ts: MatVector): void;EInput 3x3 essential matrix.
RsOutput destination, filled by the native operation. Output vector of 3x3 rotation matrices.
tsOutput destination, filled by the native operation. Output vector of 3x1 translation vectors.
Reference: [HartleyZ00] 9.6 pag 259 (Result 9.19)
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.