Camgetautoexporange, Readout order, Camsetreadoutorder – Metrologic Instruments IS4910 Series User Manual

Page 22: Camgetreadoutorder, Amera, Upport, Ibrary

Advertising
background image

16

C

AMERA

S

UPPORT

L

IBRARY

C

AM

L

IB

camGetAutoExpoRange

This function returns 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 camGetAutoExpoRange (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 - [out] minimum image integration (exposure) time, in microseconds.
max_time_µs - [out] maximum image integration (exposure) time, in microseconds.

Return Value:
0: Success; -1: Failure

Readout Order

The readout order is a camera parameter that controls the order in which pixels are transferred from the
image sensor.

By default, if not specified otherwise in the IS4910 device driver initialization file VuQuest2D.ini, the image
is transferred horizontally from left to right, and vertically from top to bottom. The readout order can be
reversed for any or both of these directions.

If the camera is running in the video mode, it must be stopped before changing this property.

camSetReadoutOrder

This function sets the order in which pixels are transferred from the image sensor.

Prototype:

int camSetReadoutOrder (int cam_handle, int reverse_left_right, int reverse_top_bottom);

Parameters:

cam_handle

- [in] handle to the camera device returned by the camOpen function.

reverse_left_right - [in] 0 if normal readout from left to right, or 1 if inverted.
reverse_top_bottom - [in] 0 if normal readout from top to bottom, or 1 if inverted.

Return Value:

0: Success; -1: Failure

camGetReadoutOrder

This function returns the order in which pixels are transferred from the image sensor.

Prototype:

int camGetReadoutOrder (int cam_handle, int *reverse_left_right, int *reverse_top_bottom);

Advertising