"Scene-Referred Default" preset in Filmic RGB

For a moment, I thought that the current “half-solution” couldn’t be fixed because Aurélien was the driving force behind Filmic RGB. So when I saw that it was already four years after the “TODO” had been marked in the code notes, I thought it was because he had abandoned Darktable.

Instead, the “problem” - or rather my naïveté - goes deeper.

  1. My points were already brought up in a pixls thread four years ago:
  1. The answer was that such a connection between modules would be impossible by design:

As a workaround, one user proposed using presets, even detailing the calculation:

But with presets, you either accept having only a small number of values in Exposure that you could choose with this method, or you would need very many presets, the more precise you’d want it to be (e.g. using +1.11EV instead of +1EV).

Question: Is it technically feasible to use a Lua Script to “grab” the current exposure value from the history stack, apply a simple calculation (the current default one, but based on effective exposure) before inserting the values into Filmic’s relative black/white exposure?
This would replace the current 0.7EV dummy value.

I have read numerous reasons why this should not be possible. Still, as one user said, it would provide a starting point:

There is lua code for the auto pickers of filmic and there is also code for exposure picket activate that auto picker I set mine to 50percent on the whole image and the just adjust the selection range later for images where it doesn’t work maybe reducing the amount of sky selected or setting the main subject as the ROI. There is also an automatic mode in the exposure module… Maybe you can cobble together some of those… Have you looked at the initial workflow script? It has code for several of the auto pickers like the time we masks exposure filmic etc

1 Like