OpenCV 5.0.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。

ブロック平均に基づく画像ハッシュ。続き...

#include <opencv2/img_hash/block_mean_hash.hpp>

Collaboration diagram for cv::img_hash::BlockMeanHash:

公開メンバ関数

std::vector< double > getMean () const
 
void setMode (int mode)
 BlockMeanHash オブジェクトを生成する。
 
- Public Member Functions inherited from cv::img_hash::ImgHashBase
 ~ImgHashBase ()
 
double compare (cv::InputArray hashOne, cv::InputArray hashTwo) const
 inOneとinTwoのハッシュ値を比較する。
 
void compute (cv::InputArray inputArr, cv::OutputArray outputArr)
 入力画像のハッシュを計算する。
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 アルゴリズムの状態をクリアする。
 
virtual bool empty () const
 Algorithm が空の場合(たとえば開始直後や読み込みに失敗した後)に true を返す。
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 ファイルストレージからアルゴリズムの引数を読み込む。
 
virtual void save (const String &filename) const
 
virtual void write (FileStorage &fs) const
 アルゴリズムの引数をファイルストレージに保存する。
 
void write (FileStorage &fs, const String &name) const
 

静的公開メンバ関数

static Ptr< BlockMeanHashcreate (int mode=BLOCK_MEAN_HASH_MODE_0)
 
- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 ファイルからアルゴリズムを読み込む。
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 文字列からアルゴリズムを読み込む。
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 ファイルノードからアルゴリズムを読み込む。
 

限定公開メンバ関数

 BlockMeanHash ()
 
- Protected Member Functions inherited from cv::img_hash::ImgHashBase
 ImgHashBase ()
 
- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

Additional Inherited Members

- Protected Attributes inherited from cv::img_hash::ImgHashBase
Ptr< ImgHashImpl > pImpl
 

詳細説明

ブロック平均に基づく画像ハッシュ。

詳細は [324] を参照。

構築子と解体子の詳解

◆ BlockMeanHash()

cv::img_hash::BlockMeanHash::BlockMeanHash ( )
inlineprotected

メンバ関数詳解

◆ create()

static Ptr< BlockMeanHash > cv::img_hash::BlockMeanHash::create ( int mode = BLOCK_MEAN_HASH_MODE_0)
static
Python:
cv.img_hash.BlockMeanHash.create([, mode]) -> retval
cv.img_hash.BlockMeanHash_create([, mode]) -> retval

◆ getMean()

std::vector< double > cv::img_hash::BlockMeanHash::getMean ( ) const
Python:
cv.img_hash.BlockMeanHash.getMean() -> retval

◆ setMode()

void cv::img_hash::BlockMeanHash::setMode ( int mode)
Python:
cv.img_hash.BlockMeanHash.setMode(mode) -> None

BlockMeanHash オブジェクトを生成する。

引数
modeモード

このクラス詳解は次のファイルから抽出されました: