Skip to content

img_hash_MarrHildrethHash_create

img_hashfunctionOpenCV 5.0.0
import { img_hash_MarrHildrethHash_create } from '@banou/opencv-wasm'

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

ARGUMENTSalpha, scale
FUNCTIONimg_hash_MarrHildrethHash_create
RETURN TYPEimg_hash_MarrHildrethHash | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Create an owned img_hash_MarrHildrethHash instance with the supplied configuration.

Marr-Hildreth Operator Based Hash, slowest but more discriminative.

img_hash_MarrHildrethHash_create(alpha: number, scale: number): img_hash_MarrHildrethHash | null;
3 available overloads
img_hash_MarrHildrethHash_create(): img_hash_MarrHildrethHash | null;
img_hash_MarrHildrethHash_create(alpha: number): img_hash_MarrHildrethHash | null;
img_hash_MarrHildrethHash_create(alpha: number, scale: number): img_hash_MarrHildrethHash | null;
alpha

int scale factor for marr wavelet (default=2).

scale

int level of scale factor (default = 1)

Returns

The img_hash_MarrHildrethHash | 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.