Open TechXavAL opened 4 years ago
How interesting! I did not know Wavelet Levels and Tone Mapping interact with each other. If Residual Image Compression strength is not 0 (Wavelet Levels and Residual Image must be on, of course), Tone Mapping Strength and Gamma are not used. The intended behavior is that Compression strength controls the availability of the Tone Mapping adjusters. That said, I see several problems with the Tone Mapping and Residual Image tools.
I just push a change in dev 2ff619e for this bad behavior with the slider "gamma" in "Tone-mapping"
1) it is "normal" when you enable "wavelet levels" / "Residual image" / "compression method" = "tone mapping" that "strength and gamma are desabled" to avoid big artefacts 2) but it was not "normal" when you disabled "wavelet" that "gamma" does not reappear
Thank's
Jacques
Wow! I didn't expect the problem was going to be so intricate. Thanks @Lawrence37 for such much more detailed testing than mine!
But @Jacques, strength and gamma are disabled with "compression method=contrast" in my pp3.
Anyway, after writing the most up-to-date wavelet levels documentation, it has caught me by surprise that the "compression method" slider does turn off another tool (or some of its sliders). Is that behavior documented somewhere in the french documentation? If not, is there any other interaction in this way when using any other wavelet levels slider? I have to update the documentation...
@TechXavAL Ok, It was also a bad behavior with "compress method = contrast"
I will post soon a commit to fix
Btw : this "bug" is here since many many time....about 5 years...
Jacques
@Desmis
Ok. I'm not saying this is a bug (you're currently fixing the bug part), but I don't recall it being documented anywhere, and although it's taken me a while to find this behavior, I guess there would be people that will usually make use of both tools at the same time, so it must be documented.
I will update the Rawpedia documentation, but it would be nice to know if there's anything more undocumented that I must be aware of, to reflect it in Rawpedia.
As we say in french "mon brave monsieur c'est un problème connu"
Or how to do documentation when there is almost no feedback. The point you raise is only one among many, and this concerns almost all so-called complex modules
a) Ciecam, b) Retinex, c) wavelet, d) tone mapping (the code is complex - and also difficult to use in some cases),e) local adjustements. All modules - at least : a) b) c) e) - where I had an important part
I don't say for all these modules rawpedia is up to date, but it has the merit of existing and therefore of being able to be criticized
For wavelet I don't know if there are others interactions....
But, "wavelet pyramid " in local adjustements introduces a new approach that is both more efficient and more complex (Tone mapping with wavelet is quasi unknown in research... certainly afterwards, after developing the code, I looked for references ... to see... and I find something... different from I have done...less documented). I think probably, if people are interested, it will be possible to carry out a partial porting towards "wavelet main"
jacques
Ok. Thanks for the clarification.
However, I think we're going more and more out of topic. This discussion should take place in another place.
Please, let us know when the remaining bug is solved.
Regards
The "bug" is fixed since commit d8564cb
But I think we are not off topic, but completely inside !
If some people 5 years ago read my documentation he would find the bug ?
If 5 years ago, I would have perfected "Wavelet tone mapping" I would never have used "tone mapping" (from Ben S), and no bug...
Regards
Jacques
Correct me if I'm wrong, please:
Anyway, if I'm right, with the latest commit we have 3 scenarios:
The only caveat is that if you have used the Tone Mapping tool before setting the Compression Method in the Wavelet Levels tool, you have to turn off and then on again the Tone Mapping tool to update the availability of the sliders.
Is all of these the intended behavior of the tools? If it is, I will update the documentation that way.
@Desmis I tested the latest commit. The gamma adjuster is now properly enabled when wavelets is turned off. However, there are still problems from the user's perspective.
@TechXavAL When Compression method is "Contrast", Wavelet Levels is on, and Compression strength is not zero, Tone Mapping is not applied. I don't know if this is the desired behavior.
@TechXavAL @Lawrence37 The easiest way is to remove this warning about the interaction between Tone-mapping (from Ben S) and Wavelet residual (same Tone Mapping Ben S) and therefore leave the user free to use both at the same time. In this case, be aware that the following settings (from TM main) will be used in wavelet (compression tone mapping)
But I think, in some times, I will change this "tone mapping" compression in wavelet residual to replace by the one in "Local adjustements" best performances and of course for levels and not residual only
Therefore the (provisional) documentation must mention the precautions and the interactions with the 3 sliders
I will commit this change this morning
Now it's fixed commit 01fbc2e You can now use wavelet and tone-mapping together or separately (with the 3 sliders above shared)
I don't think there is other intercation with wavelet (??)
But there are many with tone-mapping when you use Ciecam - 5 years ago there have been many discussions about the ciecam TM intercation... but never with wavelet
I will work on "wavelet TM " for "main" when
Regards
Jacques
It's working fine on my computer.
There are 3 scenarios:
Should this issue be closed?
Tone Mapping Strength and Gamma are always available.
@Lawrence37 @TechXavAL
As I said, there is now "no protection", it is up to the user to manage the possible mixture, between "Tone mapping main" and "Tone mapping in residual wavelet"
But If you want, it will be a work to do :)
jacques
@Lawrence37 True, true. My fault: it seems that I didn't update to the latest commit, but you're right.
@Desmis This is my personal opinion, but if the behaviour is correctly documented, the user should be well aware of that, so unless making crazy processings, there shouldn't be many problems. Well, at least not undoable problems.
I've found an odd behavior while testing a pp3 from another RT user.
This is the About from my RT:
My OS is Linux Mint Cinnamon 19.3
The problematic files are:
And now this is how the odd behavior appears:
I've tried to start from scratch with my image, and every slider inside Tone Mapping is available to me, no matter which other tools I've turned on.
If there's something more I have to tell or test, just say it!