Comparing methods to correct gamut clipping in Darktable

Gamut clipping has been discussed in several places here over the years, but this discussion went on across several versions of modules, workflows and DT iterations.

So I wonder:
What is the current “mainstream” recommendation to correct gamut clipping or to perform gamut-remapping in a best-practice way?

To be sure, I’m not making things up by only looking at the Gamut warning:

The standard case (instead of yet another sample RAW): highly saturated blue LED lights in a dark scene are re-mapped to deep blue by default.
(DT Version 4.8.1, input color profile: standard color matrix, CR2 from Canon EOS 7D)

Some options I could find:

  • Limit the input color space, e.g. to “linear REC709” or “linear REC2020” (input color profile module)
  • Activate gamut clipping (input color profile module)
  • Use a camera-specific ICC profile (input color profile module)
  • Use a camera-specific LUT
  • Activate and set gamut compression (CAT tab in color calibration module)

or in this AP Video (09:18)

  • RGB channel mixing (R, G, B tabs in color calibration module)
  • Lower the blue channel value in the “colorfulness” tab (color calibration module)
    (comment underneath the AP video above)
  • Corrections in “Color Balance RGB” module
  • Sigmoid-specific: Use the “smooth” preset together with “sRGB” as the working profile in the “primaries” tab (Sigmoid module - which, of course, rules out Filmic RGB)

Perhaps you’ll also have other options in hand.
Still, the question is: Do we have any consensus on the issue?

1 Like

My personal opinion is that there’s always a gamut transform in the display/export transform, so you need to get that good first. And, the only real place you have to influence that is in the initial transform from the camera space. Everything else downstream of that are pre-defined matrix transforms. That’s why I recommend a LUT-based camera profile.

Any of the other in-program tools are working on top of that, so you need to keep that in mind.

Probably not a consensus builder, but FWIW…

1 Like

How are you assessing gamut…The gamut checker icon will use the gamut of the soft proofing profile and depending on the settings the overexposure icon will give it to you based on the working profile.

You could take the approach to use the defaults and keep the gamut of the working profile in bounds and then let the display and output profiles manage the conversation to a smaller gamut or you could decide on another strategy keeping in mind how your profile setting influence what you see for out of gamut…

1 Like