Class cv::img_hash::BlockMeanHash#
Image hash based on block mean. View details
#include <opencv2/img_hash/block_mean_hash.hpp>Collaboration diagram for cv::img_hash::BlockMeanHash:
Public Member Functions#
Public Member Functions inherited from cv::img_hash::ImgHashBase
Return |
Name |
Description |
|---|---|---|
|
Compare the hash value between inOne and inTwo. |
|
|
|
Computes hash of the input image. |
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::img_hash::ImgHashBase
Return |
Name |
Description |
|---|---|---|
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Protected Attributes inherited from cv::img_hash::ImgHashBase
Detailed Description#
Image hash based on block mean.
See zauner2010implementation for details.
Constructor & Destructor Documentation#
BlockMeanHash()#
cv::img_hash::BlockMeanHash::BlockMeanHash()
Member Function Documentation#
getMean()#
std::vector< double > cv::img_hash::BlockMeanHash::getMean()
Python:
cv.img_hash.BlockMeanHash.getMean() -> retval
setMode()#
void cv::img_hash::BlockMeanHash::setMode(int mode)
Python:
cv.img_hash.BlockMeanHash.setMode(mode)
Create BlockMeanHash object.
Parameters
mode— the mode
create()#
static Ptr< BlockMeanHash > cv::img_hash::BlockMeanHash::create(int mode = BLOCK_MEAN_HASH_MODE_0)
Python:
cv.img_hash.BlockMeanHash.create([, mode]) -> retval
cv.img_hash.BlockMeanHash_create([, mode]) -> retval
Source file#
The documentation for this class was generated from the following file:
opencv2/img_hash/block_mean_hash.hpp