Base Curve Module “Hybrid” & ACES - Like (Proof of Concept)

Hi Christian … not sure if it allowed to say something to your edit here ?!
I hope you do not mind that I do share my thoughts about this demo …

For me personally … this demo has " three issues " purely from the technical side , I just guess down to different tastes and purely subjective from my side !!!

You have very strong darks or blacks , being clipped and no detail at all visible .
Overall the image is quite " blue " … to personally the blossoms are " cold " in color … but you might been after that grading . Blue and red channel are " clipped " in the highlights … if I can trust the PS histogram ?
Slight haloing … along the very dark twigs , any idea where they do come from ?

Not sure if I have done the right thing … with my honest sharing of thoughts ?

Cheers Andreas

2 Likes

I will. Good idea…I’ll try to find some time tonight…

1 Like

No problem, the colors look right to me on my screen compared to what I was going for. Maybe I should check its calibration?

Yes, the color of the Salignan Mill in the background is out of gamut. I took advantage of the bright sunlight to create an orange-hued background. For this type of shot, my priority isn’t to have a technically perfect photo, but simply for it to look nice.

For this example, I used only three modules, Base Curve, Contrast & Texture, and ColorEq, without any masks, and I admit I pushed the saturation sliders “pretty far.”

All the best,
Christian

Hello,

Just a heads-up: I’ve uploaded a new version that includes a new slider called “Contrast Correction” within the Base Curve module, specifically for UCS Cinematic mode (Mode 3).
What is this? Until now, Kinematic mode used a fixed value (1.10) to process “brilliance” (perceptual contrast) within the uniform Oklab color space prior to the tone mapping stage. This new slider now allows you to adjust this value within a range of 1.0 to 2.0.
How does this affect your images? This setting affects the vector norm of the image’s energy. By adjusting it, you can choose to achieve a “softer” rendering (close to 1.0) or, conversely, add more “bite” and punch to the contrast before the final rendering curve is applied.

Greetings from the Luberon,
Christian

2 Likes

Hi Christian. I have downloaded your latest version. I look forward to trying it. I feel it will be great addition to DT when it is merged.

1 Like

Has a bit of a pastel like rendering…

Here are three shots…

First two with your basecurve module and the third after running the neural retouch and then a few modules and your contrast and texture module… no tonemapper…

1 Like

I installed your latest version. Very nice install to run a test version without having to be concerned about conflicting versions, xmps, database etc. I had to take the win64 version as the woa64 installed but didn’t run, although I’m on Windows 11.

I took this image which opens like that with AgX scene-referred as default:

I then developed it with the basecurve until I got a pleasing result. I found that quite easy to do and it was quick.

I then pasted the same history stack on a new copy and replaced the basecurve with AgX and worked only in AgX until I got another pleasing result. It took me a bit longer and I also made changes in the primaries tab. It’s a bit more contrasty and it has more depth, but I’m sure I could come up with something similar with the basecurve version spending a bit more time on it. Very nice addition to dt.

3 Likes

Hello,
@priort , @Christian_Pfister Sorry for the late reply, I’ve been swamped, too focused on the project, and short on time lately, but I really want to thank you for your feedback and encouragement.
Greetings from the Luberon, :herb:
Christian,

2 Likes

Hi Christian @Christian-B being late to the testing of this new module I am wondering if you have put together any documentation covering the current state of the module. I confess, I feel overwhelmed about where to get started with module and to do it justice. Thanks for developing the module. AgX was overwhelming at first but now is so simple to use once I got a bit of experience with AgX so I am sure that will be the case here.

Hey thank you for sharing your creative project with us…I am enjoying watching it evolve :slight_smile:

If you scroll up there are some detailed notes…

1 Like

So I watched a couple of the early videos and found these notes in the thread which I have printed off. I will try and get my head around the improved module.

1 Like

@Christian-B I am testing your new module by taking a snapshot of the camera’s JPG and using that as a reference while experimenting with your module. I run the snapshot in XY mode and what I have noticed is that there is a significant lag when I move a slider in base curve such as the shadow correction. This lag doesn’t occur if the snapshot is in overlay mode. I wonder if this issue can be reproduced by other users.

Another question:
image
despite reading what you wrote above I am a little unsure about these two icons. Do they both still work in scene refer mode? Is there one you recommend over the other?

Hello,

The libre-dt-lab Base Curve module has received a major overhaul on several fronts: a new Jed Smith gamut management engine, an original cinematic rendering mode (mode 3), significant interface improvements, and better consistency across the three processing modes.

