http://www.emgu.com
Given a rectagle 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 (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public void MotionInfo(
	Rectangle motionRectangle,
	out double angle,
	out double motionPixelCount
)
Visual Basic
Public Sub MotionInfo ( _
	motionRectangle As Rectangle, _
	<OutAttribute> ByRef angle As Double, _
	<OutAttribute> ByRef motionPixelCount As Double _
)
Visual C++
public:
void MotionInfo(
	Rectangle motionRectangle, 
	[OutAttribute] double% angle, 
	[OutAttribute] double% motionPixelCount
)

Parameters

motionRectangle
Type: System.Drawing..::..Rectangle
The rectangle area of the motion
angle
Type: System..::..Double%
The orientation of the motion
motionPixelCount
Type: System..::..Double%
Number of motion pixels within silhoute ROI

See Also