[163] で説明されている BRISK のキーポイント検出器および記述子抽出器を実装するクラス。続き...
#include <opencv2/xfeatures2d.hpp>
|
| 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 |
| | 検出しきい値を設定する。
|
| |
| 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 |
| |
| | Algorithm () |
| |
| virtual | ~Algorithm () |
| |
| virtual void | clear () |
| | アルゴリズムの状態をクリアする。
|
| |
| virtual void | save (const String &filename) const |
| |
| void | write (FileStorage &fs, const String &name) const |
| |
|
| static Ptr< 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 >()) |
| | カスタムパターン用の BRISK コンストラクタ。
|
| |
| static Ptr< 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 >()) |
| | カスタムパターン、検出しきい値、オクターブを指定する BRISK コンストラクタ。
|
| |
| static Ptr< BRISK > | create (int thresh=30, int octaves=3, float patternScale=1.0f) |
| | BRISK コンストラクタ。
|
| |
| template<typename _Tp > |
| static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
| | ファイルからアルゴリズムを読み込む。
|
| |
| template<typename _Tp > |
| static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
| | 文字列からアルゴリズムを読み込む。
|
| |
| template<typename _Tp > |
| static Ptr< _Tp > | read (const FileNode &fn) |
| | ファイルノードからアルゴリズムを読み込む。
|
| |
[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 コンストラクタ。
- 引数
-
| thresh | AGAST検出のしきい値スコア。 |
| 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 コンストラクタ。
- 引数
-
| thresh | AGAST検出のしきい値スコア。 |
| 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 |
検出しきい値を設定する。
- 引数
-
| threshold | AGAST検出のしきい値スコア。 |
このクラス詳解は次のファイルから抽出されました: