OpenCV 4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::img_hash Namespace Reference

Classes

class  AverageHash
 Computes average hash value of the input image. More...
 
class  BlockMeanHash
 Image hash based on block mean. More...
 
class  ColorMomentHash
 Image hash based on color moments. More...
 
class  ImgHashBase
 The base class for image hash algorithms. More...
 
class  MarrHildrethHash
 Marr-Hildreth Operator Based Hash, slowest but more discriminative. More...
 
class  PHash
 pHash More...
 
class  RadialVarianceHash
 Image hash based on Radon transform. More...
 

Enumerations

enum  BlockMeanHashMode {
  BLOCK_MEAN_HASH_MODE_0 = 0 ,
  BLOCK_MEAN_HASH_MODE_1 = 1
}
 

Functions

void averageHash (cv::InputArray inputArr, cv::OutputArray outputArr)
 Calculates img_hash::AverageHash in one call.
 
void blockMeanHash (cv::InputArray inputArr, cv::OutputArray outputArr, int mode=BLOCK_MEAN_HASH_MODE_0)
 Computes block mean hash of the input image.
 
void colorMomentHash (cv::InputArray inputArr, cv::OutputArray outputArr)
 Computes color moment hash of the input, the algorithm is come from the paper "Perceptual Hashing for Color Images Using Invariant Moments".
 
void marrHildrethHash (cv::InputArray inputArr, cv::OutputArray outputArr, float alpha=2.0f, float scale=1.0f)
 Computes average hash value of the input image.
 
void pHash (cv::InputArray inputArr, cv::OutputArray outputArr)
 Computes pHash value of the input image.
 
void radialVarianceHash (cv::InputArray inputArr, cv::OutputArray outputArr, double sigma=1, int numOfAngleLine=180)
 Computes radial variance hash of the input image.