Class cv::img_hash::PHash#
pHash View details
#include <opencv2/img_hash/phash.hpp>Collaboration diagram for cv::img_hash::PHash:
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#
pHash
Slower than average_hash, but tolerant of minor modifications
This algorithm can combat more variation than averageHash, for more details please refer to lookslikeit
Constructor & Destructor Documentation#
PHash()#
Member Function Documentation#
create()#
static Ptr< PHash > cv::img_hash::PHash::create()
Python:
cv.img_hash.PHash.create() -> retval
cv.img_hash.PHash_create() -> retval
Source file#
The documentation for this class was generated from the following file:
opencv2/img_hash/phash.hpp