Class MarrHildrethHash
- Namespace
- OpenCvSharp.ImgHash
- Assembly
- OpenCvSharp.dll
Base class for high-level OpenCV algorithms
public class MarrHildrethHash : ImgHashBase, IDisposable, ICvPtrHolder
- Inheritance
-
MarrHildrethHash
- Implements
- Inherited Members
Constructors
MarrHildrethHash(nint)
protected MarrHildrethHash(nint p)
Parameters
pnint
Properties
Alpha
int scale factor for marr wavelet (default=2).
public float Alpha { get; set; }
Property Value
Scale
int level of scale factor (default = 1)
public float Scale { get; set; }
Property Value
Methods
Compute(InputArray, OutputArray)
Computes hash of the input image
public override void Compute(InputArray inputArr, OutputArray outputArr)
Parameters
inputArrInputArrayinput image want to compute hash value
outputArrOutputArrayhash of the image
Create(float, float)
Create BlockMeanHash object
public static MarrHildrethHash Create(float alpha = 2, float scale = 1)
Parameters
alphafloatint scale factor for marr wavelet (default=2).
scalefloatint level of scale factor (default = 1)
Returns
DisposeManaged()
Releases managed resources
protected override void DisposeManaged()
SetKernelParam(float, float)
public void SetKernelParam(float alpha = 2, float scale = 1)