http://www.emgu.com

The Capture type exposes the following members.

Constructors

  NameDescription
Public methodCapture()()()()
Create a capture using the default camera
Public methodCapture(Int32)
Create a capture using the specific camera
Public methodCapture(String)
Create a capture from file or a video stream
Public methodCapture(CaptureType)
Create a capture using the specific camera

Methods

  NameDescription
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the resource for this capture
(Overrides DisposableObject..::..DisposeObject()()()().)
Public methodDuplexQueryFrame
Query a frame duplexly over WCF
Public methodDuplexQuerySmallFrame
Query a small frame duplexly over WCF
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetCaptureProperty
Obtain the capture property
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodGrab
Grab a frame
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPause
Pause the grab process if it is running.
Public methodQueryFrame
Capture a Bgr image frame
Public methodQueryGrayFrame
Capture a Gray image frame
Public methodQuerySmallFrame
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
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodRetrieveBgrFrame()()()()
Retrieve a Bgr image frame after Grab()
Public methodRetrieveBgrFrame(Int32)
Retrieve a Bgr image frame after Grab()
Public methodRetrieveGrayFrame()()()()
Retrieve a Gray image frame after Grab()
Public methodRetrieveGrayFrame(Int32)
Retrieve a Gray image frame after Grab()
Public methodSetCaptureProperty
Sets the specified property of video capturing
Public methodStart
Start the grab process in a sperate thread. Once started, use the ImageGrabbed event handler and RetrieveGrayFrame/RetrieveBgrFrame to obtain the images.
Public methodStop
Stop the grabbing thread
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Fields

  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)

Properties

  NameDescription
Public propertyCaptureSource
Get the type of the capture module
Public propertyFlipHorizontal
Get or Set if the captured image should be flipped horizontally
Public propertyFlipType
Get and set the flip type
Public propertyFlipVertical
Get or Set if the captured image should be flipped vertically
Public propertyHeight
The height of this capture
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public propertyWidth
The width of this capture

Events

  NameDescription
Public eventImageGrabbed
The event to be called when an image is grabbed

See Also