Class cv::optflow::GPCTree#
Class for individual tree.
#include <opencv2/optflow/sparse_matching_gpc.hpp>Collaboration diagram for cv::optflow::GPCTree:
Public Member Functions#
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
Class for individual tree.
Member Typedef Documentation#
SIter#
typedef GPCSamplesVector::iterator cv::optflow::GPCTree::SIter
Member Function Documentation#
trainNode()#
bool cv::optflow::GPCTree::trainNode(
size_t nodeId,
SIter begin,
SIter end,
unsigned depth )
findLeafForPatch()#
unsigned cv::optflow::GPCTree::findLeafForPatch(const GPCPatchDescriptor & descr)
getDescriptorType()#
int cv::optflow::GPCTree::getDescriptorType()
operator==()#
read()#
void cv::optflow::GPCTree::read(const FileNode & fn)
Reads algorithm parameters from a file storage.
train()#
void cv::optflow::GPCTree::train(
GPCTrainingSamples & samples,
const GPCTrainingParams params = GPCTrainingParams() )
write()#
void cv::optflow::GPCTree::write(FileStorage & fs)
Stores algorithm parameters in a file storage.
create()#
Member Data Documentation#
nodes#
params#
GPCTrainingParams cv::optflow::GPCTree::params
Source file#
The documentation for this class was generated from the following file:
opencv2/optflow/sparse_matching_gpc.hpp