The motion history class
| C# | Visual Basic | Visual C++ |
public class MotionHistory : DisposableObject
Public Class MotionHistory _ Inherits DisposableObject
public ref class MotionHistory : public DisposableObject
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| MotionHistory(Int32, Int32, Double, Double, Double) |
Create a motion history object
| |
| MotionHistory(Int32, Int32, Double, Double, Double, DateTime) |
Create a motion history object
| |
| Dispose()()() |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) | |
| Dispose(Boolean) |
Release the all the memory associate with this object
(Inherited from DisposableObject.) | |
| DisposeObject()()() |
Release any images associated with this object
(Overrides DisposableObject.DisposeObject()()().) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Destructor
(Inherited from DisposableObject.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetMotionComponents(MemStorage) |
Get a sequence of motion component
| |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Mask |
The motion mask.
Do not dispose this image.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MotionInfo(Rectangle, Double%, Double%) |
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
| |
| SegmentMask |
The Motion Segment Mask.
Same as the seg_mask in cvSegmentMotion function
Do not dispose this image.
| |
| ToString()()() | (Inherited from Object.) | |
| Update(Image<(Of <(Gray, Byte>)>)) |
Update the motion history with the specific image and current timestamp
| |
| Update(Image<(Of <(Gray, Byte>)>), DateTime) |
Update the motion history with the specific image and the specific timestamp
|
For help on using this class, take a look at the Motion Detection example
| Object | ||
| DisposableObject | ||
| MotionHistory | ||