cv.DISOpticalFlow - MATLAB File Help Go to online doc for cv.DISOpticalFlow
cv.DISOpticalFlow

DIS optical flow algorithm

This class implements the Dense Inverse Search (DIS) optical flow algorithm. More details about the algorithm can be found at [Kroeger2016]. Includes three presets with preselected parameters to provide reasonable trade-off between speed and quality. However, even the slowest preset is still relatively fast, use cv.calcOpticalFlowDF if you need better quality and don't care about speed.

This implementation includes several additional features compared to the algorithm described in the paper, including spatial propagation of flow vectors (cv.DISOpticalFlow.UseSpatialPropagation), as well as an option to utilize an initial flow approximation passed to cv.DISOpticalFlow.calc (which is, essentially, temporal propagation, if the previous frame's flow field is passed).

References

[Kroeger2016]:

Till Kroeger, Radu Timofte, Dengxin Dai, and Luc Van Gool. "Fast optical flow using dense inverse search". In Proceedings of the European Conference on Computer Vision (ECCV), 2016.

See also
Class Details
Superclasses handle
Sealed false
Construct on load false
Constructor Summary
DISOpticalFlow Creates an instance of DISOpticalFlow 
Property Summary
FinestScale Finest level of the Gaussian pyramid on which the flow is computed 
GradientDescentIterations Maximum number of gradient descent iterations in the patch inverse 
PatchSize Size of an image patch for matching (in pixels). Normally, default 
PatchStride Stride between neighbor patches. Must be less than patch size. Lower 
UseMeanNormalization Whether to use mean-normalization of patches when computing patch 
UseSpatialPropagation Whether to use spatial propagation of good optical flow vectors. 
VariationalRefinementAlpha Weight of the smoothness term. 
VariationalRefinementDelta Weight of the color constancy term. 
VariationalRefinementGamma Weight of the gradient constancy term. 
VariationalRefinementIterations Number of fixed point iterations of variational refinement per scale. 
id Object ID 
Method Summary
  addlistener Add listener for event. 
  calc Calculates an optical flow 
  collectGarbage Releases all inner buffers 
  delete Destructor 
  eq == (EQ) Test handle equality. 
  findobj Find objects matching specified conditions. 
  findprop Find property of MATLAB handle object. 
  ge >= (GE) Greater than or equal relation for handles. 
  gt > (GT) Greater than relation for handles. 
Sealed   isvalid Test handle validity. 
  le <= (LE) Less than or equal relation for handles. 
  listener Add listener for event without binding the listener to the source object. 
  lt < (LT) Less than relation for handles. 
  ne ~= (NE) Not equal relation for handles. 
  notify Notify listeners of event. 
Event Summary
ObjectBeingDestroyed Notifies listeners that a particular object has been destroyed.