CvOptFlowUpdateMotionHistory Method
|
Updates motion history image using the current silhouette
Namespace:
OpenCvSharp.OptFlow
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static void UpdateMotionHistory(
InputArray silhouette,
InputOutputArray mhi,
double timestamp,
double duration
)
Public Shared Sub UpdateMotionHistory (
silhouette As InputArray,
mhi As InputOutputArray,
timestamp As Double,
duration As Double
)
public:
static void UpdateMotionHistory(
InputArray^ silhouette,
InputOutputArray^ mhi,
double timestamp,
double duration
)
static member UpdateMotionHistory :
silhouette : InputArray *
mhi : InputOutputArray *
timestamp : float *
duration : float -> unit
OpenCvSharp.OptFlow.CvOptFlow.UpdateMotionHistory = function(silhouette, mhi, timestamp, duration);
Parameters
- silhouette
- Type: OpenCvSharpInputArray
Silhouette mask that has non-zero pixels where the motion occurs. - mhi
- Type: OpenCvSharpInputOutputArray
Motion history image that is updated by the function (single-channel, 32-bit floating-point). - timestamp
- Type: SystemDouble
Current time in milliseconds or other units. - duration
- Type: SystemDouble
Maximal duration of the motion track in the same units as timestamp .
See Also