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
silhouetteInputArraySilhouette mask that has non-zero pixels where the motion occurs.
mhiInputOutputArrayMotion history image that is updated by the function (single-channel, 32-bit floating-point).
timestampdoubleCurrent time in milliseconds or other units.
durationdoubleMaximal duration of the motion track in the same units as timestamp .