Show / Hide Table of Contents

Class ColorMomentHash

Image hash based on color moments.

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
ImgHashBase
ColorMomentHash
Implements
ICvPtrHolder
Inherited Members
ImgHashBase.Compare(InputArray, InputArray)
Algorithm.Write(FileStorage)
Algorithm.Read(FileNode)
Algorithm.Empty
Algorithm.Save(String)
Algorithm.GetDefaultName()
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp.ImgHash
Assembly: OpenCvSharp.dll
Syntax
public class ColorMomentHash : ImgHashBase, ICvPtrHolder

Constructors

| Improve this Doc View Source

ColorMomentHash(IntPtr)

Declaration
protected ColorMomentHash(IntPtr p)
Parameters
Type Name Description
IntPtr p

Methods

| Improve this Doc View Source

Compute(InputArray, OutputArray)

Computes color moment hash of the input, the algorithm is come from the paper "Perceptual Hashing for Color Images Using Invariant Moments"

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 or CV_8UC1.

OutputArray outputArr

42 hash values with type CV_64F(double)

Overrides
ImgHashBase.Compute(InputArray, OutputArray)
| Improve this Doc View Source

Create()

Constructor

Declaration
public static ColorMomentHash Create()
Returns
Type Description
ColorMomentHash
| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
DisposableObject.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()
| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX