The VideoCapture type exposes the following members.
Methods
Name | Description | |
---|---|---|
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
FromCamera(Int32) |
Allocates and initialized the CvCapture structure for reading a video stream from the camera.
Currently two camera interfaces can be used on Windows: Video for Windows (VFW) and Matrox Imaging Library (MIL); and two on Linux: V4L and FireWire (IEEE1394).
| |
FromCamera(CaptureDevice) |
Allocates and initialized the CvCapture structure for reading a video stream from the camera.
Currently two camera interfaces can be used on Windows: Video for Windows (VFW) and Matrox Imaging Library (MIL); and two on Linux: V4L and FireWire (IEEE1394).
| |
FromCamera(CaptureDevice, Int32) |
Allocates and initialized the CvCapture structure for reading a video stream from the camera.
Currently two camera interfaces can be used on Windows: Video for Windows (VFW) and Matrox Imaging Library (MIL); and two on Linux: V4L and FireWire (IEEE1394).
| |
FromFile |
Allocates and initialized the CvCapture structure for reading the video stream from the specified file.
After the allocated structure is not used any more it should be released by cvReleaseCapture function.
| |
Get(Int32) |
Retrieves the specified property of camera or video file.
| |
Get(CaptureProperty) |
Retrieves the specified property of camera or video file.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Grab |
Grabs the frame from camera or file. The grabbed frame is stored internally.
The purpose of this function is to grab frame fast that is important for syncronization in case of reading from several cameras simultaneously.
The grabbed frames are not exposed because they may be stored in compressed format (as defined by camera/driver).
To retrieve the grabbed frame, cvRetrieveFrame should be used.
| |
IsOpened |
Returns true if video capturing has been initialized already.
| |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
Open(Int32) |
Allocates and initialized the CvCapture structure for reading a video stream from the camera.
Currently two camera interfaces can be used on Windows: Video for Windows (VFW) and Matrox Imaging Library (MIL); and two on Linux: V4L and FireWire (IEEE1394).
| |
Open(String) |
Opens the specified video file
| |
Open(CaptureDevice) |
Allocates and initialized the CvCapture structure for reading a video stream from the camera.
Currently two camera interfaces can be used on Windows: Video for Windows (VFW) and Matrox Imaging Library (MIL); and two on Linux: V4L and FireWire (IEEE1394).
| |
Open(CaptureDevice, Int32) |
Allocates and initialized the CvCapture structure for reading a video stream from the camera.
Currently two camera interfaces can be used on Windows: Video for Windows (VFW) and Matrox Imaging Library (MIL); and two on Linux: V4L and FireWire (IEEE1394).
| |
Read |
Grabs a frame from camera or video file, decompresses and returns it.
This function is just a combination of cvGrabFrame and cvRetrieveFrame in one call.
The returned image should not be released or modified by user.
| |
Release |
Closes video file or capturing device.
| |
Retrieve(Mat, CameraChannels) |
Returns the pointer to the image grabbed with cvGrabFrame function.
The returned image should not be released or modified by user.
| |
Retrieve(Mat, Int32) |
Returns the pointer to the image grabbed with cvGrabFrame function.
| |
Set(Int32, Double) |
Sets the specified property of video capturing.
| |
Set(CaptureProperty, Double) |
Sets the specified property of video capturing.
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | (Inherited from Object.) |
See Also