#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 |
| | 查詢兩幅影像之間的對應關係。
|
| |
| 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()) |
| | 使用每棵樹的一個樣本集來訓練森林。 請考慮使用下一種方法來代替此方法,以獲得更好的質量。
|
| |
| 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]
使用每棵樹的一個樣本集來訓練森林。 請考慮使用下一種方法來代替此方法,以獲得更好的質量。
◆ train() [3/3]
◆ write()
此類文件由以下檔案生成