1. Gamut Management: Jed Smith Engine

The previous gamut compression worked on the maximum luminance channel with a fixed threshold per color space (sRGB/AdobeRGB/Rec.2020). It did not distinguish between channels and occasionally produced residual out-of-gamut colors flagged by darktable’s gamut check.

The new engine is an implementation of Jed Smith’s algorithm (gamut-compress, github.com/jedypod/gamut-compress).
It operates on the three complementary channels separately: Cyan (distance of red from the dominant channel), Magenta (distance of green), Yellow (distance of blue)

For each channel, compression follows a square-root curve that guarantees two mathematical properties: Below the threshold: no modification, Beyond the maximum limit: convergence toward the achromatic axis (full compression)
Each channel has two independent parameters:

  1. Threshold cyan/magenta/yellow : the distance at which compression starts (as a fraction of the dominant channel)

  2. Limit cyan/magenta/yellow : the maximum recoverable distance beyond the threshold

Magenta has a higher default limit (0.30) than cyan and yellow (0.20), consistent with Jed Smith’s original behavior, highly saturated greens, which generate complementary magenta, are statistically the most common in real-world images.

Purity Boost
A new Purity Boost slider complements the Jed Smith engine. After gamut compression reduces chroma, this slider re-expands colors toward the gamut boundary, without ever exceeding it, thanks to an automatic hue-preserving clamp. The effect is similar to a vibrance slider targeted at compressed areas.

2. Highlight Roll-off Slider
The roll-off toward white beyond 80% luminosity, which was previously hard-coded, is now an active slider for all three modes. At 0% it is disabled; at 100% it reproduces the original behavior.

3. Default Curve in Scene-Referred Mode
For scene-referred workflows, I have chosen the new Cinematic DRT curve as the default, inspired by Jed Smith’s OpenDRT. Since this is a subjective choice, it is now possible to select your preferred default curve in the module options.

4. Interface Improvements
Node position sliders hidden by default
The “node X position” and “node Y position” sliders are now hidden by default. An eye button in the overlay button bar above the graph lets you show or hide them with a single click, directly below the graph. This significantly declutters the interface for users who do not need them.

Collapsible gamut drawer
The gamut section (8 sliders) is accessible via a collapsible drawer at the bottom of the module.

Unfortunately, GitHub Actions isn’t working right now, so I’ve compiled an AppImage and a Windows ZIP file locally, which are available via this link
Edit: In the meantime, the GitHub servers are back up and running, and the latest version is available : GitHub
The configuration file for the Windows version is also included in the portable folder. I’ll try to update the user guide sometime this week.
Greetings from the Luberon, :herb:
Christian

3 Likes

These two icons work in all modes when starting with a RAW image. They calculate a curve based on the histogram of the built-in thumbnail. The values differ in Display mode.
Depending on the photo’s exposure, you’ll choose one or the other; the second option is brighter in the shadows and is better suited for a high-key effect.
The “Shadow Correction” slider does not work the same way in “Cinematic DRT” mode
have a nice day,
Christian

2 Likes

Hi Christian …
first of all thx again for your hard work and effort you are putting into the module .
Still need to practice to get the most out of it …
In parts i am still somehow puzzled how to use it in different scenarios of different images … mostly because of getting shadows and highlights under control .
Color rendering is awsome , from my POV , the highlights are the biggest issue for me … to achieve the details i want to have in them .
I hope you find the time to create a more detailed workflow suggestion , once the module is finally done .
I am not becoming friend with the two buttons in the graph … they are most of the times ruining my images as the changes are too drastic for my personal taste .
I guess they are influenced by the thumbnail of the image … and the thumbnail is a jpeg that is already processed in camera ?!
Not a fan of these camera jpegs in general … and i do not understand why folks using these as a reference point ?
Does the camera internal used picture style influence the applied curve , here in the base curve module … ?
Meaning if i change the cameras picture style … it will change the tone curve in the module ?
I might be well wrong ?

I’m curious @Christian-B Christian, how would you edit this one with your module…

Hi Todd,
I tried this out with that photo but didn’t post it; here’s my version.


P4180952.ORF.lab.xmp (12.5 KB)
Greetings from the Luberon, :herb:
Christian

2 Likes

one cosmetic thing I noted at least for my version…

DT-Lal vs Lab…

I believe that it is a clipping issue, not a wrong letter. The vertical bar is too thin, it cannot be a lowercase “L”.