15
C
AMERA
S
UPPORT
L
IBRARY
C
AM
L
IB
For the purposes of automatic brightness adjustments, an application can specify the minimum and
maximum boundaries for the image integration time. By default, the minimum image integration time is
set to 10 µs and the maximum is set to 8000 µs.
If the camera is running in the video mode, it must be stopped or paused before changing the image
integration time. To change the boundaries for the image integration time, the camera must be stopped.
If the camera is running in the video mode, it must be stopped or paused before changing this property.
camSetIntegrationDuration
This function sets the camera’s image integration time, in microseconds.
Prototype:
int camSetIntegrationDuration (int cam_handle, long time_µs);
Parameters:
cam_handle - [in] handle to the camera device returned by the camOpen function.
time_µs - [in] image integration (exposure) time, in microseconds.
Return Value:
0: Success; -1: Failure
camGetIntegrationDuration
This function returns the current value of camera’s image integration time, in microseconds.
Prototype:
int camGetIntegrationDuration (int cam_handle, long *time_µs);
Parameters:
cam_handle - [in] handle to the camera device returned by the camOpen function.
time_µs - [out] image integration (exposure) time, in microseconds.
Return Value:
0: Success; -1: Failure
camSetAutoExpoRange
This function sets the minimum and maximum boundaries for the image integration time during an
execution of the automatic brightness adjustment, see the function camAdjustBrightness() for more
details.
Prototype:
int camSetAutoExpoRange (int cam_handle, long min_time_µs, long max_time_µs);
Parameters:
cam_handle - [in] handle to the camera device returned by the camOpen function.
min_time_µs - [in] minimum image integration (exposure) time, in microseconds.
max_time_µs - [in] maximum image integration (exposure) time, in microseconds.
Return Value:
0: Success; -1: Failure