Class RadialVarianceHash
Image hash based on Radon transform.
Inheritance
System.Object
RadialVarianceHash
Implements
Inherited Members
Namespace: OpenCvSharp.ImgHash
Assembly: OpenCvSharp.dll
Syntax
public class RadialVarianceHash : ImgHashBase, ICvPtrHolder
Constructors
| Improve this Doc View SourceRadialVarianceHash(IntPtr)
Declaration
protected RadialVarianceHash(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | p |
Properties
| Improve this Doc View SourceNumOfAngleLine
The number of angles to consider
Declaration
public int NumOfAngleLine { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Sigma
Gaussian kernel standard deviation
Declaration
public double Sigma { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceCompute(InputArray, OutputArray)
Computes average hash value of the input image
Declaration
public override void Compute(InputArray inputArr, OutputArray outputArr)
Parameters
Type | Name | Description |
---|---|---|
InputArray | inputArr | input image want to compute hash value, type should be CV_8UC4, CV_8UC3, CV_8UC1. |
OutputArray | outputArr | Hash value of input |
Overrides
| Improve this Doc View SourceCreate(Double, Int32)
Create BlockMeanHash object
Declaration
public static RadialVarianceHash Create(double sigma = 1, int numOfAngleLine = 180)
Parameters
Type | Name | Description |
---|---|---|
System.Double | sigma | Gaussian kernel standard deviation |
System.Int32 | numOfAngleLine | The number of angles to consider |
Returns
Type | Description |
---|---|
RadialVarianceHash |
DisposeManaged()
Releases managed resources
Declaration
protected override void DisposeManaged()