OpenCV
3.3.1
Open Source Computer Vision
|
Class for individual tree. More...
#include "sparse_matching_gpc.hpp"
Classes | |
struct | Node |
Public Member Functions | |
unsigned | findLeafForPatch (const GPCPatchDescriptor &descr) const |
int | getDescriptorType () const |
bool | operator== (const GPCTree &t) const |
void | read (const FileNode &fn) |
Reads algorithm parameters from a file storage. More... | |
void | train (GPCTrainingSamples &samples, const GPCTrainingParams params=GPCTrainingParams()) |
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< GPCTree > | 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. 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 |
Class for individual tree.
unsigned cv::optflow::GPCTree::findLeafForPatch | ( | const GPCPatchDescriptor & | descr | ) | const |
|
inline |
|
inline |
|
virtual |
Reads algorithm parameters from a file storage.
Reimplemented from cv::Algorithm.
void cv::optflow::GPCTree::train | ( | GPCTrainingSamples & | samples, |
const GPCTrainingParams | params = GPCTrainingParams() |
||
) |
|
virtual |
Stores algorithm parameters in a file storage.
Reimplemented from cv::Algorithm.