reg_MapTypeCaster
import { reg_MapTypeCaster } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Converts a pointer to a Map returned by MapperPyramid::calculate into the specified Map pointer type
Constructors and members
static toAffine
Cast a native registration map to the Affine map interface. The input must contain that map implementation; dispose the returned handle.
toAffine(sourceMap: reg_Map | null): reg_MapAffine | null;sourceMapsource map argument (reg_Map | null).
The reg_MapAffine | null result.
static toProjec
Cast a native registration map to the Projec map interface. The input must contain that map implementation; dispose the returned handle.
toProjec(sourceMap: reg_Map | null): reg_MapProjec | null;sourceMapsource map argument (reg_Map | null).
The reg_MapProjec | null result.
static toShift
Cast a native registration map to the Shift map interface. The input must contain that map implementation; dispose the returned handle.
toShift(sourceMap: reg_Map | null): reg_MapShift | null;sourceMapsource map argument (reg_Map | null).
The reg_MapShift | null result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
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.