Tuning the CCM Feature

This section describes how to tune the CCM feature to control the color conversion matrix (CCM) of a DC9400. Tuning is supported for the CCM before the blender (BLD), CCM before de-gamma (BEF_DGMA), and CCM after de-gamma (AFT_DGMA).

Before you begin

Make sure:
  • The details view shows the settings of the CCM feature for a DC9400 project.

    For information about how to show the settings in the details view, see Tuning a DC9400 Feature.

  • The VTunerClient is connected to a VTunerServer that works with a DC9400.

    For information about how to set up a connection to a VTunerServer, see Setting Up a Connection to a VTunerServer.

Procedure

  1. In the Project Explorer view, select the DPU project.
    Then, the features supported for tuning are listed in the Features view.
  2. Under CCM in the Features view, click the location of the CCM that you want to tune.
    Then, the settings of the CCM feature are displayed in the details view.
    Figure 1. Details View When CCM is Selected

  3. In the table of the CCM specific to the target CCM location, select Enable or Disable next to Enable <table_name> to control whether to enable the CCM at the corresponding location.
  4. From the Gamut Mode drop-down list, select one of the following options to specify the gamut mapping mode:
    • VS_DPU_GAMUT_709_TO_2020, VS_DPU_GAMUT_2020_TO_709, VS_DPU_GAMUT_2020_TO_P3, VS_DPU_GAMUT_P3_TO_2020, VS_DPU_GAMUT_P3_TO_SRGB, or VS_DPU_GAMUT_SRGB_TO_P3: standard gamut mapping
    • VS_DPU_GAMUT_USER_DEF: custom gamut mapping defined using the following formula:
      • R out = Coef00 × R in + Coef01 × G in + Coef02 × B in + OffsetR
      • G out = Coef10 × R in + Coef11 × G in + Coef12 × B in + OffsetG
      • B out = Coef20 × R in + Coef21 × G in + Coef22 × B in + OffsetB

      where the coefficients and offsets need to be specified using the Gamut Coef table.

  5. If Gamut Mode is set to VS_DPU_GAMUT_USER_DEF, perform the following steps:
    1. In the Gamut Num spin box, enter the number of coefficient arrays.
    2. Next to Gamut Coef, click View/Edit this Table ad edit the 3x3 coefficients Coef00 to Coef22 and three offsets OffsetR, OffsetG, and OffsetB in the prompted dialog.

      You can use one of the following methods to update the coefficients and offsets in the Gamut Coef table:

      • Double-click and edit a cell in the table to update a single coefficient or offset.
      • Click Edit and update the coefficients and offsets in the prompted Edit Table dialog.

        The coefficients and offsets must be specified in the same order as the table columns and separated by a comma (,).

      • Click Export to export the coefficients and offsets to a .csv file, edit the file, and then import the updated coefficients and offsets from the .csv file.

        The order of the coefficients and offsets in the exported .csv file is the same as that in the table.

      The coefficients and offsets must be specified in the following formats:
      • Coef00 to Coef22 in S3.16 format (1 sign bit, 2 integer bits, and 16 fraction bits)
      • OffsetR, OffsetG, and OffsetB in S25.0 format (1 sign bit and 24 integer bits)

Results

  • The tuning results are printed in the Console view in real time.
  • The image displayed on the VTunerServer side is updated.