I think the link is broken, but I definitely do appreciate some Disco Elysium ![]()
If I understood it correctly this tone mapper is used for images that were captured with the film.
After developing a bunch of photos with spektrafilm I once again have to applaud @piratenpanda (and the rest of us giving suggestions
) to how well the UI/UX works. I think you settled on a sound compromise considering the modules complexity
.
Latest commit fixes grain’s sublayer particle scale (thanks @bazdesh for reporting) and also changes the behaviour of the floor to make it future proof for new stocks and also to keep it simple and consistent with the uniformity and sublayer particle scale controls.
While there are ways to do this with Spektrafilm, as have been discussed here, the original and primary purpose of Spektrafilm (both the dt module and the original Python app) is to apply to unprocessed raw images from digital cameras, to simulate the tonality, colour and grain of an image taken on film then printed in a darkroom and scanned.
So in workflow terms, nothing to do with scanned negatives, rather simulating their look on pure digital images.
From the Feedback on Spektrafilm documentation - #14 by martinus topic,
Would it be possible to add a warning like the 'infamous white-balance-warning ’ if any other tone mapper is enabled? This might prevent a lot of confusion / issue once it is out in release.
I thought about this but the others also don’t do this ( which is no argument against it).
Question: what happens if the other tone mappers are enabled? Is it a huge issue? Or can it cause real issues?
I would argue that it maybe wise for the other tone mappers also give a warning, or that darktable in general gives a warning when multiple tone mappers are applied.
For seasoned users, they are all aware that multiple tone mapper can cause issues, for the less ones, it may be a nice guard rail
Why would you give a warning when a single tone mapper is used?
No, I miswrote, when multiple toen mappers are applied. I am sorry for not being clear. So only a warning when multiple tone mappers are applied.
Of course a warning when only one single tone mapper would never make sense.
I would suggest that if one or more tone mappers are on, when you turn on another one you should be prompted with something like:
You are enabling tone mapper X while one or more tone (Y, Z) mappers are already on. What do you want to do?
- enable only X and disable all other tone mappers
- do not enable X and keep other tone mappers on
- enable also X and keep other tone mappers on
This should be horizontal, not spektrafilm specific.
A warning seems a bit too weak in this case, it’s too easy to miss them.
I had claude whip up a proof of concept. See GitHub. I suggest continuing the discussion over there. IMHO the red error marking combined with the text should be enough.
Maybe we could have a preference option to disable this (“show warning messages” in preferences/processing currently does not disable this).
Usually you’d get a single module type thing where you select the tonemapper of choice and move on.
In case someone wants more than one… they can duplicate it but yeah, I don’t know if anyone will in regular workflows.
dt has them as separate modules which I quite like but I do think there can be a better way to avoid the accidents without any warnings.
A single “tonemapper” module with a mode-select between the different tonemappers would be nice - but I don’t think this will happen for various, good, reasons.
It is possible to use filmic (and I guess agx) in log curve only mode (no contrast) to bring the dynamic range between 0, 1… then apply rgb curve or tone curve on top of that, thus use two tone mapping modules. Also, luts can include a tone curve, and a warning every time would be annoying when applying that module. Also, what if one has sigmoid on, then switches to compare filmic, by turning filmic on before turning sigmoid off… a warning everytime you do that would be annoying to, and is something that could happen often. So I’m not the biggest fan of applying a warning when using two tone curves. For mine, that kind of thing is better stated in the docs. Yes, a few new users may do things incorrectly, but that’s part of the learning curve.
In my proposal LUTs are not included in the list of modules triggering a warning. So I guess your use-case would not be affected?
I consider myself a fairly advanced dt user. But especially with spektrafilm I find myself accidentaly enabling spektrafilm and forgetting to turn of AgX every so often.
It won’t affect me personally, I’m just considering use cases. I used luts extensively in the past but not now. Switching between tone mappers would affect me now, since I do it regularly, though @Masterpiga proposal does account for that in a way that might be OK.
I think the proper way would be to enable advanced users to disable the tonemapper-warning in the preferences. If you want you can check out my proposal on github, builds are available.
Got a small bug report. The auto paper setting for Kodak Double-X 5222 seem to be wrong - Fujifilm Crystal Archive Type II instead of Kodak Print Film 2302.
thanks, PR ready
