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. 25 | Configuration Interface
The average value is calculated by the following formulas:
𝑎𝑣𝑔_𝑣𝑎𝑙 =
ExposureAutoRatio
[
red
]
∗ 𝑎𝑣𝑔_𝑣𝑎𝑙[𝑟𝑒𝑑]
+ ExposureAutoRatio
[
green
]
∗ 𝑎𝑣𝑔_𝑣𝑎𝑙[𝑔𝑟𝑒𝑒𝑛]
+ ExposureAutoRatio
[
blue
]
∗ 𝑎𝑣𝑔_𝑣𝑎𝑙[𝑏𝑙𝑢𝑒]
max_𝑣𝑎𝑙 =
ExposureAutoRatio
[
red
]
∗ max_𝑣𝑎𝑙[𝑟𝑒𝑑]
+ ExposureAutoRatio
[
green
]
∗ max_𝑣𝑎𝑙[𝑔𝑟𝑒𝑒𝑛]
+ ExposureAutoRatio
[
blue
]
∗ max_𝑣𝑎𝑙[𝑏𝑙𝑢𝑒]
𝑟𝑜𝑖_𝑎𝑣𝑔 =
BrightnessLevelAveragePeakBalance
∗ 𝑎𝑣𝑔_𝑣𝑎𝑙
+ (1 −
BrightnessLevelAveragePeakBalance
) ∗ max_𝑣𝑎𝑙
The algorithm strives to make roi_avg value as close as possible to the specified “DesiredBrightnessLevel” by
changing Exposure and Analog Gain. Current average value and maximum value can be retrieved using
“AverageBrightnessLevel” and “PeakBrightnessLevel” parameters.
Brightness parameters described in the following table:
Parameter
Description
Gen<i>Cam name
Type
Possible values
Remarks
Value
Gen<i>Cam name
Gen<i>Cam Category: AutoCompensationControl
Desired
Brightness Level
Max
Maximum Desired Brightness
Level
DesiredBrightnessLevelMax
Integer
<max pixel
value>
Desired
Brightness Level
Desired brightness level for
auto compensation algorithm
DesiredBrightnessLevel
Integer
Range: 0 to
<max pixel
value>
Average
Brightness Level
Current average brightness
level result from auto
compensation
AverageBrightnessLevel
Integer
Range: 0 to
<max pixel
value>
Peak Brightness
Level
Current peak brightness level
result from auto
compensation
PeakBrightnessLevel
Integer
Range: 0 to
<max pixel
value>
Brightness Level
Average Peak
Balance
Sets the effective ratio of
Average Brightness Level as
complement to Peak
Brightness Level
BrightnessLevelAveragePeakB
alance
Float
Range: 0 to 1 1 - Complete
Average Level and
0 - Complete Peak
Level
Auto Exposure
Ratio Selector
Selects which Exposure Auto
compensation ratio to control
ExposureAutoRatioSelector Enumeration
0x00
Red
0x01
Green
0x02
Blue
Auto Exposure
Ratio
Controls ratio of the selected
color component to a
reference color component
ExposureAutoRatio
[ExposureAutoRatioSelector]
Float
Range: 0 to 1
Table 15 – Brightness level control