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
hashOneInputArrayHash value one
hashTwoInputArrayHash 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
inputArrInputArrayinput image want to compute hash value
outputArrOutputArrayhash of the image