SPRAD86 March   2023 AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM68A , AM69A

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Tuning Overview
  5. 3Hardware Requirement
  6. 4Software Requirement
    1. 4.1 Processor SDK Linux
    2. 4.2 TI's Reference Imaging Software
    3. 4.3 ISP Tuning Tool
  7. 5Sensor Software Development and Integration
    1. 5.1 Adding Sensor Driver to SDK
    2. 5.2 Updating GStreamer Plugins to Support the Sensor
      1. 5.2.1 Update TIOVX Modules
        1. 5.2.1.1 Source Code Change
        2. 5.2.1.2 Rebuild Modules
      2. 5.2.2 Update GStreamer Plugins
        1. 5.2.2.1 Source Code Change
        2. 5.2.2.2 Rebuild Plugins
        3. 5.2.2.3 Verify New Sensor in GStreamer Plugin
  8. 6Tuning Procedure
    1. 6.1 Verify Functional Operation of Camera Capturing
    2. 6.2 Enable Camera Streaming with Initial VPAC Configuration
      1. 6.2.1 Generate Configuration Files
      2. 6.2.2 Generate DCC Binary Files
      3. 6.2.3 Stream Video with the Initial Configuration
    3. 6.3 Adjust Camera Mounting
    4. 6.4 Capture Raw Images and Perform Basic Tuning
      1. 6.4.1 Launch the Tuning Tool and Create a Project
      2. 6.4.2 Tuning Order
      3. 6.4.3 Black Level Subtraction
      4. 6.4.4 Hardware 3A (H3A)
      5. 6.4.5 Auto White Balance (AWB)
        1. 6.4.5.1 Capture Raw Images for Different Lighting Conditions
        2. 6.4.5.2 Tuning AWB
      6. 6.4.6 Color Correction
    5. 6.5 Perform Fine Tuning
  9. 7Summary

Capture Raw Images for Different Lighting Conditions

To tune the AWB, raw images need to be captured at different lighting conditions. These images will be used again in next step of color correction tuning. Below are summarized instructions for capturing the required images (please refer to the AWB plugin guide for detailed information):

  • Set up lighting conditions to: D65, D50, TL84, and A Light (one at a time)
  • Place color checker chart in upright position and center of the camera FOV in the light box
    • Make sure brown patch is at the upper left corner on the first row and black patch is at the lower right corner on the last row
  • Capture well exposed raw images for each lighting condition
    • Wait until automatic exposure adjustment stabilizes (live video output on monitor shall be bright enough without apparent saturation/clipping on the white patch. This is usually done in a few seconds.)
    • Run live video streaming with the initial configuration
    • Raw images may be captured by either of the following two ways
  • Stop the GStreamer pipeline for streaming. Then run a new GStreamer pipeline to capture a raw image (sensor exposure setting remains unchanged between GStreamer runs).
  • If AM62A EVM and PC are connected to the same Ethernet, tuning tool may also capture raw images from EVM directly over Ethernet. From the tool bar of the DCC tuning tool, enter the EVM's IP address and capture raw images as shown below. For more details, follow the tuning tool user's guide.
GUID-20230224-SS0I-DG1B-JJBP-WBZ2R4XGZSVK-low.png Figure 6-7 Live Capture Feature of DCC Tuning Tool

#GUID-417AC4EF-FF7C-4C03-B210-801E1362BD4B through #GUID-7EA0388A-000F-497C-9834-43E068E4AA9D are examples of well exposed captures for all above mentioned lighting conditions (note the color differences caused by the color of lighting):

GUID-20230224-SS0I-NTPD-MM0B-VBRKJRP4QWJT-low.jpgFigure 6-8 Color Chart Image Captured with D50 Lighting
GUID-20230224-SS0I-SWC6-GDC0-XP5P7WGMZ13P-low.jpgFigure 6-10 Color Chart Image Captured with TL84 Lighting
GUID-20230224-SS0I-0NLZ-RWN1-GT4FFWHNS2RX-low.jpgFigure 6-9 Color Chart Image Captured with D65 Lighting
GUID-20230224-SS0I-JGM8-MFFZ-N1QDJ7LNHZNZ-low.jpgFigure 6-11 Color Chart Image Captured with A-light