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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public void MotionInfo( Rectangle motionRectangle, out double angle, out double motionPixelCount ) |
Visual Basic (Declaration) |
---|
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