User Manual - twentynine
Figure 34: Captures under different gain settings
The analog gain on SMARTEK Vision digital cameras is configurable by the GenICam
Float
property
Gain
in combination with the
Enumeration
property
GainSelector
.
The following tables show important C++ API functions in context of the gain. As several cameras provide
multiple gain registers giving access to the gain of individual color channels or various taps, the type of gain
needs to be chosen first by the
GainSelector
property, shown in Table 20.
Function
Description
bool
GetEnumNodeValue
(
"
GainSelector
", double
&nodeValue
) const
Get value of Enumeration node
GainSelector
.
bool
SetEnumNodeValue
(
"
GainSelector
", double
nodeValue
)
Set value of Enumeration node
GainSelector
.
bool
GetEnumNodeValuesList
(
"
GainSelector
", StringList
&nodeValuesList
) const
Get list of values for Enumeration node
GainSelector
.
Table 20: GainSelector - Access through API
The values for the Enumeration data type
GainSelector
can be found in Table 21, their availability depends
on the camera architecture and can be requested from the camera as shown in Table 20.
GainSelector Values
Description
All, Tap1, Tap2, Tap3, Tap4
Global
Gain
(All color channels), individual per tap
(multi tap sensors)
Red, Green, Blue
Individual
Gain
(per Color Channel)
Table 21: GainSelector - Values
After the appropriate gain has been selected via the
GainSelector
, its value can be get/set from the
Gain
property. Table 22 shows the most important C++ functions.
48
SMARTEK Vision | User Manual - twentynine | Doc. v1.0.2