Evaluate the new sigmoid tone mapper just merged into master ...

Which is exactly what is going to happen if you’re shooting someone who is illuminated by bright direct sunlight and is not wearing makeup, as happened in the example image.

That’s what happened here - filmic translated “bright sunlight highlights” into “dude is sunburned”

It’s pretty obvious, just from looking at the image, that the skin tones most negatively affected were ones that were direct-sun.

2 Likes

Yes Yes and Yes…

IMO none of the examples hit the mark but it could be my screen or the close crop… there is a sweet spot in there somewhere…warm sunny tones again IMO don’t look like any of those…

1 Like

Its a good discussion point and likely quite true for tone but with the gamut mapping in v6 some images for example of flowers and things with those reds yellows and oranges are very different looking across the board not just what might be areas outside “middle” gray so in my mind filmic is a curve type, its a tone mapper with a particular implementation in some software… and then the one being discussed here is DT’s version in a module but it is also combined with other elements now including the use of UCS which is marked different and you can show this a little by flipping to rgb CB to JZAZBZ to see the difference from UCS which is less contrasted more diffuse appearance with a nice spread of color which is normally a good option. Combine this with the gamut mapping and color preservation modes that come into play and the situation is not a simple as a filmic curve being applied to the data. Even the rethink between v5 and v6 makes them quite different to manage. Because of this complexity any comments and assertions should in every single case be backed up by a visual example as pointed out by @afre and in a form that will allow others to experiment and confirm or critique any assertions. I think at least 3 types of examples are useful… Can you get something in filmic that sigmoid can’t handle well, and the reverse and finally can the two be very similar and is the difference then merely how much time and effort does it take to get there… but this must be supported in all cases by examples so that any such assertions can be verified and don’t merely reflect opinions, bias and experience with the software…

Case in point your statement above commenting on that particular post that has itself generated a lot of back and forth might easily be avoided, tested, or demonstrated by someone having that file and taking a run at it and saying yes if you do x and y then you will get this but if you do it this way things are fine…

4 Likes

I will have to try the fire image… On your parade image sigmoid is bad in blue also if you try this lightness blend but in normal… basically default sigmoid or default filmic with a change only to v5 science, no for preservation and and safe for the shoulders ( as those now default to hard) ends up being very similar to sigmoid and both are about the same with some blue in the pants but both at a level that might actually be believable …

EV at 2.3… only denoise chroma preset and lens corrections added in addition to tonemappers… using legacy wb to avoid any possible issues with D65 values… wb set to as shot

Swapping sigmoid out for filmic as noted above white pants…

Default filmic… blue pants…

1 Like

To better understand the scene referred workflow, filmic and with these sigmoid a little bit more, I found the video series of Riley Brown starting here:

very enlightening (just ignoring the AgX thing). In particular the second video:

Hm, looking at the message preview, I should maybe also post the last one of this series:

I personally hardly touch filmic but go with the default settings and try to fix things before (same workflow as in blender, fix the “scene”), and if I have to touch it, it’s most of the time the highlight reconstruction or sometimes the contrast.

I’m looking forward to sigmoid as I have the impression that it could ease my workflow a bit in most cases.

Perhaps Aurélien’s original article will also be useful.

2 Likes

For folks wondering about the colour differences between filmic, sigmoid and their various modes – there’s a good article out there (if you don’t mind the writing style): Question #27: What the F*ck is Perceptual Colour? – The Hitchhiker's Guide to Digital Colour

Basically it describes the difference between chromaticity which is a measurable quantity related to the stimulus, and perceptual colour which is something that happens within our brain. The latter is obviously harder to model in a reasonable manner such that it doesn’t fall apart.

Filmic’s color preservation modes preserve the stimulus chromaticity. Same does the rgb ratio mode in sigmoid. Neither attempts to preserve the perceptual color. Per-channel mode of sigmoid introduces a skew to these chromaticities that happens to be pleasant for some things such as skin tones and sunsets.

