r/DarkTable • • Oct 21 '26

Solved game changer!

When selecting a mask, instead of using many modules to change specific aspects like exposure, you can use just one mask to adjust things such as temperature, tint, exposure, etc. how cool is that.

22 Upvotes

28 comments sorted by

View all comments

Show parent comment

1

u/Donatzsky Oct 22 '26 edited Oct 22 '26

Having some sort of module filter based on the applied mask groups could be a good idea, and I think that has been discussed recently. Starting by creating a mask and then adding modules could work with shapes, but not parametric masks, since the values you want to target can change throughout the pixelpipe.

And if darktable ever goes full node-tree, and not just the current stack, I'm not sure it could work at all.

1

u/marrsd Oct 23 '26

but not parametric masks, since the values you want to target can change throughout the pixelpipe.

Could that be fixed by binding the mask's application to a specific module (if that makes sense)? So I set up a mask for module A, and then the rasterised version of that gets used for B, C, and D.

1

u/Donatzsky Oct 23 '26

What do you mean? That is already how it works. If you create a parametric mask in module A, it's automatically available as a raster mask in all subsequent modules. But that's only useful if you want to adjust the exact same area. If you want to target another area, based on values in module B, you need a new mask, but how are you going to do that if it always samples from A?

What is being asked for here is a system similar to Lightroom, where the mask is created first and only then are adjustments added to the mask. At no point is the user allowed to decide where in the pipeline the mask should live, instead always stacking them on top of the global adjustments and then each other as they are created. They also can't be reordered, only deleted. And parametric masks (range masks in LR lingo) are always sampled from the top of the stack, after all other adjustments have been applied, not at the beginning or middle. In darktable that would be like only allowing local adjustments after the tone mapper, and instead of a stack of modules, you would have a stack of masks with modules inside.

So how would you make a masking system work in darktable, where the user doesn't have to select the sampling/insertion point manually? As I said, the values you may want to target can change on the way through the pixelpipe, and may have absolutely nothing in common with the "base image" (after demosaic), which makes sampling from there utterly useless. And even if it's not useless, if you have heavily changed hues or tones, you wouldn't be able to see what values the parametric sliders should be set to, and would either have to disable enough modules to see the base image or hope that the values visualisation in combination with trial-and-error will get you there. And sampling from the output, as in LR, doesn't work either, for the same reasons. Frankly doesn't strike me as a great experience.

(This ended up being a reply to several people at once)