[][src]Function opencv::optflow::create_opt_flow_deep_flow

pub fn create_opt_flow_deep_flow() -> Result<Ptr<dyn DenseOpticalFlow>>

DeepFlow optical flow algorithm implementation.

The class implements the DeepFlow optical flow algorithm described in Weinzaepfel2013 . See also http://lear.inrialpes.fr/src/deepmatching/ . Parameters - class fields - that may be modified after creating a class instance:

  • member float alpha Smoothness assumption weight
  • member float delta Color constancy assumption weight
  • member float gamma Gradient constancy weight
  • member float sigma Gaussian smoothing parameter
  • member int minSize Minimal dimension of an image in the pyramid (next, smaller images in the pyramid are generated until one of the dimensions reaches this size)
  • member float downscaleFactor Scaling factor in the image pyramid (must be < 1)
  • member int fixedPointIterations How many iterations on each level of the pyramid
  • member int sorIterations Iterations of Succesive Over-Relaxation (solver)
  • member float omega Relaxation factor in SOR