img_hash_RadialVarianceHash
import { img_hash_RadialVarianceHash } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits img_hash_ImgHashBase.
Image hash based on Radon transform.
See [tang2012perceptual] for details.
Constructors and members
static create
Create an owned img_hash_RadialVarianceHash instance with the supplied configuration.
Image hash based on Radon transform.
create(sigma: number, numOfAngleLine: number): img_hash_RadialVarianceHash | null;3 available overloads
create(): img_hash_RadialVarianceHash | null;create(sigma: number): img_hash_RadialVarianceHash | null;create(sigma: number, numOfAngleLine: number): img_hash_RadialVarianceHash | null;sigmasigma argument (number).
numOfAngleLinenum of angle line argument (number).
The img_hash_RadialVarianceHash | null result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
getNumOfAngleLine
Return the num of angle line configured on this img_hash_RadialVarianceHash object.
getNumOfAngleLine(): number;The number result.
getSigma
Return the sigma configured on this img_hash_RadialVarianceHash object.
getSigma(): number;The number result.
setNumOfAngleLine
Set the num of angle line used by this img_hash_RadialVarianceHash object.
setNumOfAngleLine(value: number): void;valuevalue argument (number).
setSigma
Set the sigma used by this img_hash_RadialVarianceHash object.
setSigma(value: number): void;valuevalue argument (number).
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.