Skip to content

reg_MapTypeCaster_toAffine

regfunctionOpenCV 5.0.0
import { reg_MapTypeCaster_toAffine } from '@banou/opencv-wasm'

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

ARGUMENTSsourceMap
FUNCTIONreg_MapTypeCaster_toAffine
RETURN TYPEreg_MapAffine | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Cast a native registration map to the Affine map interface. The input must contain that map implementation; dispose the returned handle.

reg_MapTypeCaster_toAffine(sourceMap: reg_Map | null): reg_MapAffine | null;
sourceMap

source map argument (reg_Map | null).

Returns

The reg_MapAffine | null 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.