| ColorMomentHashCompute Method |
Computes color moment hash of the input, the algorithm is come from the paper "Perceptual Hashing for Color Images Using Invariant Moments"
Namespace:
OpenCvSharp.ImgHash
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public override void Compute(
InputArray inputArr,
OutputArray outputArr
)
Public Overrides Sub Compute (
inputArr As InputArray,
outputArr As OutputArray
)
public:
virtual void Compute(
InputArray^ inputArr,
OutputArray^ outputArr
) override
abstract Compute :
inputArr : InputArray *
outputArr : OutputArray -> unit
override Compute :
inputArr : InputArray *
outputArr : OutputArray -> unit
Parameters
- inputArr
- Type: OpenCvSharpInputArray
input image want to compute hash value, type should be CV_8UC4, CV_8UC3 or CV_8UC1. - outputArr
- Type: OpenCvSharpOutputArray
42 hash values with type CV_64F(double)
Return Value
Type:
See Also