Click or drag to resize

CvOptFlowSegmentMotion Method

Splits a motion history image into a few parts corresponding to separate independent motions (for example, left hand, right hand).

Namespace:  OpenCvSharp.OptFlow
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void SegmentMotion(
	InputArray mhi,
	OutputArray segmask,
	out Rect[] boundingRects,
	double timestamp,
	double segThresh
)

Parameters

mhi
Type: OpenCvSharpInputArray
Motion history image.
segmask
Type: OpenCvSharpOutputArray
Image where the found mask should be stored, single-channel, 32-bit floating-point.
boundingRects
Type: OpenCvSharpRect
Vector containing ROIs of motion connected components.
timestamp
Type: SystemDouble
Current time in milliseconds or other units.
segThresh
Type: SystemDouble
Segmentation threshold that is recommended to be equal to the interval between motion history “steps” or greater.
See Also