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.2.1.1150 (2.2.1.1150)

Syntax

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

Parameters

motionRectangle
Rectangle
The rectangle area of the motion
angle
Double%
The orientation of the motion
motionPixelCount
Double%
Number of motion pixels within silhoute ROI

See Also