Skip to content

detail_createWeightMap

stitchingfunctionOpenCV 5.0.0
import { detail_createWeightMap } from '@banou/opencv-wasm'

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

ARGUMENTSmask, sharpness, weight
FUNCTIONdetail_createWeightMap
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Create an owned void instance with the supplied configuration.

detail_createWeightMap(mask: Mat, sharpness: number, weight: Mat): void;
mask

mask argument (Mat).

sharpness

sharpness argument (number).

weight

Input/output value, modified by the native operation. weight argument (Mat).

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.