Click or drag to resize
VariationalRefinement Class
This class implements variational refinement of the input flow field, i.e. it uses input flow to initialize the minimization of the following functional: E(U)=∫ΩδΨ(EI)+γΨ(EG)+αΨ(ES), where EI,EG,ES are color constancy, gradient constancy and smoothness terms respectively. Ψ(s2)=sqrt(s^2+ϵ^2) is a robust penalizer to limit the influence of outliers.
Inheritance Hierarchy

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public class VariationalRefinement : UnmanagedObject, 
	IDenseOpticalFlow, IAlgorithm

The VariationalRefinement type exposes the following members.

Public methodVariationalRefinement
Create an instance of Variational Refinement.
Public propertyAlgorithmPtr
Pointer to the unmanaged cv::Algorithm
Public propertyAlpha
Weight of the smoothness term
Public propertyDelta
Weight of the color constancy term
Public propertyDenseOpticalFlowPtr
Pointer to the unmanaged cv::DenseOpticalFlow
Public propertyFixedPointIterations
Number of outer (fixed-point) iterations in the minimization procedure.
Public propertyGamma
Weight of the gradient constancy term
Public propertyOmega
Relaxation factor in SOR
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public propertySorIterations
Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system.
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the unmanaged memory associated with this Optical flow algorithm.
(Overrides DisposableObjectDisposeObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
(Inherited from DisposableObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Extension Methods
Public Extension MethodCalc
Calculates an optical flow.
(Defined by DenseOpticalFlowExtensions.)
Public Extension MethodRead
Reads algorithm parameters from a file storage.
(Defined by AlgorithmExtensions.)
Public Extension MethodWrite
Stores algorithm parameters in a file storage
(Defined by AlgorithmExtensions.)
See: Thomas Brox, Andres Bruhn, Nils Papenberg, and Joachim Weickert. High accuracy optical flow estimation based on a theory for warping. In Computer Vision-ECCV 2004, pages 25–36. Springer, 2004.
See Also