Loading...
Searching...
No Matches
cv::optflow::GPCForest< T > Class Template Reference
#include <opencv2/optflow/sparse_matching_gpc.hpp>
Inheritance diagram for cv::optflow::GPCForest< T >:
Public Member Functions | |
| void | findCorrespondences (InputArray imgFrom, InputArray imgTo, std::vector< std::pair< Point2i, Point2i > > &corr, const GPCMatchingParams params=GPCMatchingParams()) const |
| Find correspondences between two images. | |
| void | read (const FileNode &fn) CV_OVERRIDE |
| Reads algorithm parameters from a file storage. | |
| void | train (const std::vector< String > &imagesFrom, const std::vector< String > &imagesTo, const std::vector< String > >, const GPCTrainingParams params=GPCTrainingParams()) |
| Train the forest using individual samples for each tree. It is generally better to use this instead of the first method. | |
| void | train (GPCTrainingSamples &samples, const GPCTrainingParams params=GPCTrainingParams()) |
| Train the forest using one sample set for every tree. Please, consider using the next method instead of this one for better quality. | |
| void | train (InputArrayOfArrays imagesFrom, InputArrayOfArrays imagesTo, InputArrayOfArrays gt, const GPCTrainingParams params=GPCTrainingParams()) |
| void | write (FileStorage &fs) const CV_OVERRIDE |
| Stores algorithm parameters in a file storage. | |
Public Member Functions inherited from cv::Algorithm | |
| Algorithm () | |
| virtual | ~Algorithm () |
| virtual void | clear () |
| Clears the algorithm state. | |
| virtual bool | empty () const |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
| virtual String | getDefaultName () const |
| virtual void | read (const FileNode &fn) |
| Reads algorithm parameters from a file storage. | |
| virtual void | save (const String &filename) const |
| void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| virtual void | write (FileStorage &fs) const |
| Stores algorithm parameters in a file storage. | |
| void | write (FileStorage &fs, const String &name) const |
Static Public Member Functions | |
| static Ptr< GPCForest > | create () |
Static Public Member Functions inherited from cv::Algorithm | |
| template<typename _Tp > | |
| static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
| Loads algorithm from the file. | |
| template<typename _Tp > | |
| static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
| Loads algorithm from a String. | |
| template<typename _Tp > | |
| static Ptr< _Tp > | read (const FileNode &fn) |
| Reads algorithm from the file node. | |
Additional Inherited Members | |
Protected Member Functions inherited from cv::Algorithm | |
| void | writeFormat (FileStorage &fs) const |
Member Function Documentation
◆ create()
template<int T>
|
inlinestatic |
◆ read()
template<int T>
|
inlinevirtual |
Reads algorithm parameters from a file storage.
Reimplemented from cv::Algorithm.
◆ train() [1/3]
template<int T>
|
inline |
Train the forest using individual samples for each tree. It is generally better to use this instead of the first method.
◆ train() [2/3]
template<int T>
|
inline |
Train the forest using one sample set for every tree. Please, consider using the next method instead of this one for better quality.
◆ train() [3/3]
template<int T>
|
inline |
◆ write()
template<int T>
|
inlinevirtual |
Stores algorithm parameters in a file storage.
Reimplemented from cv::Algorithm.
The documentation for this class was generated from the following file:
- opencv2/optflow/sparse_matching_gpc.hpp
Public Member Functions inherited from
1.9.6