2 0 H a M e s i l a S t . , N e s h e r 3 6 8 8 5 2 0 , I s r a e l
P O B 2 5 0 0 4 , H a i f a 3 1 2 5 0 0 1 , I s r a e l
T e l : ( + 9 7 2 ) - 7 2 - 2 7 2 3 5 0 0 F a x : ( + 9 7 2 ) - 7 2 - 2 7 2 3 5 1 1
Page no. 43 | Appendix No. 1
8.13
Auto Exposure
8.13.1
aec <enable> <setPoint> <speed> <clmTolerance> <activeGain> <activeExposure> <activeApt>
<maxExposure> <maxGain> <reserved>
Auto Exposure and Gain are used to control the picture brightness by adjusting Exposure and Gain values
automatically in order to reach desired luminance level. The algorithm calculates the average picture intensiveness
inside the defined ROI and tries to adjust it to desired luminance level, by changing the exposure time and/or
analog gain level.
The target luminance is set by the setPoint, this will determine how bright the image looks. A higher setPoint
results in a brighter exposed image.
The speed determines how fast the exposure control reacts to luminescence changes. A higher value means a fast
reaction to changes.
The clmTolerance sets the effective ratio of average luminescence level as complement to peak luminescence
level, whilst the activeGain enables the auto gain algorithm and the activeExposure enables the auto exposure
algorithm.
The maxGain parameter can be used to change the maximum sensor gain used by the algorithm. Notice the high
maxGain may result in grainy saturate image.
Parameter
Description
Minimal
Maximal
Default
Remarks
enable
Auto brightness
compensation
com
0
1
0
0: Disable
1: Enable
setPoint
Target luminance
0
4095
2048
speed
Control speed
0
1000
250
0: No filter is applied on
luminance update
1000: Maximum low pass
fillter is applied on
luminance update
clmTolerance
Impact of avarege and
peak value on setPoint
calculation
0
1000
600
0: Compare SetPoint only
with peak value
1000: Compare SetPoint
only with average value
Other: Compare SetPoint
with combination of peak
and average values
activeGain
Active auto analog gain
0
1
1
activeExposure
Active auto exposure
0
1
1
activeApt
Active auto aperture
For future use
maxExposure
Maximum sensor exposure
which is used by the auto
exposure control [μs]
*See can_info command
for valid value range
maxGain
Maximum sensor gain
which is used by the auto
exposure control
1000
252000
252000
Default: x100
*See can_info command
for valid value range
reserved
For future use