Tuning the Gamut Map Features

This section describes how to tune the Gamut Map feature to control the gamut mapping module in the HDR pipeline of a DC9400.

Before you begin

Make sure:
  • The details view contains the Gamut Map table for HDR.

    To tune this feature, you need to choose DC9400 > HDR > Gamut Map in the Features view. For more details, see Tuning a DC9400 Feature.

    Figure 1. Gamut Map Table

  • A VTunerServer is accessible.

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

Procedure

  1. Next to Enable Gamut Map, select Enable to enable gamut mapping in the HDR pipeline.
  2. From the Gamut Mode drop-down list, select one of the following values 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.

  3. 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 and edit the coefficients Coef00 to Coef22 and offsets OffsetR, OffsetG, and OffsetB in the prompted dialog.
      The number of effective coefficients and offsets depends on the value of Gamut Num. 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)
      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.

Results

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