Table of Contents

Class ImgHashBase

Namespace
Emgu.CV.ImgHash
Assembly
Emgu.CV.dll

The Image Hash base class

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

Constructors

ImgHashBase()

protected ImgHashBase()

Fields

_imgHashBase

The pointer to the ImgHashBase object

protected nint _imgHashBase

Field Value

nint

Properties

ImgHashBasePtr

Get the pointer to the ImgHashBase object

public nint ImgHashBasePtr { get; }

Property Value

nint

The pointer to the ImgHashBase object

Methods

Compare(IInputArray, IInputArray)

Compare the hash value between inOne and inTwo

public double Compare(IInputArray hashOne, IInputArray hashTwo)

Parameters

hashOne IInputArray

Hash value one

hashTwo IInputArray

Hash value two

Returns

double

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

Compute(IInputArray, IOutputArray)

Computes hash of the input image

public void Compute(IInputArray inputArr, IOutputArray outputArr)

Parameters

inputArr IInputArray

input image to compute hash value

outputArr IOutputArray

hash of the image

DisposeObject()

Reset the pointers

protected override void DisposeObject()