Skip to content

img_hash_radialVarianceHash

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

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

ARGUMENTSinputArr, outputArr, sigma, numOfAngleLine
FUNCTIONimg_hash_radialVarianceHash
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Computes radial variance hash of the input image

img_hash_radialVarianceHash(inputArr: Mat, outputArr: Mat, sigma: number, numOfAngleLine: number): void;
3 available overloads
img_hash_radialVarianceHash(inputArr: Mat, outputArr: Mat): void;
img_hash_radialVarianceHash(inputArr: Mat, outputArr: Mat, sigma: number): void;
img_hash_radialVarianceHash(inputArr: Mat, outputArr: Mat, sigma: number, numOfAngleLine: number): void;
inputArr

input image want to compute hash value, type should be CV_8UC4, CV_8UC3, CV_8UC1.

outputArr

Output destination, filled by the native operation. Hash value of input

sigma

Gaussian kernel standard deviation

numOfAngleLine

The number of angles to consider

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.