Aller au contenu

Color Space Transform Node

By Kriss Norde

The Color Space Transform performs the kind of color transforms that LUTs do, but instead of lookup tables it uses the same math as Resolve Color Management (RCM): transforms are extremely clean and free of clipping.

Overview

The Color Space Transform (CST) converts an image from one color space and gamma to others, right within a node. It also offers tone mapping (moving to a dramatically larger or smaller dynamic range) and gamut mapping (moving to a dramatically larger or smaller gamut), with no clipping.

Where to find this node

  • Effects Library: Tools > Color > ColorFX > Color Space Transform
  • Quick add: right-click in the Node Editor → Add Tool > Color > ColorFX > Color Space Transform

Inputs

  • Input (orange) - the primary 2D image.
  • Effect Mask (blue) - a mask that limits the adjustment to the pixels inside the mask.

Setup

MediaIn → Color Space Transform → 2D processing node or Merge

Controls tab

Color Space Transform
four pop-up menus, Input Colorspace, Input Gamma, Output Colorspace and Output Gamma, to transform the image from the Input settings to the Output settings. The Swap button quickly reverses the color and gamma space conversion.
Tone Mapping
None (no tone mapping, a simple 1:1 mapping), Clip (hard clips all out-of-bounds values), Simple (a simple curve that compresses or expands highlights and shadows; it maps between approximately 5500 nits and 100 nits, so an HDR source above 5500 nits may still clip), Luminance Mapping (same as DaVinci, but more accurate when all your media is in a single standards-based color space such as Rec. 709 or Rec. 2020), DaVinci (smooth luminance roll-off in the shadows and highlights with controlled desaturation of the most extreme values; useful for wide-gamut camera media and when mixing cameras), Saturation Preserving (smooth roll-off without desaturating dark shadows and bright highlights).
Sat. Rolloff Start
with Saturation Preserving, the threshold in nits (cd/m2) at which saturation starts to roll off along with highlight luminance.
Sat. Rolloff Limit
with Saturation Preserving, the threshold in nits (cd/m2) at which the image is totally desaturated.
Use Custom Max Input/Output
check these boxes and adjust the slider to specify the minimum and maximum luminance of the input image in nits. Together, these two sliders set which value of the Input Gamma is mapped to which value of the Output Gamma.
Adaptation
compensates for large differences in visual adaptation between a bright image viewed on an HDR display and the same image on an SDR display. For most "average" images, a value between 0 and 10 works best. For very bright images (a snow scene at noon), a higher value yields more detail in the highlights.
Gamut Mapping Method
None (no gamut mapping), Saturation Mapping or Clip (hard clips all out-of-gamut values). Saturation Mapping enables two sliders:
Saturation Knee
the level at which saturation remapping begins. Below it, nothing is remapped. A value of 1.0 is maximum saturation in the selected output color space.
Saturation Max.
the new maximum level to which all saturation values above the Saturation Knee are raised or lowered. A value of 1.0 is maximum saturation in the selected output color space.
Advanced
this menu exposes Apply Forward OOTF (converts the image from scene referred to display referred), Apply Inverse OOTF (converts from display referred to scene referred) and Use White Point Adaptation (applies a chromatic adaptation transform to account for different white points between color spaces).

Use cases

  • Mix media from different cameras with DaVinci tone mapping.
  • Go from an HDR source to an SDR output with tone mapping, without clipping.
  • Use a P3-D60 mastered clip in a P3-D65 timeline: uncheck Use White Point Adaptation to keep its original white point (reference only), check it so the clip cuts in with the other clips of the timeline.

Tips

  • The node has ACES settings, but it transforms to the ACES color space colorimetrically, which is not correct for ACES workflows. For actual ACES workflows, use the ACES Transform, which uses transforms specified by the Academy.