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

[12] に記載された AKAZE キーポイント検出器および記述子抽出器を実装するクラス。 詳細...

#include <opencv2/xfeatures2d.hpp>

Collaboration diagram for cv::xfeatures2d::AKAZE:

公開型

enum  {
  DESCRIPTOR_KAZE_UPRIGHT = 2 ,
  DESCRIPTOR_KAZE = 3 ,
  DESCRIPTOR_MLDB_UPRIGHT = 4 ,
  DESCRIPTOR_MLDB = 5
}
 
typedef int DescriptorType
 

公開メンバ関数

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
 
- 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< AKAZEcreate (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)
 AKAZE のコンストラクタ。
 
- 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
 

詳細説明

[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

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

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