OpenCV 4.5.3(日本語機械翻訳)
radial_variance_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_RADIAL_VARIANCE_HASH_HPP
6 #define OPENCV_RADIAL_VARIANCE_HASH_HPP
7
8 #include "img_hash_base.hpp"
9
10 namespace cv {
11 namespace img_hash {
12
15
16
21 class CV_EXPORTS_W RadialVarianceHash : public ImgHashBase
22{
23 public:
24 CV_WRAP static Ptr<RadialVarianceHash> create(double sigma = 1, int numOfAngleLine = 180);
25
26 CV_WRAP int getNumOfAngleLine() const;
27 CV_WRAP double getSigma() const;
28
29 CV_WRAP void setNumOfAngleLine(int value);
30 CV_WRAP void setSigma(double value);
31
32 // internals
33 std::vector<double> getFeatures();
34 cv::Mat getHash();
35 Mat getPixPerLine(Mat const &input);
36 Mat getProjection();
37 protected:
39};
40
48 CV_EXPORTS_W void radialVarianceHash(cv::InputArray inputArr,
49 cv::OutputArray outputArr,
50 double sigma = 1,
51 int numOfAngleLine = 180);
52
53
55
56}} // cv::img_hash::
57
58 #endif // OPENCV_RADIAL_VARIANCE_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
n-dimensional dense array class
Definition: mat.hpp:802
The base class for image hash algorithms
Definition: img_hash_base.hpp:19
Image hash based on Radon transform.
Definition: radial_variance_hash.hpp:22
CV_EXPORTS_W void radialVarianceHash(cv::InputArray inputArr, cv::OutputArray outputArr, double sigma=1, int numOfAngleLine=180)
Computes radial variance hash of the input image
cv
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74