Click or drag to resize

CvOptFlowUpdateMotionHistory Method

Updates motion history image using the current silhouette

Namespace:  OpenCvSharp.OptFlow
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void UpdateMotionHistory(
	InputArray silhouette,
	InputOutputArray mhi,
	double timestamp,
	double 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