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)
Syntaxpublic void MotionInfo(
Mat forgroundMask,
Rectangle motionRectangle,
out double angle,
out double motionPixelCount
)
Public Sub MotionInfo (
forgroundMask As Mat,
motionRectangle As Rectangle,
<OutAttribute> ByRef angle As Double,
<OutAttribute> ByRef motionPixelCount As Double
)
public:
void MotionInfo(
Mat^ forgroundMask,
Rectangle motionRectangle,
[OutAttribute] double% angle,
[OutAttribute] double% motionPixelCount
)
member MotionInfo :
forgroundMask : Mat *
motionRectangle : Rectangle *
angle : float byref *
motionPixelCount : float byref -> unit
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