Skip to content

rapid_convertCorrespondencies

rapidfunctionOpenCV 5.0.0
import { rapid_convertCorrespondencies } from '@banou/opencv-wasm'

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

ARGUMENTScols, srcLocations, pts2d, pts3d
FUNCTIONrapid_convertCorrespondencies
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Collect corresponding 2d and 3d points based on correspondencies and mask

rapid_convertCorrespondencies(cols: Mat, srcLocations: Mat, pts2d: Mat, pts3d: Mat, mask: Mat): void;
3 available overloads
rapid_convertCorrespondencies(cols: Mat, srcLocations: Mat, pts2d: Mat): void;
rapid_convertCorrespondencies(cols: Mat, srcLocations: Mat, pts2d: Mat, pts3d: Mat): void;
rapid_convertCorrespondencies(cols: Mat, srcLocations: Mat, pts2d: Mat, pts3d: Mat, mask: Mat): void;
cols

correspondence-position per line in line-bundle-space

srcLocations

the source image location

pts2d

Output destination, filled by the native operation. 2d points

pts3d

Input/output value, modified by the native operation. 3d points

mask

mask containing non-zero values for the elements to be retained

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.