Perform white balancing
    • 15 Aug 2024
    • 1 Minute to read
    • PDF

    Perform white balancing

    • PDF

    Article summary

    The adjustment of a camera system is an iterative process. It might be necessary to do the white balancing step twice.

    NOTE: The white reference must be clean and in the focusing plane of the camera.

    Use a professional white reference, e.g. a clean white ceramic or plastic material. 

    For the best result use a moving white reference to diminish the effects on any optical variations in the white reference.

    Prepare your system

    1. Place a white reference under the camera.
    2. Set the lens aperture f-stop on the camera lens.
    3. Load the default user set.
    4. Set the maximum exposure time.
    5. Set the line time.
    6. Switch on the illumination and set the light current.

    Deactivate DSNU and PRNU correction 
    1. In the Configuration window navigate to Camera Image CalibrationDSNU/PRNU
    2. Select the Deactivate DSNU correction checkbox. 
    3. Select the Deactivate PRNU correction checkbox.
    getting-started-image-evfwho6o

    Configure the gain settings

    1. Click on the plus sign in the right window to add a new tab.
    2. Select Horizontal Line Plot.
    3. Start Image acquisition 
    getting-started_white_balancing_1
    1. In the Configuration window navigate to Camera Image CalibrationGain.

    The current values in the 10 bit range are displayed.

    getting-started_white_balancing_2
    1. Select the Enable checkbox in Automatic gain control settings.
    2. Set the reference mark position and size:
      Below ROI for automatic gain control set the values for Offset X, Offset Y, Width and Height.
      HINT
      To control the position in images you can temporarily select the Visible feature.
    3. Make sure that the reference mark position is at the brightest region of the image (at the center).
    4. Set the target white reference values:
      Below Target values in 10 bit range set the values for Red, Green, Blue and Infrared.
      NOTE
      The target values should be between 800 – 880 to get values between 200 – 220 in the horizontal line plot.
    5. Click on Once in Automatic gain control settings.
    getting-started_white_balancing_3getting-started_white_balancing_4

    The camera performs a white balancing with the current settings.

    After successful balancing Gain Auto Status returns Control Successful.

    NOTE: If the white balancing was not successful, you have the following options:
    • Modify the exposure time 
    • Modify the illumination current 
    • Modify the f-stop of your lens
    • Modify the sensor sensitivity 
    NOTE: Repeat the white balancing in the following cases

    If you change the f-stop of the camera lens or the setting of the illumination repeat the white balancing.


    Was this article helpful?

    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence