Class cv::optflow::GPCForest#

Collaboration diagram for cv::optflow::GPCForest:

Public Member Functions#

Public Member Functions inherited from cv::Algorithm

Return

Name

Description

Algorithm()

~Algorithm()

void

clear()

Clears the algorithm state.

bool

empty()

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.

String

getDefaultName()

void

read(const FileNode & fn)

Reads algorithm parameters from a file storage.

void

save(const String & filename)

void

write(
    const Ptr< FileStorage > & fs,
    const String & name = String() )

void

write(FileStorage & fs)

Stores algorithm parameters in a file storage.

void

write(
    FileStorage & fs,
    const String & name )

Static Public Member Functions#

Static Public Member Functions inherited from cv::Algorithm

Return

Name

Description

static Ptr< _Tp >

load(
    const String & filename,
    const String & objname = String() )

Loads algorithm from the file.

static Ptr< _Tp >

loadFromString(
    const String & strModel,
    const String & objname = String() )

Loads algorithm from a String.

static Ptr< _Tp >

read(const FileNode & fn)

Reads algorithm from the file node.

Additional Inherited Members#

Protected Member Functions inherited from cv::Algorithm

Return

Name

Description

void

writeFormat(FileStorage & fs)

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:

cv::optflow::GPCForest::read Node1 cv::optflow::GPCForest ::read Node1->Node1

cv::optflow::GPCForest::read Node1 cv::optflow::GPCForest ::read Node1->Node1

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:

cv::optflow::GPCForest::train Node1 cv::optflow::GPCForest ::train Node1->Node1

cv::optflow::GPCForest::train Node1 cv::optflow::GPCForest ::train Node1->Node1

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:

cv::optflow::GPCForest::write Node1 cv::optflow::GPCForest ::write Node2 cv::optflow::GPCTree ::write Node1->Node2

cv::optflow::GPCForest::write Node1 cv::optflow::GPCForest ::write Node2 cv::optflow::GPCTree ::write Node1->Node2

create()#

static Ptr< GPCForest > cv::optflow::GPCForest::create()

Here is the call graph for this function:

cv::optflow::GPCForest::create Node1 cv::optflow::GPCForest ::create Node2 cv::makePtr Node1->Node2

cv::optflow::GPCForest::create Node1 cv::optflow::GPCForest ::create Node2 cv::makePtr Node1->Node2

Member Data Documentation#

tree#

GPCTree cv::optflow::GPCForest::tree

Source file#

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