SightLine Applications Command, Control, and Script API  v3.4
List of all members
SLACurrentDigitalCameraParameters_t Struct Reference

Description

Return parameters of currently selected digital camera – similar to SLASetDigitalCameraParameters_t.

typedef struct {
u8 mode;
u16 agHoldmax;
u16 agHoldmin;
u8 rowROIPct;
u8 colROIPct;
u8 highROIPct;
u8 wideROIPct;
u8 cameraIndex;
u16 minAGRange;
u8 agRate8;
u8 minExp;
u8 maxExp;
u8 rejectDarkTail;
u8 rejectBrightTail;

Sent in response to SLAGetParameters_t().

Message ID 0x71

Byte Offset Name Description
4modeMode (1 = freeze Autogain at min/max below)
5-6agHoldmaxAutogain Max value (max value maps to 255 in 8 bit output)
7-8agHoldminAutogain Min Value (min value maps to 0 in 8 bit output)
9rowROIPctRow ROI for Autogain stats. Row Offset in % of image height (255=100%); Full image(default) = 0
10colROIPctCol ROI for Autogain stats. Col Offset in % of image width (255=100%); Full image(default) = 0
11highROIPctHigh ROI for Autogain stats. Height in % of image height (255=100%); Full image(default) = 255
12wideROIPctWide ROI for Autogain stats. Width in % of image width (255=100%); Full image(default) = 255
13cameraIndexIndex of the camera where values are coming from
14-15minAGRangeMinimum spread of auto gain. 0 = does nothing, 200 = max - min scale range must be at least 200.
Prevents over-scaling of flat scenes. New 3.00
16agRate8Auto gain update rate. 0 = reset to 32, 1 = minimum rate, 255 = maximum rate, 32 = default. New 3.00
Use freeze Autogain to stop AGC updates
17minExpMinimum exposure or integration time New 3.1
18maxExpMaximum exposure or integration time New 3.1
19rejectDarkTailReject or ignore the this percent/10 of the left/dark side of the histogram when calculating Autogain. 0 = reject none, 10 = reject 1.0%, 255 = reject 25.5%. Useful when there are a small number of very dark pixels in a scene. New 3.4
20rejectBrightTailReject or ignore the this percent/10 of the right/bright side of the histogram when calculating Autogain. 0 = reject none, 10 = reject 1.0%, 255 = reject 25.5%. Useful when there are a small number of very bright pixels in a scene. New 3.4