Standard Features AW00089317000
290 Basler ace GigE
10.13.7 Auto Function Profile
If you want to use the gain auto function and the exposure auto function at the same time, the auto
function profile feature also takes effect. The auto function profile specifies whether the gain or the
exposure time will be kept as low as possible when the camera is making automatic adjustments to
achieve a target average gray value for the pixel data from the Auto Function AOI that was related
to the gain auto and the exposure auto function. By default, the auto function profile feature
minimizes gain.
If you want to use the gain auto and the exposure auto functions at the same time, you should set
both functions for the continuous mode of operation.
1. Set the value of the Auto Function Profile parameter to specify whether gain or exposure time
will be minimized during automatic adjustments.
2. Set the value of the Gain Auto parameter to the "continuous" mode of operation.
3. Set the value of the Exposure Auto parameter to the "continuous" mode of operation.
You can set the auto function profile from within your application software by using the pylon API.
The following code snippet illustrates using the API to set the auto function profile. As an example,
Gain Auto is set to be minimized during adjustments:
// Use GainAuto and ExposureAuto simultaneously
Camera.AutoFunctionProfile.SetValue( AutoFunctionProfile_GainMinimum
);
Camera.GainAuto.SetValue( GainAuto_Continuous );
Camera.ExposureAuto.SetValue( ExposureAuto_Continuous );
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon API and the pylon Viewer, see Section 3 on page 45.
10.13.8 Balance White Auto
Balance White Auto is the "automatic" counterpart to manually setting the white balance. The
balance white auto function is only available on color models.
Automatic white balancing is a two-step process. First, the Balance Ratio Abs parameter values for
red, green, and blue are each set to 1.5. Then, assuming a "gray world" model, the Balance Ratio
Abs parameter values are automatically adjusted such that the average values for the "red" and
"blue" pixels match the average value for the "green" pixels.
The balance white auto function uses Auto Function AOI 2 and can only be operated in the "once"
mode of operation.
If Auto Function AOI 2 does not overlap the Image AOI (see the "Auto Function AOI" section) the
pixel data from Auto Function AOI 2 will not be used to control the white balance of the image.
To use the gain auto function and exposure auto function at the same time: