sfm_applyTransformationToPoints
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
Apply Transformation to points.
sfm_applyTransformationToPoints(points: Mat, T: Mat, transformed_points: Mat): void;pointsInput vector of N-dimensional points.
TInput 3x3 transformation matrix such that
x = T*X, whereXare the points to transform andxthe transformed points.transformed_pointsOutput 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.