Class cv::optflow::GPCForest#
#include <opencv2/optflow/sparse_matching_gpc.hpp>Collaboration diagram for cv::optflow::GPCForest:
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 |
|---|---|---|
|
Member Function Documentation#
read()#
void cv::optflow::GPCForest::read(const FileNode & fn)
Reads algorithm parameters from a file storage.
Here is the call graph for this function:
train()#
void cv::optflow::GPCForest::train(
const std::vector< String > & imagesFrom,
const std::vector< String > & imagesTo,
const std::vector< String > & gt,
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.
Here is the call graph for this function:
train()#
void cv::optflow::GPCForest::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.
Here is the call graph for this function:
train()#
void cv::optflow::GPCForest::train(
InputArrayOfArrays imagesFrom,
InputArrayOfArrays imagesTo,
InputArrayOfArrays gt,
const GPCTrainingParams params = GPCTrainingParams() )
Here is the call graph for this function:
write()#
void cv::optflow::GPCForest::write(FileStorage & fs)
Stores algorithm parameters in a file storage.
Here is the call graph for this function:
create()#
static Ptr< GPCForest > cv::optflow::GPCForest::create()
Here is the call graph for this function:
Member Data Documentation#
tree#
Source file#
The documentation for this class was generated from the following file:
opencv2/optflow/sparse_matching_gpc.hpp