Table of Contents

Class ImgHashBase

Namespace
OpenCvSharp.ImgHash
Assembly
OpenCvSharp.dll

Base class for high-level OpenCV algorithms

public abstract class ImgHashBase : Algorithm, IDisposable, ICvPtrHolder
Inheritance
ImgHashBase
Implements
Derived
Inherited Members

Methods

Compare(InputArray, InputArray)

Compare the hash value between inOne and inTwo

public virtual double Compare(InputArray hashOne, InputArray hashTwo)

Parameters

hashOne InputArray

Hash value one

hashTwo InputArray

Hash value two

Returns

double

value indicate similarity between inOne and inTwo, the meaning of the value vary from algorithms to algorithms

Compute(InputArray, OutputArray)

Computes hash of the input image

public virtual void Compute(InputArray inputArr, OutputArray outputArr)

Parameters

inputArr InputArray

input image want to compute hash value

outputArr OutputArray

hash of the image