img_hash_MarrHildrethHash_create
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
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;alphaint scale factor for marr wavelet (default=2).
scaleint 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.