Method | Description | |
---|---|---|
Capture ( ) : System |
Create a capture using the default camera
|
|
Capture ( CvEnum captureType ) : System |
Create a capture using the specific camera
|
|
Capture ( String fileName ) : System |
Create a capture from file or a video stream
|
|
Capture ( int camIndex ) : System |
Create a capture using the specific camera
|
|
DuplexQueryFrame ( ) : void |
Query a frame duplexly over WCF
|
|
DuplexQuerySmallFrame ( ) : void |
Query a small frame duplexly over WCF
|
|
GetCaptureProperty ( CvEnum index ) : double |
Obtain the capture property
|
|
Grab ( ) : bool |
Grab a frame
|
|
Pause ( ) : void |
Pause the grab process if it is running.
|
|
QueryFrame ( ) : Byte>.Image |
Capture a Bgr image frame
|
|
QueryGrayFrame ( ) : Byte>.Image |
Capture a Gray image frame
|
|
QuerySmallFrame ( ) : Byte>.Image |
Capture a Bgr image frame that is half width and half height. Mainly used by WCF when sending image to remote locations in a bandwidth conservative scenario Internally, this is a cvQueryFrame operation follow by a cvPyrDown |
|
RetrieveBgrFrame ( ) : Byte>.Image |
Retrieve a Bgr image frame after Grab()
|
|
RetrieveBgrFrame ( int streamIdx ) : Byte>.Image |
Retrieve a Bgr image frame after Grab()
|
|
RetrieveGrayFrame ( ) : Byte>.Image |
Retrieve a Gray image frame after Grab()
|
|
RetrieveGrayFrame ( int streamIdx ) : Byte>.Image |
Retrieve a Gray image frame after Grab()
|
|
SetCaptureProperty ( CvEnum property, double value ) : void |
Sets the specified property of video capturing
|
|
Start ( ) : void |
Start the grab process in a sperate thread. Once started, use the ImageGrabbed event handler and RetrieveGrayFrame/RetrieveBgrFrame to obtain the images.
|
|
Stop ( ) : void |
Stop the grabbing thread
|
|
Wait ( ) : void |
Wait for the grabbing thread to complete
|
Method | Description | |
---|---|---|
DisposeObject ( ) : void |
Release the resource for this capture
|
Method | Description | |
---|---|---|
Run ( ) : void |
public Capture ( CvEnum captureType ) : System | ||
captureType | CvEnum | The capture type |
return | System |
public Capture ( String fileName ) : System | ||
fileName | String | The name of a file, or an url pointed to a stream. |
return | System |
public Capture ( int camIndex ) : System | ||
camIndex | int | The index of the camera to create capture from, starting from 0 |
return | System |
public GetCaptureProperty ( CvEnum index ) : double | ||
index | CvEnum | The index for the property |
return | double |
public RetrieveBgrFrame ( int streamIdx ) : Byte>.Image |
||
streamIdx | int | Stream index |
return | Byte>.Image |
public RetrieveGrayFrame ( int streamIdx ) : Byte>.Image |
||
streamIdx | int | Stream index. Use 0 for default. |
return | Byte>.Image |
public SetCaptureProperty ( CvEnum property, double value ) : void | ||
property | CvEnum | Property identifier |
value | double | Value of the property |
return | void |