Class RLOFOpticalFlowParameter
- Namespace
- OpenCvSharp.OptFlow
- Assembly
- OpenCvSharp.dll
Stores and sets up the parameters of the robust local optical flow (RLOF) algorithm.
public class RLOFOpticalFlowParameter : CvPtrObject, IDisposable
- Inheritance
-
RLOFOpticalFlowParameter
- Implements
- Inherited Members
Constructors
RLOFOpticalFlowParameter()
Creates a new set of RLOF parameters, initialized to the algorithm's defaults.
public RLOFOpticalFlowParameter()
Properties
CrossSegmentationThreshold
Color similarity threshold used by cross-based segmentation. Only used if SupportRegionType is Cross.
public int CrossSegmentationThreshold { get; set; }
Property Value
GlobalMotionRansacThreshold
Reprojection threshold (n-th percentile of the motion vectors magnitude, [0 .. 100]) used by the RANSAC homography estimation for the global motion prior.
public float GlobalMotionRansacThreshold { get; set; }
Property Value
LargeWinSize
Maximal window size of the support region. If SupportRegionType is Fixed this gives the exact support region size.
public int LargeWinSize { get; set; }
Property Value
MaxIteration
Number of maximal iterations used for the iterative refinement.
public int MaxIteration { get; set; }
Property Value
MaxLevel
Maximal number of pyramid levels used.
public int MaxLevel { get; set; }
Property Value
MinEigenValue
Threshold for the minimal eigenvalue of the gradient matrix, defining when to abort the iterative refinement.
public float MinEigenValue { get; set; }
Property Value
NormSigma0
Sigma parameter of the shrunk Hampel norm. If set to float.MaxValue the least-square estimator is used instead of the M-estimator.
public float NormSigma0 { get; set; }
Property Value
NormSigma1
Sigma parameter of the shrunk Hampel norm. If set to float.MaxValue the least-square estimator is used instead of the M-estimator.
public float NormSigma1 { get; set; }
Property Value
SmallWinSize
Minimal window size of the support region. Only used if SupportRegionType is Cross.
public int SmallWinSize { get; set; }
Property Value
SolverType
Iterative refinement strategy.
public SolverType SolverType { get; set; }
Property Value
SupportRegionType
Support region shape extraction / shrinking strategy.
public SupportRegionType SupportRegionType { get; set; }
Property Value
UseGlobalMotionPrior
Use global motion prior initialization for the iterative refinement.
public bool UseGlobalMotionPrior { get; set; }
Property Value
UseIlluminationModel
Use the Gennert and Negahdaripour illumination model instead of the intensity brightness constraint.
public bool UseIlluminationModel { get; set; }
Property Value
UseInitialFlow
Use the next point list as initial values.
public bool UseInitialFlow { get; set; }
Property Value
Methods
SetUseMEstimator(bool)
Enables the M-estimator by setting the norm sigma parameters to (3.2, 7.0), or disables it (least-square estimator, faster but less robust against outliers in the support region).
public void SetUseMEstimator(bool val)
Parameters
valboolIf true, the M-estimator is used. If false, the least-square estimator is used.