sfm_depth
import { sfm_depth } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSR, t, X
FUNCTIONsfm_depth
RETURN TYPEnumber
Returns the depth of a point transformed by a rigid transform.
sfm_depth(R: Mat, t: Mat, X: Mat): number;RInput 3x3 rotation matrix.
tInput 3x1 translation vector.
XInput 3x1 or 4x1 vector with the 3d point.
Returns
The number result.
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.