Skip to content

sfm_applyTransformationToPoints

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

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

ARGUMENTSpoints, T, transformed_points
FUNCTIONsfm_applyTransformationToPoints
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Apply Transformation to points.

sfm_applyTransformationToPoints(points: Mat, T: Mat, transformed_points: Mat): void;
points

Input vector of N-dimensional points.

T

Input 3x3 transformation matrix such that x = T*X, where X are the points to transform and x the transformed points.

transformed_points

Output destination, filled by the native operation. Output vector of N-dimensional transformed 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.