OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::optflow::GPCTrainingParams Struct Reference

Class encapsulating training parameters. More...

#include <opencv2/optflow/sparse_matching_gpc.hpp>

Collaboration diagram for cv::optflow::GPCTrainingParams:

Public Member Functions

 GPCTrainingParams (unsigned _maxTreeDepth=20, int _minNumberOfSamples=3, GPCDescType _descriptorType=GPC_DESCRIPTOR_DCT, bool _printProgress=true)
 
bool check () const
 

Public Attributes

int descriptorType
 Type of descriptors to use.
 
unsigned maxTreeDepth
 Maximum tree depth to stop partitioning.
 
int minNumberOfSamples
 Minimum number of samples in the node to stop partitioning.
 
bool printProgress
 Print progress to stdout.
 

Detailed Description

Class encapsulating training parameters.

Constructor & Destructor Documentation

◆ GPCTrainingParams()

cv::optflow::GPCTrainingParams::GPCTrainingParams ( unsigned _maxTreeDepth = 20,
int _minNumberOfSamples = 3,
GPCDescType _descriptorType = GPC_DESCRIPTOR_DCT,
bool _printProgress = true )
inline
Here is the call graph for this function:

Member Function Documentation

◆ check()

bool cv::optflow::GPCTrainingParams::check ( ) const
inline

Member Data Documentation

◆ descriptorType

int cv::optflow::GPCTrainingParams::descriptorType

Type of descriptors to use.

◆ maxTreeDepth

unsigned cv::optflow::GPCTrainingParams::maxTreeDepth

Maximum tree depth to stop partitioning.

◆ minNumberOfSamples

int cv::optflow::GPCTrainingParams::minNumberOfSamples

Minimum number of samples in the node to stop partitioning.

◆ printProgress

bool cv::optflow::GPCTrainingParams::printProgress

Print progress to stdout.


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