As far as I know, chromaticity preservation was an explicit design goal for filmic - adjustments such as skewing some tones to yellow etc. were intended to done in other tools / modules. This allows for a kind of surgically precise workflow. Just look at the amount of control exposed to the user also in the filmic tone curve. Other modules have other design goals that lead to different workflows.

I wanted to clarify this because there has again been a bunch of controversy around the subject. Please read the above article and also Aurélien’s blog post linked by @kofa. Also, let’s focus to sigmoid in this thread, shall we? For me sigmoid has been a nice experience so far.

15 Likes

You are right, making the steps repeatable is the better way.

My intention was to illustrate my personal experience (that i got faster/easier results with sigmoid), but i see now, that this was not exactly helpful.

Anyways, here is a shareable image that was also easier to edit with sigmoid.

The edit has just a few basic adjustments (exposure/WB/tone equalizer/CB rgb + sigmoid defaults) and yields a pleasant result for me.

I won’t include an filmic edit (it’s probably possible to match my look) - but for me it has been back and forth to get something acceptable.

Here is the raw file and my sigmoid edit.

_MG_3137.CR2 (18.0 MB)
_MG_3137.CR2.xmp (30.2 KB)

license CC-BY-SA

1 Like

I’m not saying that filmic is awesome, that filmic rules all…

Not even saying sigmoid is good or bad or anything (really, I do see the appeal, and if more people are happy about it, then it’s a good thing, right?).

I’m just very very VERY curious to get a raw file where someone had the issue with filmic completely changing things like skin tone. And even more so if sigmoid doesn’t do the same.

I’m just curious, specially because I have never seen it. And because the differences between sigmoid and filmic are minimal from my testing, and the differences are there in how highlights are handled. So colour differences in different parts of the image, I’m very curious about!

1 Like

This is a good example where sigmoid does a certain thing that is sometimes very nice, sometimes not. Depending on your shot. For most sunshine / sun disc shots, it does something nice :).

The image with highlights properly reconstructed, and then just exposure, so low that the sun isn’t clipping. So no filmic, nosigmoid.

Just, to take a look at the ‘data’ of your shot:

You see how the sun ball suddenly becomes very bright? This is no tone mapping at all, this is how bright the scene was. (well, because the sun was clipped it’s a guess, I think this shot would be much better if it was taken without clipping anything).

Now, filmic with just a click on the ‘auto white’ picker and then changing to luminanceY mode:

And here sigmoid in rgb ratio mode with the skew a bit down:

Now, there are two ways at looking at the results. “Filmic preserves more of the data” and “sigmoid smooths more”. If you like on over the other, well, that depends on your expected outcome :slight_smile: .

Filmic still shows the bright sun disc and the surrounds a bit. If you compare it to the un-tone-mapped data, I think filmic keeps more of it.
This is the ‘against sigmoid’ argument, that it smooths the highlights, rolls them off too smoothly or something, causing to lose highlight details.

But, in this case (and other shots like this), you could very well argue that the sigmoid result is more pleasing! And I kinda agree :wink: .

So, in cases where you want the roll off in the highlights to still try to retain sudden exposure changes in the scene, filmic seems to do a better job. But in many (very) bright shots, that’s not what you want to happen, you want to lose a bit of the highlight details to make them more smooth.

Now, messing with local contrast in the highlights can get some details back:
image

But then I’m fighting results from sigmoid, so although I find this very much a good idea, it’s not ‘the most easy’.

Now, filmic can also be ‘fixed’ easily if you know how, by leaving it at maxrgb but applying a touch of filmic-reconstruct, with the slider more to ‘bloom’. This smooths things over:
image

So, in my mind (and maybe oversimplifying it a bit): Sigmoid is good for smooth highlight transitions, filmic is good for preserving more of the ‘recorded’ gradation and colour in there.
But the smoothed ook if sigmoid can be undone by using local contrast, and filmic can be made to smooth over sudden changes in brightness by using its own reconstruct parameters.

