C# 클래스 PredatorCV.Sources.Camera

상속: Emgu.Util.UnmanagedObject, IDuplexCapture, ICapture, ISource
파일 보기 프로젝트 열기: genecyber/PredatorCV

공개 메소드들

메소드 설명
Camera ( ) : System

Create a capture using the default camera

Camera ( String fileName ) : System

Create a capture from file or a video stream

Camera ( 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 ( CAP_PROP index ) : double

Obtain the capture property

QueryFrame ( ) : Byte>.Image

Capture a Bgr image frame

QueryFrame ( int destX, int destY, int cx, int cy ) : byte>.Image
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

SetCaptureProperty ( CAP_PROP property, double value ) : void

Sets the specified property of video capturing

보호된 메소드들

메소드 설명
DisposeObject ( ) : void

Release the resource for this capture

메소드 상세

Camera() 공개 메소드

Create a capture using the default camera
public Camera ( ) : System
리턴 System

Camera() 공개 메소드

Create a capture from file or a video stream
public Camera ( String fileName ) : System
fileName String The name of a file, or an url pointed to a stream.
리턴 System

Camera() 공개 메소드

Create a capture using the specific camera
public Camera ( int camIndex ) : System
camIndex int The index of the camera to create capture from, starting from 0
리턴 System

DisposeObject() 보호된 메소드

Release the resource for this capture
protected DisposeObject ( ) : void
리턴 void

DuplexQueryFrame() 공개 메소드

Query a frame duplexly over WCF
public DuplexQueryFrame ( ) : void
리턴 void

DuplexQuerySmallFrame() 공개 메소드

Query a small frame duplexly over WCF
public DuplexQuerySmallFrame ( ) : void
리턴 void

GetCaptureProperty() 공개 메소드

Obtain the capture property
public GetCaptureProperty ( CAP_PROP index ) : double
index CAP_PROP The index for the property
리턴 double

QueryFrame() 공개 메소드

Capture a Bgr image frame
public QueryFrame ( ) : Byte>.Image
리턴 Byte>.Image

QueryFrame() 공개 메소드

public QueryFrame ( int destX, int destY, int cx, int cy ) : byte>.Image
destX int
destY int
cx int
cy int
리턴 byte>.Image

QueryGrayFrame() 공개 메소드

Capture a Gray image frame
public QueryGrayFrame ( ) : Byte>.Image
리턴 Byte>.Image

QuerySmallFrame() 공개 메소드

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
public QuerySmallFrame ( ) : Byte>.Image
리턴 Byte>.Image

SetCaptureProperty() 공개 메소드

Sets the specified property of video capturing
public SetCaptureProperty ( CAP_PROP property, double value ) : void
property CAP_PROP Property identifier
value double Value of the property
리턴 void