Method | Description | |
---|---|---|
Close ( ) : void |
Close opened camera (if any) and release allocated resources. |
|
GetImage ( ) : |
Get image from the opened XIMEA camera. The method calls GetImage(int) method specifying 5000 as the timeout value. |
|
GetImage ( int timeout ) : |
Get image from the opened XIMEA camera. The method calls GetImage(int,bool) method specifying |
|
GetImage ( int timeout, bool makeCopy ) : |
Get image from the opened XIMEA camera. If the makeCopy is set to |
|
GetParamFloat ( string parameterName ) : float |
Get camera's parameter as float value. See CameraParameter class for the list of some possible configuration parameters. See XIMEA documentation for the complete list of supported parameters. |
|
GetParamInt ( string parameterName ) : int |
Get camera's parameter as integer value. See CameraParameter class for the list of some possible configuration parameters. See XIMEA documentation for the complete list of supported parameters. |
|
GetParamString ( string parameterName ) : string |
Get camera's parameter as string value. See CameraParameter class for the list of some possible configuration parameters. See XIMEA documentation for the complete list of supported parameters. |
|
Open ( int deviceID ) : void |
Open XIMEA camera. Opens the specified XIMEA camera preparing it for starting video acquisition which is done using StartAcquisition method. The IsDeviceOpen property can be used at any time to find if a camera was opened or not. |
|
SetParam ( string parameterName, float value ) : void |
Set camera's parameter. The method allows to control different camera's parameters, like exposure time, gain value, etc. See CameraParameter class for the list of some possible configuration parameters. See XIMEA documentation for the complete list of supported parameters. |
|
SetParam ( string parameterName, int value ) : void |
Set camera's parameter. The method allows to control different camera's parameters, like exposure time, gain value, etc. See CameraParameter class for the list of some possible configuration parameters. See XIMEA documentation for the complete list of supported parameters. |
|
StartAcquisition ( ) : void |
Begin camera's work cycle and start data acquisition from it. The IsAcquisitionStarted property can be used at any time to find if the acquisition was started or not. |
|
StopAcquisition ( ) : void |
End camera's work cycle and stops data acquisition.
|
Method | Description | |
---|---|---|
CheckConnection ( ) : void | ||
HandleError ( int errorCode ) : void |
public GetImage ( int timeout ) : |
||
timeout | int | Maximum time to wait in milliseconds till image becomes available. |
return |
public GetImage ( int timeout, bool makeCopy ) : |
||
timeout | int | Maximum time to wait in milliseconds till image becomes available. |
makeCopy | bool | Make a copy of the camera's image or not. |
return |
public GetParamFloat ( string parameterName ) : float | ||
parameterName | string | Parameter name to get from camera. |
return | float |
public GetParamInt ( string parameterName ) : int | ||
parameterName | string | Parameter name to get from camera. |
return | int |
public GetParamString ( string parameterName ) : string | ||
parameterName | string | Parameter name to get from camera. |
return | string |
public Open ( int deviceID ) : void | ||
deviceID | int | Camera ID to open. |
return | void |
public SetParam ( string parameterName, float value ) : void | ||
parameterName | string | Parameter name. |
value | float | Float parameter value. |
return | void |
public SetParam ( string parameterName, int value ) : void | ||
parameterName | string | Parameter name. |
value | int | Integer parameter value. |
return | void |