Class DenseRLOFOpticalFlow
- Namespace
- OpenCvSharp.OptFlow
- Assembly
- OpenCvSharp.dll
Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms and sparse-to-dense interpolation scheme.
public class DenseRLOFOpticalFlow : DenseOpticalFlow, IDisposable
- Inheritance
-
DenseRLOFOpticalFlow
- Implements
- Inherited Members
Properties
EpicK
See ximgproc::EdgeAwareInterpolator's K value: number of nearest-neighbor matches considered when fitting a locally affine model.
public int EpicK { get; set; }
Property Value
EpicLambda
See ximgproc::EdgeAwareInterpolator's lambda value.
public float EpicLambda { get; set; }
Property Value
EpicSigma
See ximgproc::EdgeAwareInterpolator's sigma value.
public float EpicSigma { get; set; }
Property Value
FgsLambda
See ximgproc::fastGlobalSmootherFilter's lambda parameter.
public float FgsLambda { get; set; }
Property Value
FgsSigma
See ximgproc::fastGlobalSmootherFilter's sigma parameter.
public float FgsSigma { get; set; }
Property Value
ForwardBackward
Threshold for the forward backward confidence check.
public float ForwardBackward { get; set; }
Property Value
GridStep
Size of the grid to spawn the motion vectors.
public Size GridStep { get; set; }
Property Value
Interpolation
Interpolation used to compute the dense optical flow.
public InterpolationType Interpolation { get; set; }
Property Value
RLOFOpticalFlowParameter
Configuration of the RLOF algorithm.
public RLOFOpticalFlowParameter RLOFOpticalFlowParameter { get; set; }
Property Value
RicSlicType
Superpixel algorithm variant used for oversegmentation (see ximgproc::SLICType: SLIC=100, SLICO=101, MSLIC=102).
public int RicSlicType { get; set; }
Property Value
RicSpSize
Approximate size of the superpixel used for oversegmentation, see ximgproc::RICInterpolator.
public int RicSpSize { get; set; }
Property Value
UsePostProc
Enables ximgproc::fastGlobalSmootherFilter post-processing.
public bool UsePostProc { get; set; }
Property Value
UseVariationalRefinement
Enables VariationalRefinement.
public bool UseVariationalRefinement { get; set; }
Property Value
Methods
Create(RLOFOpticalFlowParameter?, float, Size?, InterpolationType, int, float, float, int, int, bool, float, float, bool)
Creates an instance of optflow::DenseRLOFOpticalFlow.
public static DenseRLOFOpticalFlow Create(RLOFOpticalFlowParameter? rlofParam = null, float forwardBackwardThreshold = 1, Size? gridStep = null, InterpolationType interpType = InterpolationType.EPIC, int epicK = 128, float epicSigma = 0.05, float epicLambda = 999, int ricSpSize = 15, int ricSlicType = 100, bool usePostProc = true, float fgsLambda = 500, float fgsSigma = 1.5, bool useVariationalRefinement = false)
Parameters
rlofParamRLOFOpticalFlowParameterSee RLOFOpticalFlowParameter. Uses the algorithm's defaults when null.
forwardBackwardThresholdfloatSee ForwardBackward.
gridStepSize?See GridStep.
interpTypeInterpolationTypeSee Interpolation.
epicKintSee EpicK.
epicSigmafloatSee EpicSigma.
epicLambdafloatSee EpicLambda.
ricSpSizeintSee RicSpSize.
ricSlicTypeintSee RicSlicType.
usePostProcboolSee UsePostProc.
fgsLambdafloatSee FgsLambda.
fgsSigmafloatSee FgsSigma.
useVariationalRefinementbool