Contrast Management RGB : A new scene-referred approach (POC)

Though not on the selection list Contrast Mapping was also proposed and given the discussions about the sliders…it does seem that contrast is “remapped” / adjusted, using global, perceptual (CSF), color and the proportional scaling with the pyramids so maybe mapping is a decent description??

I liked ‘contrast zones’ but that might remind people of the old after-tonemapping ‘colour zones’ or the deprecated ‘zone system.’

‘contrast equaliser RGB’ was in my mind a lot reading through this, because it does seem to be doing a very similar role to that module, but now in pipeline/linear RGB colour space instead of LCh?

Hello Todd,
You’re right, I was afraid the list would be too long.
I’ll add it in the second round.
Greetings from Luberon,
Christian

Yes, it’s possible. I’m working on it at the moment. I’ve synchronized the git branch with the master.
sorry

1 Like

I’ve been trying to understand this myself. It seems the pyramid method was devised in 1983 in this paper - https://persci.mit.edu/pub_pdfs/RCA85.pdf
It allows contrast at just one scale to be altered, but halos can result.
In 2011 a refined method was devised using Local Laplacian Filters and it seems this allows you to increase local contrast at a specific scale without causing edge artifacts and halos.
https://people.csail.mit.edu/sparis/publi/2015/cacm/Paris_15_Local_Laplacian_Filters.pdf

1 Like

Hello,

Thank you to all participants.
For the second round, here are the top three, and I have added some as suggested by Todd.

  • contrast management
  • contrast balance
  • contrast levels
  • contrast mapping
0 voters

Thank you for your help,
Christian

5 Likes

The question is: What are we voting for? The term that each of us likes and finds intuitive or the term and module name that we think has the best chance of describing, to the average photographer outside of this forum, what the module does?

I often wish we were most focused on the latter group. The people on this forum are often Linux users, programmers themselves and mathematically inclined.

I wish there was a way of crowd sourcing and polling cohorts for UX testing for FOSS development.

Users willing to help aid FOSS development could sign up and state their areas of interest and developers could then poll these cohorts and see what alternatives are comprehensible to them. Okay, I’m going off-topic, but I’m typing it out because perhaps there’s already something like it.

1 Like

Hello,

Simply find a “nice” name that suits most of us if the module is integrated into the master, just for fun, as suggested by @mino

Greetings from Luberon,
Christian

don’t vote for others since you don’t know who “they” are and what they expect :wink:
So vote it as a user of this module based on your personal expectations …

it doesn’t make sense to optimize an free and not mass market focusing tool for an anonymous mass market. It just makes sense to optimize it to the needs of those, who are using it and want to improve it for their usage

6 Likes

Hello,

Here is the latest update, which focuses on colorimetric accuracy and seamless integration into darktable’s scene-referred pipeline.
The basic logic has been revised to ensure full compatibility with the Rec.2020 workspace. The Rec.2020 standard luminance coefficients (0.2627, 0.6780, 0.0593) are now used for all luminance calculations.
In addition, the internal green channel compensation has been adjusted to 0.300f to maintain consistent luminance behavior during chromatic contrast operations.
Contrast is now applied using a luminance ratio approach, with this ratio applied uniformly to the RGB channels.
Since all three channels are scaled proportionally, hue relationships are preserved regardless of contrast intensity.

As usual, here is the link for the appimage and the zip file for Windows.
And the code is available on GitHub

Greetings from Luberon.
Christian

4 Likes

Out of those options, I think contrast management makes the most sense. It is the most clear in meaning.

2 Likes

It seems to be getting the most votes, but personally I find it sounds like a setting in the preferences, or the department of middle managers who get paid too much for telling everyone that their contrast isn’t good enough :smiley:

As this module is based on a system of pyramidal levels, I voted for contrast levels, but ultimately I don’t really care what’s it’s called and am happy to let democracy do its thing.

2 Likes

Hi Christian. It’s nice that you kept the commit history this time. Thanks. That prevents the potential problem of a new commit having an error but older commits being unavailable.

I demand a recount. I am looking for only 14,301 more votes. :grin:

6 Likes

Some other monikers could be multiscale contrast (rgb), structural contrast, or maybe “texture and structure” for a perceptual nod to the name.

2 Likes

I like multiscale contrast as it is descriptive.

Texture and structure is also nice, but for ease of retrieval and discoverability (see the other thread…) I would advicate to keep “contrast” in the name.

3 Likes

To my mind, the naming problem stems from the fact that a newcomer to RAW processing will not necessarily appreciate that there are aspects to contrast that go beyond the fundamental tonal contrast, or understand how these other levels will impact upon the likes of sharpness and depth.

Names like Shadows and Highlights & Diffuse or Sharpen convey the concept of multiple tasks.

None of the proposed names truly convey the existence these ‘other contrasts’ but Contrast Management probably comes closest.

Although long-winded, something akin to Contrast & Local Contrast Management may be a better solution.

I like Multiscale Contrast too.

3 Likes

Hello,

I’m sorry you had compilation issues. I had tried so many times to compile a version for macOS that I wanted to start over from scratch and synchronize with the master.

For the story’s sake, the compilation issues were caused by changes I had made to the “base curve” module.

Have a great Sunday, everyone!
Christian

1 Like

Hello,

I understand and agree that the word “management” brings us back to the professional world.
In French, I would say “gestion des contrastes”, hence the translation “contrast management.”
I like Todd’s suggestion:

And I agree with Daniele’s comment

So I would suggest “contrast & texture". What do you think?
I am not at all opposed to a third round of voting.
Have a great Sunday, everyone.
Christian

9 Likes