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

[163] で説明されている BRISK のキーポイント検出器および記述子抽出器を実装するクラス。続き...

#include <opencv2/xfeatures2d.hpp>

Collaboration diagram for cv::xfeatures2d::BRISK:

公開メンバ関数

virtual String getDefaultName () const CV_OVERRIDE
 
virtual int getOctaves () const =0
 
virtual float getPatternScale () const =0
 
virtual int getThreshold () const =0
 
virtual void setOctaves (int octaves)=0
 検出オクターブを設定する。
 
virtual void setPatternScale (float patternScale)=0
 検出 patternScale を設定する。
 
virtual void setThreshold (int threshold)=0
 検出しきい値を設定する。
 
- Public Member Functions inherited from cv::Feature2D
virtual ~Feature2D ()
 
virtual void compute (InputArray image, std::vector< KeyPoint > &keypoints, OutputArray descriptors)
 画像(1番目のバリアント)または画像集合(2番目のバリアント)で検出されたキーポイントの集合について記述子を計算する。
 
virtual void compute (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, OutputArrayOfArrays descriptors)
 
virtual int defaultNorm () const
 
virtual int descriptorSize () const
 
virtual int descriptorType () const
 
virtual void detect (InputArray image, std::vector< KeyPoint > &keypoints, InputArray mask=noArray())
 画像(1番目のバリアント)または画像集合(2番目のバリアント)からキーポイントを検出する。
 
virtual void detect (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, InputArrayOfArrays masks=noArray())
 
virtual void detectAndCompute (InputArray image, InputArray mask, std::vector< KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false)
 
virtual bool empty () const CV_OVERRIDE
 検出器オブジェクトが空の場合に true を返す。
 
virtual void read (const FileNode &) CV_OVERRIDE
 ファイルストレージからアルゴリズムの引数を読み込む。
 
void read (const String &fileName)
 
void write (const String &fileName) const
 
virtual void write (FileStorage &) const CV_OVERRIDE
 アルゴリズムの引数をファイルストレージに保存する。
 
void write (FileStorage &fs, const String &name) const
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 アルゴリズムの状態をクリアする。
 
virtual void save (const String &filename) const
 
void write (FileStorage &fs, const String &name) const
 

静的公開メンバ関数

static Ptr< BRISKcreate (const std::vector< float > &radiusList, const std::vector< int > &numberList, float dMax=5.85f, float dMin=8.2f, const std::vector< int > &indexChange=std::vector< int >())
 カスタムパターン用の BRISK コンストラクタ。
 
static Ptr< BRISKcreate (int thresh, int octaves, const std::vector< float > &radiusList, const std::vector< int > &numberList, float dMax=5.85f, float dMin=8.2f, const std::vector< int > &indexChange=std::vector< int >())
 カスタムパターン、検出しきい値、オクターブを指定する BRISK コンストラクタ。
 
static Ptr< BRISKcreate (int thresh=30, int octaves=3, float patternScale=1.0f)
 BRISK コンストラクタ。
 
- 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)
 ファイルノードからアルゴリズムを読み込む。
 

Additional Inherited Members

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

詳細説明

[163] で説明されている BRISK のキーポイント検出器および記述子抽出器を実装するクラス。

メンバ関数詳解

◆ create() [1/3]

