OpenCV  3.1.0-dev
Open Source Computer Vision
Public Member Functions | Static Public Member Functions | List of all members
cv::optflow::GPCForest< T > Class Template Reference

#include "sparse_matching_gpc.hpp"

Inheritance diagram for cv::optflow::GPCForest< T >:
cv::Algorithm

Public Member Functions

void read (const FileNode &fn)
 Reads algorithm parameters from a file storage. More...
 
void train (GPCSamplesVector &samples)
 Train the forest using one sample set for every tree. Please, consider using the next method instead of this one for better quality. More...
 
void train (const std::vector< String > &imagesFrom, const std::vector< String > &imagesTo, const std::vector< String > &gt)
 Train the forest using individual samples for each tree. It is generally better to use this instead of the first method. More...
 
void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage. More...
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
 
virtual String getDefaultName () const
 
virtual void save (const String &filename) const
 

Static Public Member Functions

static Ptr< GPCForestcreate ()
 
- 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. More...
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String. More...
 
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node. More...
 

Additional Inherited Members

- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

Member Function Documentation

template<int T>
static Ptr< GPCForest > cv::optflow::GPCForest< T >::create ( )
inlinestatic
template<int T>
void cv::optflow::GPCForest< T >::read ( const FileNode fn)
inlinevirtual

Reads algorithm parameters from a file storage.

Reimplemented from cv::Algorithm.

template<int T>
void cv::optflow::GPCForest< T >::train ( GPCSamplesVector samples)
inline

Train the forest using one sample set for every tree. Please, consider using the next method instead of this one for better quality.

template<int T>
void cv::optflow::GPCForest< T >::train ( const std::vector< String > &  imagesFrom,
const std::vector< String > &  imagesTo,
const std::vector< String > &  gt 
)
inline

Train the forest using individual samples for each tree. It is generally better to use this instead of the first method.

template<int T>
void cv::optflow::GPCForest< T >::write ( FileStorage fs) const
inlinevirtual

Stores algorithm parameters in a file storage.

Reimplemented from cv::Algorithm.


The documentation for this class was generated from the following file: