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

Color Correction

To get correct color output, the Color Correction plugin should be tuned. The raw images captured for AWB tuning can be used for tuning this plugin. Below is a summary of this tuning step. For more details, see the Color Correction plugin guide from the help menu.

  • Load an input RAW image and optionally a reference image. The tuning tool provides a default reference image, but users may use a reference image of their choice.
  • Enter the parameter values and select the four corners of the color checker chart as done in AWB tuning.
  • Repeat the same process for the reference image.
  • "Process" the plugin and "Export DCC profile binary" to generate XML and binary files, as shown in below figures.
GUID-20230224-SS0I-PJ9M-T9S7-7QGZLJZSD5HB-low.png Figure 6-17 Color Correction Tuning
GUID-20230224-SS0I-LPLT-41J8-ZF0BCWG0ZQ4M-low.png Figure 6-18 Color Correction Tuning Output

As done in AWB tuning, capture images using the newly generated DCC binaries. #FIG_XKK_FWC_RWB and #FIG_Y3N_GWC_RWB show images before and after Color Correction tuning (note the corrected color in the image after Color Correction tuning).

GUID-20230224-SS0I-RZ3J-7LBK-W0BNX03H9SSD-low.jpgFigure 6-19 Image Before Color Correction Tuning
GUID-20230224-SS0I-HSMX-X2RD-7ZMCL5G8JFVR-low.jpgFigure 6-20 Image After Color Correction Tuning