static Ptr< BRISK > cv::xfeatures2d::BRISK::create ( const std::vector< float > & radiusList,
const std::vector< int > & numberList,
float dMax = 5.85f,
float dMin = 8.2f,
const std::vector< int > & indexChange = std::vector< int >() )
static
Python:
cv.xfeatures2d.BRISK.create([, thresh[, octaves[, patternScale]]]) -> retval
cv.xfeatures2d.BRISK.create(radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval
cv.xfeatures2d.BRISK.create(thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval
cv.xfeatures2d.BRISK_create([, thresh[, octaves[, patternScale]]]) -> retval
cv.xfeatures2d.BRISK_create(radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval
cv.xfeatures2d.BRISK_create(thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval

カスタムパターン用の BRISK コンストラクタ。

引数
radiusListキーポイント周辺のサンプルを取得する半径(ピクセル単位)を定義する(キーポイントのスケールが1の場合)。
numberListサンプリング円上のサンプリング点の数を定義する。radiusList と同じサイズでなければならない。
dMax記述子の生成に使われる短いペアのしきい値(キーポイントのスケールが1の場合のピクセル単位)。
dMin方向の決定に使われる長いペアのしきい値(キーポイントのスケールが1の場合のピクセル単位)。
indexChangeビットのインデックスの再マッピング。

◆ create() [2/3]

static Ptr< BRISK > cv::xfeatures2d::BRISK::create ( int thresh,
int octaves,
const std::vector< float > & radiusList,
const std::vector< int > & numberList,
float dMax = 5.85f,
float dMin = 8.2f,
const std::vector< int > & indexChange = std::vector< int >() )
static
Python:
cv.xfeatures2d.BRISK.create([, thresh[, octaves[, patternScale]]]) -> retval
cv.xfeatures2d.BRISK.create(radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval
cv.xfeatures2d.BRISK.create(thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval
cv.xfeatures2d.BRISK_create([, thresh[, octaves[, patternScale]]]) -> retval
cv.xfeatures2d.BRISK_create(radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval
cv.xfeatures2d.BRISK_create(thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval

カスタムパターン、検出しきい値、オクターブを指定する BRISK コンストラクタ。

引数
threshAGAST検出のしきい値スコア。
octaves検出オクターブ。シングルスケールで行うには0を使う。
radiusListキーポイント周辺のサンプルを取得する半径(ピクセル単位)を定義する(キーポイントのスケールが1の場合)。
numberListサンプリング円上のサンプリング点の数を定義する。radiusList と同じサイズでなければならない。
dMax記述子の生成に使われる短いペアのしきい値(キーポイントのスケールが1の場合のピクセル単位)。
dMin方向の決定に使われる長いペアのしきい値(キーポイントのスケールが1の場合のピクセル単位)。
indexChangeビットのインデックスの再マッピング。

◆ create() [3/3]

static Ptr< BRISK > cv::xfeatures2d::BRISK::create ( int thresh = 30,
int octaves = 3,
float patternScale = 1.0f )
static
Python:
cv.xfeatures2d.BRISK.create([, thresh[, octaves[, patternScale]]]) -> retval
cv.xfeatures2d.BRISK.create(radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval
cv.xfeatures2d.BRISK.create(thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval
cv.xfeatures2d.BRISK_create([, thresh[, octaves[, patternScale]]]) -> retval
cv.xfeatures2d.BRISK_create(radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval
cv.xfeatures2d.BRISK_create(thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]]) -> retval

BRISK コンストラクタ。

引数
threshAGAST検出のしきい値スコア。
octaves検出オクターブ。シングルスケールで行うには0を使う。
patternScaleキーポイントの近傍のサンプリングに使われるパターンに、このスケールを適用する。

◆ getDefaultName()

virtual String cv::xfeatures2d::BRISK::getDefaultName ( ) const
virtual
Python:
cv.xfeatures2d.BRISK.getDefaultName() -> retval

アルゴリズムの文字列識別子を返す。この文字列は、オブジェクトをファイルまたは文字列に保存する際に、最上位の xml/yml ノードタグとして使用される。

cv::Feature2D から再実装されている。

◆ getOctaves()

virtual int cv::xfeatures2d::BRISK::getOctaves ( ) const
pure virtual
Python:
cv.xfeatures2d.BRISK.getOctaves() -> retval

◆ getPatternScale()

virtual float cv::xfeatures2d::BRISK::getPatternScale ( ) const
pure virtual
Python:
cv.xfeatures2d.BRISK.getPatternScale() -> retval

◆ getThreshold()

virtual int cv::xfeatures2d::BRISK::getThreshold ( ) const
pure virtual
Python:
cv.xfeatures2d.BRISK.getThreshold() -> retval

◆ setOctaves()

virtual void cv::xfeatures2d::BRISK::setOctaves ( int octaves)
pure virtual
Python:
cv.xfeatures2d.BRISK.setOctaves(octaves) -> None

検出オクターブを設定する。

引数
octaves検出オクターブ。シングルスケールで行うには0を使う。

◆ setPatternScale()

virtual void cv::xfeatures2d::BRISK::setPatternScale ( float patternScale)
pure virtual
Python:
cv.xfeatures2d.BRISK.setPatternScale(patternScale) -> None

検出 patternScale を設定する。

引数
patternScaleキーポイントの近傍のサンプリングに使われるパターンに、このスケールを適用する。

◆ setThreshold()

virtual void cv::xfeatures2d::BRISK::setThreshold ( int threshold)
pure virtual
Python:
cv.xfeatures2d.BRISK.setThreshold(threshold) -> None

検出しきい値を設定する。

引数
thresholdAGAST検出のしきい値スコア。

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