Class cv::img_hash::MarrHildrethHash#
Marr-Hildreth Operator Based Hash, slowest but more discriminative. View details
#include <opencv2/img_hash/marr_hildreth_hash.hpp>Collaboration diagram for cv::img_hash::MarrHildrethHash:
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#
Marr-Hildreth Operator Based Hash, slowest but more discriminative.
See zauner2010implementation for details.
Constructor & Destructor Documentation#
MarrHildrethHash()#
cv::img_hash::MarrHildrethHash::MarrHildrethHash()
Member Function Documentation#
getAlpha()#
float cv::img_hash::MarrHildrethHash::getAlpha()
Python:
cv.img_hash.MarrHildrethHash.getAlpha() -> retval
self explain
getScale()#
float cv::img_hash::MarrHildrethHash::getScale()
Python:
cv.img_hash.MarrHildrethHash.getScale() -> retval
self explain
setKernelParam()#
void cv::img_hash::MarrHildrethHash::setKernelParam(
float alpha,
float scale )
Python:
cv.img_hash.MarrHildrethHash.setKernelParam(alpha, scale)
Set Mh kernel parameters.
Parameters
alpha— int scale factor for marr wavelet (default=2).scale— int level of scale factor (default = 1)
create()#
static Ptr< MarrHildrethHash > cv::img_hash::MarrHildrethHash::create(
float alpha = 2.0f,
float scale = 1.0f )
Python:
cv.img_hash.MarrHildrethHash.create([, alpha[, scale]]) -> retval
cv.img_hash.MarrHildrethHash_create([, alpha[, scale]]) -> retval
Parameters
alpha— int scale factor for marr wavelet (default=2).scale— int level of scale factor (default = 1)
Source file#
The documentation for this class was generated from the following file:
opencv2/img_hash/marr_hildreth_hash.hpp