C# 클래스 Emgu.CV.MotionHistory

The motion history class
For help on using this class, take a look at the Motion Detection example
상속: DisposableObject
파일 보기 프로젝트 열기: fajoy/RTSPExample 1 사용 예제들

공개 메소드들

메소드 설명
GetMotionComponents ( MemStorage storage ) : Seq

Get a sequence of motion component

MotionHistory ( double mhiDuration, double maxTimeDelta, double minTimeDelta ) : System

Create a motion history object

MotionHistory ( double mhiDuration, double maxTimeDelta, double minTimeDelta, System.DateTime startTime ) : System

Create a motion history object

MotionInfo ( System motionRectangle, double &angle, double &motionPixelCount ) : void

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

Update ( Byte>.Image image ) : void

Update the motion history with the specific image and current timestamp

Update ( Byte>.Image foregroundMask, System.DateTime timestamp ) : void

Update the motion history with the specific image and the specific timestamp

보호된 메소드들

메소드 설명
DisposeObject ( ) : void

Release unmanaged resources

ReleaseManagedResources ( ) : void

Release any images associated with this object

메소드 상세

DisposeObject() 보호된 메소드

Release unmanaged resources
protected DisposeObject ( ) : void
리턴 void

GetMotionComponents() 공개 메소드

Get a sequence of motion component
public GetMotionComponents ( MemStorage storage ) : Seq
storage MemStorage The storage used by the motion components
리턴 Seq

MotionHistory() 공개 메소드

Create a motion history object
public MotionHistory ( double mhiDuration, double maxTimeDelta, double minTimeDelta ) : System
mhiDuration double In second, the duration of motion history you wants to keep
maxTimeDelta double In second. Any change happens between a time interval greater than this will not be considerred
minTimeDelta double In second. Any change happens between a time interval smaller than this will not be considerred.
리턴 System

MotionHistory() 공개 메소드

Create a motion history object
public MotionHistory ( double mhiDuration, double maxTimeDelta, double minTimeDelta, System.DateTime startTime ) : System
mhiDuration double In second, the duration of motion history you wants to keep
maxTimeDelta double In second. Any change happens between a time interval larger than this will not be considerred
minTimeDelta double In second. Any change happens between a time interval smaller than this will not be considerred.
startTime System.DateTime The start time of the motion history
리턴 System

MotionInfo() 공개 메소드

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
public MotionInfo ( System motionRectangle, double &angle, double &motionPixelCount ) : void
motionRectangle System The rectangle area of the motion
angle double The orientation of the motion
motionPixelCount double Number of motion pixels within silhoute ROI
리턴 void

ReleaseManagedResources() 보호된 메소드

Release any images associated with this object
protected ReleaseManagedResources ( ) : void
리턴 void

Update() 공개 메소드

Update the motion history with the specific image and current timestamp
public Update ( Byte>.Image image ) : void
image Byte>.Image The image to be added to history
리턴 void

Update() 공개 메소드

Update the motion history with the specific image and the specific timestamp
public Update ( Byte>.Image foregroundMask, System.DateTime timestamp ) : void
foregroundMask Byte>.Image The foreground of the image to be added to history
timestamp System.DateTime The time when the image is captured
리턴 void