Abstract base class for 2D image feature detectors and descriptor extractors
[詳解]
#include <features2d.hpp>
cv::Algorithmを継承しています。
cv::AKAZE,
cv::AffineFeature,
cv::AgastFeatureDetector,
cv::BRISK,
cv::FastFeatureDetector,
cv::GFTTDetector,
cv::KAZE,
cv::MSER,
cv::ORB,
cv::SIFT,
cv::SimpleBlobDetector,
cv::xfeatures2d::AffineFeature2D,
cv::xfeatures2d::BEBLID,
cv::xfeatures2d::BoostDesc,
cv::xfeatures2d::BriefDescriptorExtractor,
cv::xfeatures2d::DAISY,
cv::xfeatures2d::FREAK,
cv::xfeatures2d::HarrisLaplaceFeatureDetector,
cv::xfeatures2d::LATCH,
cv::xfeatures2d::LUCID,
cv::xfeatures2d::MSDDetector,
cv::xfeatures2d::SURF,
cv::xfeatures2d::StarDetector,
cv::xfeatures2d::VGG
(計24項目)に継承されています。
|  | 
| virtual CV_WRAP void | detect
(InputArray image, CV_OUT std::vector<
KeyPoint
> &keypoints, InputArray mask=noArray()) | 
|  | 画像(第1のバージョン)または画像セット(第2のバージョン)からキーポイントを検出します。[【詳解】(英語] 
 | 
|  | 
| virtual CV_WRAP void | detect
(InputArrayOfArrays images, CV_OUT std::vector< std::vector<
KeyPoint
> > &keypoints, InputArrayOfArrays masks=noArray()) | 
|  | 
| virtual CV_WRAP void | compute
(InputArray image, CV_OUT CV_IN_OUT std::vector<
KeyPoint
> &keypoints,
OutputArray
descriptors) | 
|  | 画像(第1の形式)または画像集合(第2の形式)から検出されるキーポイントの集合に対するディスクリプタを計算します.[【詳解】(英語] 
 | 
|  | 
| virtual CV_WRAP void | compute
(InputArrayOfArrays images, CV_OUT CV_IN_OUT std::vector< std::vector<
KeyPoint
> > &keypoints,
OutputArrayOfArrays
descriptors) | 
|  | 
| virtual CV_WRAP void | detectAndCompute
(InputArray image, InputArray mask, CV_OUT std::vector<
KeyPoint
> &keypoints,
OutputArray
descriptors, bool useProvidedKeypoints=false) | 
|  | 
| virtual CV_WRAP int | descriptorSize
() const | 
|  | 
| virtual CV_WRAP int | descriptorType
() const | 
|  | 
| virtual CV_WRAP int | defaultNorm
() const | 
|  | 
| CV_WRAP void | write
(const String &fileName) const | 
|  | 
| CV_WRAP void | read
(const String &fileName) | 
|  | 
| virtual void | write
(FileStorage
&) const CV_OVERRIDE | 
|  | アルゴリズムのパラメーターをファイルストレージに格納[【詳解】(英語] 
 | 
|  | 
| virtual CV_WRAP void | read
(const
FileNode
&) CV_OVERRIDE | 
|  | アルゴリズム・パラメータをファイル・ストレージから読み込みます。[【詳解】(英語] 
 | 
|  | 
| virtual CV_WRAP bool | empty
() const CV_OVERRIDE | 
|  | 検出器オブジェクトが空の場合は,trueを返します.[【詳解】(英語] 
 | 
|  | 
| virtual CV_WRAP String | getDefaultName
() const CV_OVERRIDE | 
|  | 
| CV_WRAP void | write
(const
Ptr<
FileStorage
> &fs, const String &name=String()) const | 
|  | 
| virtual CV_WRAP void | clear
() | 
|  | アルゴリズムの状態をクリアする[【詳解】(英語] 
 | 
|  | 
| CV_WRAP void | write
(const
Ptr<
FileStorage
> &fs, const String &name=String()) const | 
|  | これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。 
 | 
|  | 
| virtual CV_WRAP void | save
(const String &filename) const | 
|  | 
|  | 
| template<typename _Tp > | 
| static
Ptr< _Tp > | read
(const
FileNode
&fn) | 
|  | ファイル・ノードからアルゴリズムを読み込む[【詳解】(英語] 
 | 
|  | 
| 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()) | 
|  | 文字列からアルゴリズムを読み込む[【詳解】(英語] 
 | 
|  | 
| void | writeFormat
(FileStorage
&fs) const | 
|  | 
2次元画像の特徴検出器とディスクリプタ抽出器のための抽象的な基底クラス.
 
◆
compute()
[1/2]
| 
| virtual CV_WRAP void cv::Feature2D::compute | ( | InputArray | image, |  
|  |  | CV_OUT CV_IN_OUT std::vector<
KeyPoint
> & | keypoints, |  
|  |  | OutputArray | descriptors |  
|  | ) |  |  |  | virtual | 
 
画像(第1の形式)または画像集合(第2の形式)から検出されるキーポイントの集合に対するディスクリプタを計算します.
- 引数
- 
| image | 画像。 |  
| keypoints | キーポイントの入力コレクション.ディスクリプタが計算できないキーポイントは削除されます.また,新しいキーポイントが追加されることもあります.例えば,以下のようになります.SIFTduplicates keypoint with several dominant orientation (for each orientation). |  
| descriptors | 計算されたディスクリプタ.この手法の第2のバージョンでは,descriptors[i]は,keypoints[i]に対して計算されたディスクリプタです.Row jは,keypoints(またはkeypoints[i])が,キーポイントj番目のキーポイントに対するディスクリプタです. |  
 
 
 
◆
compute()
[2/2]
| 
| virtual CV_WRAP void cv::Feature2D::compute | ( | InputArrayOfArrays | images, |  
|  |  | CV_OUT CV_IN_OUT std::vector< std::vector<
KeyPoint
> > & | keypoints, |  
|  |  | OutputArrayOfArrays | descriptors |  
|  | ) |  |  |  | virtual | 
 
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
- 引数
- 
| images | 画像セット. |  
| keypoints | キーポイントの入力コレクション.ディスクリプタが計算できないキーポイントは削除されます.また,新しいキーポイントが追加されることもあります.例えば,以下のようになります.SIFTduplicates keypoint with several dominant orientation (for each orientation). |  
| descriptors | 計算されたディスクリプタ.この手法の第2のバージョンでは,descriptors[i]は,keypoints[i]に対して計算されたディスクリプタです.Row jは,keypoints(またはkeypoints[i])が,キーポイントj番目のキーポイントに対するディスクリプタです. |  
 
 
 
◆
detect()
[1/2]
| 
| virtual CV_WRAP void cv::Feature2D::detect | ( | InputArray | image, |  
|  |  | CV_OUT std::vector<
KeyPoint
> & | keypoints, |  
|  |  | InputArray | mask
= noArray() |  
|  | ) |  |  |  | virtual | 
 
画像(第1のバージョン)または画像セット(第2のバージョン)からキーポイントを検出します。
- 引数
- 
| image | 画像。 |  
| keypoints | 検出されたキーポイント.本手法の第2のバージョンでは,keypoints[i]は,images[i]において検出されたキーポイントの集合となります. |  
| mask | キーポイントを探す場所を指定するマスク(オプション).これは,関心領域において非0の値を持つ,8ビットの整数行列でなければいけません. |  
 
cv::xfeatures2d::AffineFeature2D出再実装されます。
 
 
◆
detect()
[2/2]
| 
| virtual CV_WRAP void cv::Feature2D::detect | ( | InputArrayOfArrays | images, |  
|  |  | CV_OUT std::vector< std::vector<
KeyPoint
> > & | keypoints, |  
|  |  | InputArrayOfArrays | masks
= noArray() |  
|  | ) |  |  |  | virtual | 
 
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
- 引数
- 
| images | 画像セット. |  
| keypoints | 検出されたキーポイント.本手法の第2のバージョンでは,keypoints[i]は,images[i]において検出されたキーポイントの集合となります. |  
| masks | 各入力画像に対して,どこにキーポイントがあるかを指定するマスク(オプション). masks[i] は,images[i] に対するマスクです. |  
 
cv::xfeatures2d::AffineFeature2D出再実装されます。
 
 
◆
detectAndCompute()
| 
| virtual CV_WRAP void cv::Feature2D::detectAndCompute | ( | InputArray | image, |  
|  |  | InputArray | mask, |  
|  |  | CV_OUT std::vector<
KeyPoint
> & | keypoints, |  
|  |  | OutputArray | descriptors, |  
|  |  | bool | useProvidedKeypoints
= false |  
|  | ) |  |  |  | virtual | 
 
 
◆
empty()
| 
| virtual CV_WRAP bool cv::Feature2D::empty | ( |  | ) | const |  | virtual | 
 
 
◆
getDefaultName()
| 
| virtual CV_WRAP String cv::Feature2D::getDefaultName | ( |  | ) | const |  | virtual | 
 
algorithm string identifier を返す。この文字列は,オブジェクトをファイルや文字列に保存する際に,最上位のxml/ymlノードタグとして使用されます.
cv::Algorithmを再実装します。
cv::AffineFeature,cv::SIFT,cv::BRISK,cv::ORB,cv::MSER,cv::FastFeatureDetector,cv::AgastFeatureDetector,cv::GFTTDetector,cv::SimpleBlobDetector,cv::KAZE,cv::AKAZE出再実装されます。
 
 
◆
read()
| 
| virtual CV_WRAP void cv::Feature2D::read | ( | const
FileNode
& | fn | ) |  |  | virtual | 
 
 
◆
write()
| 
| virtual void cv::Feature2D::write | ( | FileStorage
& | fs | ) | const |  | virtual | 
 
 
このクラス詳解は次のファイルから抽出されました: