Skip to content

sfm_euclideanToHomogeneous

sfmfunctionOpenCV 5.0.0
import { sfm_euclideanToHomogeneous } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSsrc, dst
FUNCTIONsfm_euclideanToHomogeneous
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Converts points from Euclidean to homogeneous space. E.g., ((x,y)->(x,y,1))

sfm_euclideanToHomogeneous(src: Mat, dst: Mat): void;
src

Input vector of N-dimensional points.

dst

Output destination, filled by the native operation. Output vector of N+1-dimensional points.

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.