キーポイントに対するアフィン適応を実装するクラス。続き...
#include <opencv2/xfeatures2d.hpp>
|
| virtual void | detect (InputArray image, std::vector< Elliptic_KeyPoint > &keypoints, InputArray mask=noArray())=0 |
| | ラップされた検出器を使用して画像内のキーポイントを検出し、アフィン適応を実行して楕円領域を付加する。
|
| |
| 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< Elliptic_KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false)=0 |
| | キーポイントを検出し、それらを円に変形した後、周囲領域の記述子を計算する。
|
| |
| virtual void | detectAndCompute (InputArray image, InputArray mask, std::vector< KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false) |
| |
| 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 bool | empty () const CV_OVERRIDE |
| | 検出器オブジェクトが空の場合に true を返す。
|
| |
| virtual String | getDefaultName () const CV_OVERRIDE |
| |
| 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 |
| |
キーポイントに対するアフィン適応を実装するクラス。
FeatureDetector と DescriptorExtractor をラップし、検出された点をそのアフィン不変な楕円領域で拡張するとともに、その領域を円状にワープした後で特徴記述子を計算する。
インターフェースは Feature2D と同等であり、KeyPoints の代わりに Elliptic_KeyPoints に対する演算を追加している。
◆ create() [1/2]
キーポイント検出器と記述子抽出器が同一であるインスタンスを生成する。
◆ create() [2/2]
指定したキーポイント検出器と記述子抽出器をラップするインスタンスを生成する。
◆ detect() [1/3]
ラップされた検出器を使用して画像内のキーポイントを検出し、アフィン適応を実行して楕円領域を付加する。
◆ detect() [2/3]
画像(1番目のバリアント)または画像集合(2番目のバリアント)からキーポイントを検出する。
- 引数
-
| image | 画像。 |
| keypoints | 検出されたキーポイント。本メソッドの2番目のバリアントでは、keypoints[i] は images[i] で検出されたキーポイントの集合である。 |
| mask | キーポイントを探索する場所を指定するマスク(省略可能)。これは関心領域内に非ゼロ値を持つ8ビット整数行列でなければならない。 |
cv::Feature2D から再実装。
◆ detect() [3/3]
これは利便性のために提供されているオーバーロードされたメンバ関数である。上記の関数とは、受け取る引数のみが異なる。
- 引数
-
| images | 画像集合。 |
| keypoints | 検出されたキーポイント。本メソッドの2番目のバリアントでは、keypoints[i] は images[i] で検出されたキーポイントの集合である。 |
| masks | キーポイントを探索する場所を指定する、各入力画像に対するマスク(省略可能)。masks[i] は images[i] に対するマスクである。 |
cv::Feature2D から再実装。
◆ detectAndCompute() [1/2]
キーポイントを検出し、それらを円に変形した後、周囲領域の記述子を計算する。
◆ detectAndCompute() [2/2]
このクラス詳解は次のファイルから抽出されました: