OpenCV  4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions
cv::optflow Namespace Reference

Classes

class  DenseRLOFOpticalFlow
 Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms and sparse-to-dense interpolation scheme. More...
 
class  DualTVL1OpticalFlow
 "Dual TV L1" 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  RLOFOpticalFlowParameter
 This is used store and set up the parameters of the robust local optical flow (RLOF) algoritm. More...
 
class  SparseRLOFOpticalFlow
 Class used for calculation sparse optical flow and feature tracking with robust local optical flow (RLOF) algorithms. More...
 

Typedefs

typedef std::vector< GPCPatchSampleGPCSamplesVector
 

Enumerations

enum  GPCDescType {
  GPC_DESCRIPTOR_DCT = 0 ,
  GPC_DESCRIPTOR_WHT
}
 Descriptor types for the Global Patch Collider. More...
 
enum  InterpolationType {
  INTERP_GEO = 0 ,
  INTERP_EPIC = 1 ,
  INTERP_RIC = 2
}
 
enum  SolverType {
  ST_STANDART = 0 ,
  ST_BILINEAR = 1
}
 
enum  SupportRegionType {
  SR_FIXED = 0 ,
  SR_CROSS = 1
}
 

Functions

void calcOpticalFlowDenseRLOF (InputArray I0, InputArray I1, InputOutputArray flow, Ptr< RLOFOpticalFlowParameter > rlofParam=Ptr< RLOFOpticalFlowParameter >(), float forwardBackwardThreshold=0, Size gridStep=Size(6, 6), InterpolationType interp_type=InterpolationType::INTERP_EPIC, int epicK=128, float epicSigma=0.05f, float epicLambda=100.f, int ricSPSize=15, int ricSLICType=100, bool use_post_proc=true, float fgsLambda=500.0f, float fgsSigma=1.5f, bool use_variational_refinement=false)
 Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms and sparse-to-dense interpolation scheme.
 
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.
 
void calcOpticalFlowSparseRLOF (InputArray prevImg, InputArray nextImg, InputArray prevPts, InputOutputArray nextPts, OutputArray status, OutputArray err, Ptr< RLOFOpticalFlowParameter > rlofParam=Ptr< RLOFOpticalFlowParameter >(), float forwardBackwardThreshold=0)
 Calculates fast optical flow for a sparse feature set using the robust local optical flow (RLOF) similar to optflow::calcOpticalFlowPyrLK().
 
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.
 
Ptr< DenseOpticalFlowcreateOptFlow_DeepFlow ()
 DeepFlow optical flow algorithm implementation.
 
Ptr< DenseOpticalFlowcreateOptFlow_DenseRLOF ()
 Additional interface to the Dense RLOF algorithm - optflow::calcOpticalFlowDenseRLOF()
 
Ptr< DualTVL1OpticalFlowcreateOptFlow_DualTVL1 ()
 Creates instance of cv::DenseOpticalFlow.
 
Ptr< DenseOpticalFlowcreateOptFlow_Farneback ()
 Additional interface to the Farneback's algorithm - calcOpticalFlowFarneback()
 
Ptr< DenseOpticalFlowcreateOptFlow_PCAFlow ()
 Creates an instance of PCAFlow.
 
Ptr< DenseOpticalFlowcreateOptFlow_SimpleFlow ()
 Additional interface to the SimpleFlow algorithm - calcOpticalFlowSF()
 
Ptr< SparseOpticalFlowcreateOptFlow_SparseRLOF ()
 Additional interface to the Sparse RLOF algorithm - optflow::calcOpticalFlowSparseRLOF()
 
Ptr< DenseOpticalFlowcreateOptFlow_SparseToDense ()
 Additional interface to the SparseToDenseFlow algorithm - calcOpticalFlowSparseToDense()