What you want depends on the shot I guess, but it very much tells you if you get quicker ‘pleasing’ results with one vs the other.

Jandren was joking when he said “maybe I need to rename it to sunshine tonemapper” or something across those lines… but it is a very good module for shots like that :wink: .

3 Likes

I think the comparison with filmic is valid, since until sigmoid arrived, it was the only unbounded → bounded tone mapper available in darktable. It has its strengths, as well as weaknesses, so comparing sigmoid to the old (and current) default is a very relevant topic. I agree with @flannelhead, and will refrain from mentioning filmic, unless in comparisons with sigmoid.

I’m testing it on more images, and find that I use tone equalizer more often to compress the tonal range than I usually do with filmic, but I begin to like the results. :slight_smile:

5 Likes

Thank you @jorismak for posting your findings. For me this is helpful and very interesting :+1:

If you have proper lighting, I’m all with you - don’t think that filmic will mess up with the skin tones. But I often have shots, where some faces have bright sunlight. Then it gets a bit messy.

Here is a (snap-)shot that shows the effect:


_MG_0969.CR2 (17.7 MB)

For my taste, all the standard filmic options are a tad off - so I need to start fiddling. Sigmoid on the other hand gives a believable result.

license CC-BY-SA

5 Likes

Thank you for posting this! It’s interesting, I come to a different conclusion from looking at those examples?!

You show filmic:

and the according sigmoid:

where you sum up the differences as:

which to me is not the problem in the comparison.

For me it’s the gradient from sky to the superbright sun-disc that has a noticeable twist in color and below the sun towards the horizon that hint of salmon. It’s not smooth, not because of detail, but because of a non-smooth gradient. Even far away form the admittedly extremely bright sun disc. Sigmoid not only is lacking the hue-twists (and with that improves smoothness of brightness) sigmoid also lacks that salmon flavor (I haven’t color picked the region but I would not be surprised if that is actually the same color, but the surrounding hue-twist in filmic pushes the salmon-color perception).

Therefore, I think your conclusion:

Is not what I would arrive at. The definition you see in filmic may be part of some weird interaction of color-brightness perception combined with the several possibilities of how filmic is trying to retain RGB-ratios (which might be the wrong thing to do if you want a high-visual quality dechroma for tonemapped highlights).

I don’t want to drag the topic too much by talking about filmic here, but the conclusions drawn from example pictures comparing filmic to sigmoid are sometimes surprising for me.

(All of the above surprisingly holds true for my uncalibrated and calibrated monitors which is not what I would have expected)

EDIT:

that comparison speaks volumes and imho emphasizes with skintones what I saw in the sunset picture.

6 Likes
  1. We all judge on different merits, so this is fine!

  2. I’m seeing the same colours when judging the image. Sigmoid in ‘per channel’ mode does something different, but I don’t like it at all. And messing with the ‘preserve hue’ slider introduces a colour which shouldn’t be there, in my opinion.

Toggling between the filmic one and the sigmoid one, the colour (hue) is not different (well, maybe if you start measuring). But just looking at it, specially from a meter extra away, I don’t see a problem between those two.

Now, yes, the wholep point I was saying, is that filmic handles the extreme highlights different. You see here in filmic there is a sort of ‘cut off’ point where it goes to white. Before that point, it tries to hold on to the colour that’s there for dear life. This causes the jump, and the fact it’s not judged ‘smooth’ by most (and I agree!).

But sigmoid makes it smooth by not being as saturated. Sigmoid just starts going to white smoother and earlier. That colour filmic is trying to hold on to, is there in the un-tone-mapped version. Filmic just messes up the transition.

Sigmoid wins the transition, but it does so by being less colourful / saturated. It loses colour-detail.

In cases where you can’t properly judge the ‘true’ colour anyway (like bright sun, or skin tone directly lit by bright sun), this is probably the more preferable method. (Also the reason why the ‘colorbalance rgb - natural skin’ preset desaturates the highlights quite a lot).

