Get single image from the SRV-1 Blackfin camera.
Namespace:
AForge.Robotics.SurveyorAssembly: AForge.Robotics.Surveyor (in AForge.Robotics.Surveyor.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
| C# |
|---|
public Bitmap GetImage() |
Return Value
Returns image received from the SRV-1 Blackfin camera or nullNothingnullptra null reference (Nothing in Visual Basic) if failed decoding provided response.
Remarks
The method provides single video frame retrieved from the SRV-1 Blackfin camera. However in many cases it is required to receive video frames one after another, so the GetCamera()()() method is more preferred for continuous video frames.
Exceptions
| Exception | Condition |
|---|---|
| AForge..::.NotConnectedException | Not connected to SRV-1. Connect to SRV-1 before using this method. |
| AForge..::.ConnectionLostException | Connection lost or communicaton failure. Try to reconnect. |