depthTo3dSparse
import { depthTo3dSparse } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSdepth, in_K, in_points, points3d
FUNCTIONdepthTo3dSparse
RETURN TYPEvoid
depthTo3dSparse native operation from cv::depthTo3dSparse.
depthTo3dSparse(depth: Mat, in_K: Mat, in_points: Mat, points3d: Mat): void;depththe depth image
in_Kparam: in_points the list of xy coordinates
in_pointsin points argument (Mat).
points3dOutput destination, filled by the native operation. the resulting 3d points (point is represented by 4 chanels value [x, y, z, 0])
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.