🤖
AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は
公式英語版(原文) を参照してください。
#include <opencv2/optflow/sparse_matching_gpc.hpp>
|
| void | findCorrespondences (InputArray imgFrom, InputArray imgTo, std::vector< std::pair< Point2i, Point2i > > &corr, const GPCMatchingParams params=GPCMatchingParams()) const |
| | 2枚の画像間の対応を求める。
|
| |
| void | read (const FileNode &fn) CV_OVERRIDE |
| | ファイルストレージからアルゴリズムの引数を読み込む。
|
| |
| void | train (const std::vector< String > &imagesFrom, const std::vector< String > &imagesTo, const std::vector< String > >, const GPCTrainingParams params=GPCTrainingParams()) |
| | 各ツリーに対して個別のサンプルを用いてフォレストを学習する。一般に、最初のメソッドよりもこちらを使うほうがよい。
|
| |
| void | train (GPCTrainingSamples &samples, const GPCTrainingParams params=GPCTrainingParams()) |
| | すべてのツリーに対して1つのサンプルセットを用いてフォレストを学習する。より良い品質を得るため、このメソッドの代わりに次のメソッドを検討してほしい。
|
| |
| void | train (InputArrayOfArrays imagesFrom, InputArrayOfArrays imagesTo, InputArrayOfArrays gt, const GPCTrainingParams params=GPCTrainingParams()) |
| |
| void | write (FileStorage &fs) const CV_OVERRIDE |
| | アルゴリズムの引数をファイルストレージに保存する。
|
| |
| | Algorithm () |
| |
| virtual | ~Algorithm () |
| |
| virtual void | clear () |
| | アルゴリズムの状態をクリアする。
|
| |
| virtual bool | empty () const |
| | Algorithm が空の場合(たとえば開始直後や読み込みに失敗した後)に true を返す。
|
| |
| virtual String | getDefaultName () const |
| |
| virtual void | save (const String &filename) const |
| |
| void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| |
| void | write (FileStorage &fs, const String &name) const |
| |
◆ create()
◆ read()
◆ train() [1/3]
各ツリーに対して個別のサンプルを用いてフォレストを学習する。一般に、最初のメソッドよりもこちらを使うほうがよい。
◆ train() [2/3]
すべてのツリーに対して1つのサンプルセットを用いてフォレストを学習する。より良い品質を得るため、このメソッドの代わりに次のメソッドを検討してほしい。
◆ train() [3/3]
◆ write()
このクラス詳解は次のファイルから抽出されました: