OpenCV  3.4.8
Open Source Computer Vision
Classes | Typedefs | Enumerations | Functions
cv::optflow Namespace Reference

Classes

class  DISOpticalFlow
 DIS optical flow algorithm. More...
 
class  GPCDetails
 
class  GPCForest
 
struct  GPCMatchingParams
 Class encapsulating matching parameters. More...
 
struct  GPCPatchDescriptor
 
struct  GPCPatchSample
 
struct  GPCTrainingParams
 Class encapsulating training parameters. More...
 
class  GPCTrainingSamples
 Class encapsulating training samples. More...
 
class  GPCTree
 Class for individual tree. More...
 
class  OpticalFlowPCAFlow
 PCAFlow algorithm. More...
 
class  PCAPrior
 This class can be used for imposing a learned prior on the resulting optical flow. Solution will be regularized according to this prior. You need to generate appropriate prior file with "learn_prior.py" script beforehand. More...
 
class  VariationalRefinement
 Variational optical flow refinement. More...
 

Typedefs

typedef std::vector< GPCPatchSampleGPCSamplesVector
 

Enumerations

enum  GPCDescType {
  GPC_DESCRIPTOR_DCT = 0,
  GPC_DESCRIPTOR_WHT
}
 Descriptor types for the Global Patch Collider. More...
 

Functions

void calcOpticalFlowSF (InputArray from, InputArray to, OutputArray flow, int layers, int averaging_block_size, int max_flow)
 
void calcOpticalFlowSF (InputArray from, InputArray to, OutputArray flow, int layers, int averaging_block_size, int max_flow, double sigma_dist, double sigma_color, int postprocess_window, double sigma_dist_fix, double sigma_color_fix, double occ_thr, int upscale_averaging_radius, double upscale_sigma_dist, double upscale_sigma_color, double speed_up_thr)
 Calculate an optical flow using "SimpleFlow" algorithm. More...
 
void calcOpticalFlowSparseToDense (InputArray from, InputArray to, OutputArray flow, int grid_step=8, int k=128, float sigma=0.05f, bool use_post_proc=true, float fgs_lambda=500.0f, float fgs_sigma=1.5f)
 Fast dense optical flow based on PyrLK sparse matches interpolation. More...
 
Ptr< DenseOpticalFlowcreateOptFlow_DeepFlow ()
 DeepFlow optical flow algorithm implementation. More...
 
Ptr< DISOpticalFlowcreateOptFlow_DIS (int preset=DISOpticalFlow::PRESET_FAST)
 Creates an instance of DISOpticalFlow. More...
 
Ptr< DenseOpticalFlowcreateOptFlow_Farneback ()
 Additional interface to the Farneback's algorithm - calcOpticalFlowFarneback() More...
 
Ptr< DenseOpticalFlowcreateOptFlow_PCAFlow ()
 Creates an instance of PCAFlow. More...
 
Ptr< DenseOpticalFlowcreateOptFlow_SimpleFlow ()
 Additional interface to the SimpleFlow algorithm - calcOpticalFlowSF() More...
 
Ptr< DenseOpticalFlowcreateOptFlow_SparseToDense ()
 Additional interface to the SparseToDenseFlow algorithm - calcOpticalFlowSparseToDense() More...
 
Ptr< VariationalRefinementcreateVariationalFlowRefinement ()
 Creates an instance of VariationalRefinement. More...
 
Mat readOpticalFlow (const String &path)
 Read a .flo file. More...
 
bool writeOpticalFlow (const String &path, InputArray flow)
 Write a .flo to disk. More...