But imagine that you know which colour it was, like a bright blue sky. Then what sigmoid is doing is a shame, because it looses the colour.

If the amount of colour in the extreme highlights is of no concern, then filmic luminanceY (or ‘no’) but now even better sigmoid is probably the choice.

I’m looking at some snaps from my own, and yes, when directly hit with sunlight things can get messy. But to be honest, I don’t like sigmoid then at all. I just think skin with bright sun on it is always a mess. I try to use the tone-equalizer to, well, equalize the lighting of it. If that doesn’t work, I just often don’t use the shot. Maybe that’s why I never thought about differences in that.

So, I’m learning use cases here :slight_smile: . Can you guys have a crack at this file? I’ll start a play-raw thread for it to not pollute or hijack this thread for a single photo. But I am interested in what filmic / sigmoid uses are here.

Play raw here: Handling shade + direct sunlight with skin-tones, filmic / sigmoid preference?

2 Likes

To further your comments do you recall part of the original thread…I will have to go back where @jandren suggests to use contrast in rgb contrast in conjunction with sigmoid?? I will go back and edit this comment if I find the reference…but then might impact what modules are used to tweak it and what the highlights and shadows response is when combined with some contrast added from that angle…

I think we are hashing out and discovering what was commented by @flannelhead. And when you want or need that filmic will be the way to go and maybe sigmoid will be a quick path or require less tools to provide manipulation of the “yellows” and other aspects of the tone mapping that will become clear from a bit more use and testing

3 Likes

Thanks for sharing this one …when I have time I want to play with this a little… If the metric is what do they look like at this point, ie no fiddling … but see merits in maxrgb and no in filmic… if you were to explore adding back color to no it might be a nice base and maxrgb gives pleasing tones on the post and evens out the skin nicely so just needs some color work…

Well, I went at it.

And I get a filmic version and a sigmoid version where I prefer the filmic version. And also, when flipping back to back, I hope to illustrate what I mean with ‘the differences are not that big’.

Hmm… but I’m kinda doubting myself here. Did I end up at this sigmoid version, because I did the filmic one first? Am I trying to make sigmoid to the filmic thing, instead of it’s own thing? If I did sigmoid first, would I end up with a different filmic version?

The ‘cheating thing’ here is that I use the natural-skin preset of colorbalance-rgb. Mainly because I always use one of the presets as a starting point. But also because I think it needed it.

Now, I did try sigmoid without colorbalance-rgb. And when comparing without colorbalance-rgb, sigmoid did an interesting thing. But I wouldn’t call any of the two a ‘winner’.

Once I introduced colorbalance-rgb, I liked sigmoid better with it in the pipe, but then I prefer the filmic version (although it’s VERY nitpicky).

Also look at the sky in the back, and the wood of the ceiling. Filmic seems to do a bit ‘more’ there.

Now, I didn’t do ‘much’ with filmic. I set the exposure by using the exposure-picker at 60% on the shaded side of the head. Enable filmic, hit ‘auto white’, and maybe reduce it a tiny bit more. I experiment with the ‘highlights contrast’ which defaults to ‘hard’, sometimes I like ‘safe’ more. Depends on the image.

Now, I copied the image, disabled filmic, made sure I haven’t nothing else after exposure (so no colorbalance-rgb or local-contrast, diffuse, etc… at this point yet). I enable sigmoid.
I notice I almost always like the image with the contrast reduced. I almost never like the ‘per channel’ option because it looks too pale to me, and when reducing the ‘preserve hue’ slider, the skin tone shifts to a yellow cast I don’t like at all. So, ‘rgb ratio’ it is.

Again, this is not to say I don’t like it. I’m just trying to learn how other people use it and see things!

(animated png, seems to be working for me)

source frames:



_MG_0969.CR2.xmp (9.2 KB)
_MG_0969_01.CR2.xmp (9.5 KB)

(And to add more confusion, just a Filmulator 2 sec attempt. As a sort of ‘compare’ to what other tools can do with the colors).

1 Like