OpenCV453
average_hash.hpp
1// This file is part of OpenCV project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://opencv.org/license.html.
4
5#ifndef OPENCV_AVERAGE_HASH_HPP
6#define OPENCV_AVERAGE_HASH_HPP
7
8#include "img_hash_base.hpp"
9
10namespace cv {
11namespace img_hash {
12
15
21class CV_EXPORTS_W AverageHash : public ImgHashBase
22{
23public:
24 CV_WRAP static Ptr<AverageHash> create();
25protected:
26 AverageHash() {}
27};
28
33CV_EXPORTS_W void averageHash(cv::InputArray inputArr, cv::OutputArray outputArr);
34
36
37}} // cv::img_hash::
38
39#endif // OPENCV_AVERAGE_HASH_HPP
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:295
Computes average hash value of the input image
Definition: average_hash.hpp:22
The base class for image hash algorithms
Definition: img_hash_base.hpp:19
CV_EXPORTS_W void averageHash(cv::InputArray inputArr, cv::OutputArray outputArr)
Calculates img_hash::AverageHash in one call
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74