| CvOptFlowCalcOpticalFlowSF Method (InputArray, InputArray, OutputArray, Int32, Int32, Int32) |
computes dense optical flow using Simple Flow algorithm
Namespace:
OpenCvSharp.OptFlow
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void CalcOpticalFlowSF(
InputArray from,
InputArray to,
OutputArray flow,
int layers,
int averagingBlockSize,
int maxFlow
)
Public Shared Sub CalcOpticalFlowSF (
from As InputArray,
to As InputArray,
flow As OutputArray,
layers As Integer,
averagingBlockSize As Integer,
maxFlow As Integer
)
public:
static void CalcOpticalFlowSF(
InputArray^ from,
InputArray^ to,
OutputArray^ flow,
int layers,
int averagingBlockSize,
int maxFlow
)
static member CalcOpticalFlowSF :
from : InputArray *
to : InputArray *
flow : OutputArray *
layers : int *
averagingBlockSize : int *
maxFlow : int -> unit
Parameters
- from
- Type: OpenCvSharpInputArray
First 8-bit 3-channel image. - to
- Type: OpenCvSharpInputArray
Second 8-bit 3-channel image - flow
- Type: OpenCvSharpOutputArray
Estimated flow - layers
- Type: SystemInt32
Number of layers - averagingBlockSize
- Type: SystemInt32
Size of block through which we sum up when calculate cost function for pixel - maxFlow
- Type: SystemInt32
maximal flow that we search at each level
See Also