[12] に記載された AKAZE キーポイント検出器および記述子抽出器を実装するクラス。 詳細...
#include <opencv2/xfeatures2d.hpp>
|
| virtual String | getDefaultName () const CV_OVERRIDE |
| |
| virtual int | getDescriptorChannels () const =0 |
| |
| virtual int | getDescriptorSize () const =0 |
| |
| virtual int | getDescriptorType () const =0 |
| |
| virtual int | getDiffusivity () const =0 |
| |
| virtual int | getMaxPoints () const =0 |
| |
| virtual int | getNOctaveLayers () const =0 |
| |
| virtual int | getNOctaves () const =0 |
| |
| virtual double | getThreshold () const =0 |
| |
| virtual void | setDescriptorChannels (int dch)=0 |
| |
| virtual void | setDescriptorSize (int dsize)=0 |
| |
| virtual void | setDescriptorType (int dtype)=0 |
| |
| virtual void | setDiffusivity (int diff)=0 |
| |
| virtual void | setMaxPoints (int max_points)=0 |
| |
| virtual void | setNOctaveLayers (int octaveLayers)=0 |
| |
| virtual void | setNOctaves (int octaves)=0 |
| |
| virtual void | setThreshold (double 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 |
| |
[12] に記載された AKAZE キーポイント検出器および記述子抽出器を実装するクラス。
AKAZE 記述子は KAZE または AKAZE キーポイントでのみ使用できる。このクラスはスレッドセーフである。
- 覚え書き
- 記述子が必要な場合は、より高い性能を提供する Feature2D::detectAndCompute を使用する。Feature2D::detect の後に Feature2D::compute を使用すると、スケール空間ピラミッドが2回計算される。
- AKAZE はT-APIを実装している。画像が UMat として渡されると、アルゴリズムの一部はOpenCLを使用する。
- [ANB13] Fast Explicit Diffusion for Accelerated Features in Nonlinear Scale Spaces. Pablo F. Alcantarilla, Jesús Nuevo and Adrien Bartoli. In British Machine Vision Conference (BMVC), Bristol, UK, September 2013.
◆ DescriptorType
◆ anonymous enum
| 列挙値 |
|---|
| DESCRIPTOR_KAZE_UPRIGHT | 直立記述子。回転に対して不変ではない。 |
| DESCRIPTOR_KAZE | |
| DESCRIPTOR_MLDB_UPRIGHT | 直立記述子。回転に対して不変ではない。 |
| DESCRIPTOR_MLDB | |
◆ create()
| static Ptr< AKAZE > cv::xfeatures2d::AKAZE::create |
( |
int | descriptor_type = AKAZE::DESCRIPTOR_MLDB, |
|
|
int | descriptor_size = 0, |
|
|
int | descriptor_channels = 3, |
|
|
float | threshold = 0.001f, |
|
|
int | nOctaves = 4, |
|
|
int | nOctaveLayers = 4, |
|
|
int | diffusivity = KAZE::DIFF_PM_G2, |
|
|
int | max_points = -1 ) |
|
static |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.create( | [, descriptor_type[, descriptor_size[, descriptor_channels[, threshold[, nOctaves[, nOctaveLayers[, diffusivity[, max_points]]]]]]]] | ) -> | retval |
| cv.xfeatures2d.AKAZE_create( | [, descriptor_type[, descriptor_size[, descriptor_channels[, threshold[, nOctaves[, nOctaveLayers[, diffusivity[, max_points]]]]]]]] | ) -> | retval |
AKAZE のコンストラクタ。
- 引数
-
| descriptor_type | 抽出される記述子の種類: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB または DESCRIPTOR_MLDB_UPRIGHT。 |
| descriptor_size | 記述子のサイズ(ビット単位)。0 -> フルサイズ |
| descriptor_channels | 記述子のチャンネル数 (1, 2, 3) |
| threshold | 点を受け入れるための検出器の応答しきい値 |
| nOctaves | 画像の最大オクターブ展開 |
| nOctaveLayers | スケールレベルごとのサブレベルのデフォルト数 |
| diffusivity | 拡散性の型。DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT または DIFF_CHARBONNIER |
| max_points | 返されるポイントの最大数。画像により多くの特徴が含まれる場合は、応答が最も高い特徴が返される。負の値は制限なしを意味する。 |
◆ getDefaultName()
| virtual String cv::xfeatures2d::AKAZE::getDefaultName |
( |
| ) |
const |
|
virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.getDefaultName( | | ) -> | retval |
アルゴリズムの文字列識別子を返す。この文字列は、オブジェクトをファイルまたは文字列に保存する際に、最上位の xml/yml ノードタグとして使用される。
cv::Feature2D から再実装されている。
◆ getDescriptorChannels()
| virtual int cv::xfeatures2d::AKAZE::getDescriptorChannels |
( |
| ) |
const |
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.getDescriptorChannels( | | ) -> | retval |
◆ getDescriptorSize()
| virtual int cv::xfeatures2d::AKAZE::getDescriptorSize |
( |
| ) |
const |
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.getDescriptorSize( | | ) -> | retval |
◆ getDescriptorType()
| virtual int cv::xfeatures2d::AKAZE::getDescriptorType |
( |
| ) |
const |
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.getDescriptorType( | | ) -> | retval |
◆ getDiffusivity()
| virtual int cv::xfeatures2d::AKAZE::getDiffusivity |
( |
| ) |
const |
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.getDiffusivity( | | ) -> | retval |
◆ getMaxPoints()
| virtual int cv::xfeatures2d::AKAZE::getMaxPoints |
( |
| ) |
const |
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.getMaxPoints( | | ) -> | retval |
◆ getNOctaveLayers()
| virtual int cv::xfeatures2d::AKAZE::getNOctaveLayers |
( |
| ) |
const |
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.getNOctaveLayers( | | ) -> | retval |
◆ getNOctaves()
| virtual int cv::xfeatures2d::AKAZE::getNOctaves |
( |
| ) |
const |
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.getNOctaves( | | ) -> | retval |
◆ getThreshold()
| virtual double cv::xfeatures2d::AKAZE::getThreshold |
( |
| ) |
const |
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.getThreshold( | | ) -> | retval |
◆ setDescriptorChannels()
| virtual void cv::xfeatures2d::AKAZE::setDescriptorChannels |
( |
int | dch | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.setDescriptorChannels( | dch | ) -> | None |
◆ setDescriptorSize()
| virtual void cv::xfeatures2d::AKAZE::setDescriptorSize |
( |
int | dsize | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.setDescriptorSize( | dsize | ) -> | None |
◆ setDescriptorType()
| virtual void cv::xfeatures2d::AKAZE::setDescriptorType |
( |
int | dtype | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.setDescriptorType( | dtype | ) -> | None |
◆ setDiffusivity()
| virtual void cv::xfeatures2d::AKAZE::setDiffusivity |
( |
int | diff | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.setDiffusivity( | diff | ) -> | None |
◆ setMaxPoints()
| virtual void cv::xfeatures2d::AKAZE::setMaxPoints |
( |
int | max_points | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.setMaxPoints( | max_points | ) -> | None |
◆ setNOctaveLayers()
| virtual void cv::xfeatures2d::AKAZE::setNOctaveLayers |
( |
int | octaveLayers | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.setNOctaveLayers( | octaveLayers | ) -> | None |
◆ setNOctaves()
| virtual void cv::xfeatures2d::AKAZE::setNOctaves |
( |
int | octaves | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.setNOctaves( | octaves | ) -> | None |
◆ setThreshold()
| virtual void cv::xfeatures2d::AKAZE::setThreshold |
( |
double | threshold | ) |
|
|
pure virtual |
| Python: |
|---|
| cv.xfeatures2d.AKAZE.setThreshold( | threshold | ) -> | None |
このクラス詳解は次のファイルから抽出されました: