Click or drag to resize
MotionHistoryMotionInfo Method
http://www.emgu.com
Given a rectangle area of the motion, output the angle of the motion and the number of pixels that are considered to be motion pixel

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.3.0.2824 (3.3.0.2824)
Syntax
public void MotionInfo(
	Mat forgroundMask,
	Rectangle motionRectangle,
	out double angle,
	out double motionPixelCount
)

Parameters

forgroundMask
Type: Emgu.CVMat
The foreground mask used to calculate the motion info.
motionRectangle
Type: System.DrawingRectangle
The rectangle area of the motion
angle
Type: SystemDouble
The orientation of the motion
motionPixelCount
Type: SystemDouble
Number of motion pixels within silhouette ROI
See Also