Table of Contents

Method UpdateMotionHistory

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

UpdateMotionHistory(InputArray, InputOutputArray, double, double)

Updates motion history image using the current silhouette

public static void UpdateMotionHistory(InputArray silhouette, InputOutputArray mhi, double timestamp, double duration)

Parameters

silhouette InputArray

Silhouette mask that has non-zero pixels where the motion occurs.

mhi InputOutputArray

Motion history image that is updated by the function (single-channel, 32-bit floating-point).

timestamp double

Current time in milliseconds or other units.

duration double

Maximal duration of the motion track in the same units as timestamp .