Expand description
§Optical Flow Algorithms
Dense optical flow algorithms compute motion for each point:
- cv::optflow::calcOpticalFlowSF
- cv::optflow::createOptFlow_DeepFlow
Motion templates is alternative technique for detecting motion and computing its direction. See samples/motempl.py.
- cv::motempl::updateMotionHistory
- cv::motempl::calcMotionGradient
- cv::motempl::calcGlobalOrientation
- cv::motempl::segmentMotion
Functions reading and writing .flo files in “Middlebury” format, see: http://vision.middlebury.edu/flow/code/flow-code/README.txt
- cv::optflow::readOpticalFlow
- cv::optflow::writeOpticalFlow
Modules§
Structs§
- DenseRLOF
Optical Flow - Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms and sparse-to-dense interpolation scheme.
- DualTV
L1Optical Flow - “Dual TV L1” Optical Flow Algorithm.
- GPCDetails
- GPCMatching
Params - Class encapsulating matching parameters.
- GPCPatch
Descriptor - GPCPatch
Sample - GPCTraining
Params - Class encapsulating training parameters.
- GPCTraining
Samples - Class encapsulating training samples.
- GPCTree
- Class for individual tree.
- GPCTree_
Node - Optical
FlowPCA Flow - PCAFlow algorithm.
- 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.
- RLOF
Optical Flow Parameter - This is used store and set up the parameters of the robust local optical flow (RLOF) algoritm.
- SparseRLOF
Optical Flow - Class used for calculation sparse optical flow and feature tracking with robust local optical flow (RLOF) algorithms.
Enums§
- GPCDesc
Type - Descriptor types for the Global Patch Collider.
- Interpolation
Type - Solver
Type - Support
Region Type
Constants§
- GPC_
DESCRIPTOR_ DCT - Better quality but slow
- GPC_
DESCRIPTOR_ WHT - Worse quality but much faster
- INTERP_
EPIC - < Edge-preserving interpolation using ximgproc::EdgeAwareInterpolator, see Revaud2015,Geistert2016.
- INTERP_
GEO - < Fast geodesic interpolation, see Geistert2016
- INTERP_
RIC - < SLIC based robust interpolation using ximgproc::RICInterpolator, see Hu2017.
- SR_
CROSS - < Apply a adaptive support region obtained by cross-based segmentation as described in Senst2014
- SR_
FIXED - < Apply a constant support region
- ST_
BILINEAR - < Apply optimized iterative refinement based bilinear equation solutions as described in Senst2013
- ST_
STANDART - < Apply standard iterative refinement
Traits§
- DenseRLOF
Optical Flow Trait - Mutable methods for crate::optflow::DenseRLOFOpticalFlow
- DenseRLOF
Optical Flow Trait Const - Constant methods for crate::optflow::DenseRLOFOpticalFlow
- DualTV
L1Optical Flow Trait - Mutable methods for crate::optflow::DualTVL1OpticalFlow
- DualTV
L1Optical Flow Trait Const - Constant methods for crate::optflow::DualTVL1OpticalFlow
- GPCDetails
Trait - Mutable methods for crate::optflow::GPCDetails
- GPCDetails
Trait Const - Constant methods for crate::optflow::GPCDetails
- GPCPatch
Descriptor Trait - Mutable methods for crate::optflow::GPCPatchDescriptor
- GPCPatch
Descriptor Trait Const - Constant methods for crate::optflow::GPCPatchDescriptor
- GPCPatch
Sample Trait - Mutable methods for crate::optflow::GPCPatchSample
- GPCPatch
Sample Trait Const - Constant methods for crate::optflow::GPCPatchSample
- GPCTraining
Samples Trait - Mutable methods for crate::optflow::GPCTrainingSamples
- GPCTraining
Samples Trait Const - Constant methods for crate::optflow::GPCTrainingSamples
- GPCTree
Trait - Mutable methods for crate::optflow::GPCTree
- GPCTree
Trait Const - Constant methods for crate::optflow::GPCTree
- Optical
FlowPCA Flow Trait - Mutable methods for crate::optflow::OpticalFlowPCAFlow
- Optical
FlowPCA Flow Trait Const - Constant methods for crate::optflow::OpticalFlowPCAFlow
- PCAPrior
Trait - Mutable methods for crate::optflow::PCAPrior
- PCAPrior
Trait Const - Constant methods for crate::optflow::PCAPrior
- RLOF
Optical Flow Parameter Trait - Mutable methods for crate::optflow::RLOFOpticalFlowParameter
- RLOF
Optical Flow Parameter Trait Const - Constant methods for crate::optflow::RLOFOpticalFlowParameter
- SparseRLOF
Optical Flow Trait - Mutable methods for crate::optflow::SparseRLOFOpticalFlow
- SparseRLOF
Optical Flow Trait Const - Constant methods for crate::optflow::SparseRLOFOpticalFlow
Functions§
- calc_
global_ orientation - Calculates a global motion orientation in a selected region.
- calc_
motion_ gradient - Calculates a gradient orientation of a motion history image.
- calc_
motion_ gradient_ def - Calculates a gradient orientation of a motion history image.
- calc_
optical_ flow_ dense_ rlof - Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms and sparse-to-dense interpolation scheme.
- calc_
optical_ flow_ dense_ rlof_ def - Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms and sparse-to-dense interpolation scheme.
- calc_
optical_ flow_ sf - Calculate an optical flow using “SimpleFlow” algorithm.
- calc_
optical_ flow_ sf_ 1 - Calculate an optical flow using “SimpleFlow” algorithm.
- calc_
optical_ flow_ sparse_ rlof - Calculates fast optical flow for a sparse feature set using the robust local optical flow (RLOF) similar to optflow::calcOpticalFlowPyrLK().
- calc_
optical_ flow_ sparse_ rlof_ def - Calculates fast optical flow for a sparse feature set using the robust local optical flow (RLOF) similar to optflow::calcOpticalFlowPyrLK().
- calc_
optical_ flow_ sparse_ to_ dense - Fast dense optical flow based on PyrLK sparse matches interpolation.
- calc_
optical_ flow_ sparse_ to_ dense_ def - Fast dense optical flow based on PyrLK sparse matches interpolation.
- create_
opt_ flow_ deep_ flow - DeepFlow optical flow algorithm implementation.
- create_
opt_ flow_ dense_ rlof - Additional interface to the Dense RLOF algorithm - optflow::calcOpticalFlowDenseRLOF()
- create_
opt_ flow_ dual_ tvl1 - Creates instance of cv::DenseOpticalFlow
- create_
opt_ flow_ farneback - Additional interface to the Farneback’s algorithm - calcOpticalFlowFarneback()
- create_
opt_ flow_ pca_ flow - Creates an instance of PCAFlow
- create_
opt_ flow_ simple_ flow - Additional interface to the SimpleFlow algorithm - calcOpticalFlowSF()
- create_
opt_ flow_ sparse_ rlof - Additional interface to the Sparse RLOF algorithm - optflow::calcOpticalFlowSparseRLOF()
- create_
opt_ flow_ sparse_ to_ dense - Additional interface to the SparseToDenseFlow algorithm - calcOpticalFlowSparseToDense()
- read
- segment_
motion - Splits a motion history image into a few parts corresponding to separate independent motions (for example, left hand, right hand).
- update_
motion_ history - Updates the motion history image by a moving silhouette.
- write