5#ifndef OPENCV_BLOCK_MEAN_HASH_HPP
6#define OPENCV_BLOCK_MEAN_HASH_HPP
8#include "img_hash_base.hpp"
32 CV_WRAP
void setMode(
int mode);
33 CV_WRAP std::vector<double> getMean()
const;
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:295
Image hash based on block mean.
Definition: block_mean_hash.hpp:27
The base class for image hash algorithms
Definition: img_hash_base.hpp:19
CV_EXPORTS_W void blockMeanHash(cv::InputArray inputArr, cv::OutputArray outputArr, int mode=BLOCK_MEAN_HASH_MODE_0)
Computes block mean hash of the input image
BlockMeanHashMode
Definition: block_mean_hash.hpp:17
@ BLOCK_MEAN_HASH_MODE_0
use fewer block and generate 16*16/8 uchar hash value
Definition: block_mean_hash.hpp:18
@ BLOCK_MEAN_HASH_MODE_1
use block blocks(step sizes/2), generate 31*31/8 + 1 uchar hash value
Definition: block_mean_hash.hpp:19
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74