Let's learn Filmic RGB! Your one stop shop to understanding filmic-based approach to edits!

You’ve got it exactly right! Look bite the videos that I have sent.

Let’s try it this way. I will not be able to explain this mathematically, but as I understand it as a layman.

This is the initial situation without filmic:

Shematically, I only transfer a part of the dynamic range of my camera to the sRGB color space:

Now, I have also set filmic so that there is no compression. The look of the photo does not change almost at all:

If I now increase the exposure by one EV, the shadows are getting lighter and I get the warning that I have left the sRGB gamut in highlights:

So, we have this situation now:

Now with white relative exposure I bring the highlights back into the gamut. (Note that the shadows are affected because of the compression):

Now we have this situation:

Now I want to expand this darker compressed area a bit with black relative exposure until I have enough contrast in this area:

This is how it looks now:

12 Likes

Just to make this very clear for people who want to learn the module: @s7habo 's simplified graphs is at the moment ever so slightly not how the module actually works. You can see this for example in the last step of his actual screenshots how adjusting “black relative exposure” also changes things a bit in the midtones and a bit more in the highlights.

So to all the learners: expect some “crosstalk” of the sliders. Don’t be frustrated if that happens, it’s how it works at the moment. In that regard the module is a bit more iterative than what you might be used to or what you expect.

But, and that’s the important part, everything else that @s7habo showed is exactly how many people would use this module and how it can give fantastic results.

5 Likes

I find that ev mapping graph a nice way to understand it and as you have pointed out you can see shift and changes in contrast by the slope and spread of the mapping lines between the scene and display ev zones…I think this map is good for beginners because you can see that the graph does not change if you crank up exposure…18% is mapped to a lighter value but the relative mapping to white and black does not change…if you did this to a histogram with a levels display you would see the difference…I think many people still have that sort of relationship in their heads…

1 Like

I agree with the first part. This is how a curve works (filmic is a glorified curve adjustment).

I disagree with the iterative adjustments part. As @europlatus said, we aren’t dealing with the white and black sliders of Adobe, where at 0, by the way, we aren’t even at a neutral starting point. It isn’t about bending specific tones to one’s will. For that we have tools that deal with local contrast, colour or tone; e.g., local contrast, colour balance or tone equalizer. In contrast, filmic adjusts light ratios and roughly sets the shadows, mids and lights to where it makes sense for our nonlinear eyes. Therefore, it is more of a “set it and forget it” kind of module rather than a “tweaking until I get all the tones I want” tool.

A useful illustration would be to picture a slinky toy or mechanical spring. If you move one segment of it, the rest would sure follow. One could hold or lock multiple sections in place, but at some point, we would be applying unnecessary and possibly harmful tension. In the same way, we can’t have the curve be static / unchanging at other points without bad things happening such as not having enough tones to go around and artifacts.

3 Likes

Perhaps that is what it should be but then you need to hide all the sliders. It is funny that exposing them is what gives full control but likely also what causes problems with excessive tweaking. I must admit to being guilty of fiddling too much with it just because I can to the point where I can’t decide on what looks better. :slight_smile:

3 Likes

I encourage people to watch Aurélien’s demo from our last informal meeting. It is quite obvious that while filmic plays an important role there isn’t an over-reliance of it. He only goes back when there is a problem working with the other modules and he thinks it may be due to poorly set parameters.

1 Like

I personally don’t have the trouble with filmic others seem to have, so perhaps detailing my methods might help someone. I start with a preset that has White and Black relative at default values, contrast 1, latitude default, shadows/highlights -25, mid tones saturation 0, both hardness options set to ‘hard’, pres chrom ‘rgb Power norm’, 0 noise in highlights. This gives a very flat look not suitable for most images, but an easy starting point. To start I set exposure so focal point looks nice. Then in filmic, Auto click White and Black relative sliders. Sometimes it’s perfect, sometimes they need slight adjustment. How to know? Highlights should be neither blown nor flat. Shadows should be neither crushed nor faded. Then I increase contrast. 1.35 is a good default, but it varies on dynamic range. High dynamic range, less contrast. Low dynamic range, more contrast. Sometimes adjusting contrast gives the orange warning for shadows or highlights. In that case, decrease latitude til it’s gone. In tricky case it may require readjustment of black relative, but that is rarer. You could finish there, or toggle the pres chrom options. To resaturate, I use other modules. Typically channel mixer, but you could use color balance. So after applying preset I usually only have to adjust 3 or 4 sliders, and its rare I have to go back over them. Do one, move on to the next.

3 Likes

Thanks for sharing I had missed those due to work and wasn’t sure if they were recorded

Unfortunately, only the first part was recorded.

Maybe this is another point which makes filmic so difficult to unterstand for so many users: It has no “neutral” setting. Resetting the module gives a starting point which alters the picture in some way. How this result is achieved is not transparent, to not stress the word “intuitive” again.

Basecurve in comparison has a neutral setting.

Does this help? But what’s the point? (Remove the .txt extension, import into darktable.)


filmicrgb_close-to-neutral.dtpreset.txt (1.0 KB)

1 Like

May this help you:

from filmic manual

"Note: filmic rgb cannot be set with entirely neutral parameters (resulting in a “no-operation”) – as soon as the module is enabled, the image is always at least slightly affected. You can, however, come close to neutral with the following settings:

  • in the look tab, set contrast to 1.0, latitude to 99 percent and middle tones saturation to 0 percent
  • in the options tab, set contrast in shadows and in highlights to soft.

In this configuration, filmic will only perform a logarithmic tone mapping between the bounds set in the scene tab."

And most important:

Despite the technical look of this module, the best way to set it up is to assess the quality of the visual result. Do not overthink the numbers that are put in the GUI to quantify the strength of the effects.

5 Likes

Since this is a thread about learning what the module does, the advice to not touch the module too much is at least a bit odd. Learning the module is 100% about bending tones to one’s will. Otherwise there would be a huge conceptual problem of “why expose controls that do not do what the user wishes”.

I agree with @priort : it’s easy to fall into the iterative tweaking trap. But the iterative trap exists because of access to controls which the module is lauded for. By managing expectations of the user, the teachers can prevent frustrations.

That’s specific of the current implementation. Other implementations exist and users might/will expect otherwise. Managing those expectations will avoid user frustration.

Yes, it is indeed the case that you can get lost very quickly here.

But, it can be very helpful to see filmic not as a styling element, but as a module with which you can create the optimal conditions for modifying the photo in further steps. The filmic is excellently suited for this and in most cases - under this condition - very easy to use.

Let’s take your example for that.

We push the exposure up until everything is “optimally” illuminated. “Optimal” is a personal assessment and depends on what you see in the photo as the main subject.

I have increased it here to 3 EV because I still want to see the details in shadows:

As you can see in the histogram, the highlights are hard on the edge of overexposure. So, my goal now will be, with the help of filmic, to expand this margin, i.e. - to compress the highlights and to see that the details in the shadows do not disappear into the black. In filmic, I increase the white relative exposure and black relative exposure until I have enough room for further processing.

The fact that the photo now looks very flat and low-contrast doesn’t interest me at this moment. Note also the values in the histogram:

Now I have, so to speak, “set the scene” and can concentrate on the processing. This also means that most of what happens now happens in the pixel pipe after the filmic.

Specifically, I now want to increase lost contrast again and there are countless possibilities. In this case I will simply - after the filmic - use a new instance of the exposure module with multyply (or multiply reverse) blend mode for this. Let’s see how it looks like:

Now I have again a nice contrast with all the parts I want to have: the shadows are not too dark (you can still see the details) and highlights also show the nice transitions and even there the details are still clearly visible (look at the brown bark of the tree in the middle).

I can now use Tone equalizer to subtly lighten the shadow areas and that’s it:

I could now play a bit more with saturation and colors, but that is not necessary for this demonstration.

_DSF1845.RAF.xmp (9,2 KB)
darktable 3.5.0~git1357.578d3ffa7-1

13 Likes

It appears I am not capturing the nuance in my remarks. There is a difference between iterative learning and constantly tweaking a tool in hopes it will do what one thinks it will do. False expectations is why we have dozens of threads and heated conversations on filmic.

@s7habo says it well in the post before this one. filmic is

In light of his comment, I think mine would make more sense.

I would add that it is about being thoughtful about how to use the tool as opposed to randomly moving the sliders and expecting good things to happen. I understand some people learn by doing, which is totally a valid way to learning. I am that type of student. However, if I am in the experimentation phase, I need to realize that things won’t go my way and that I need to step back a bit to evaluate what I am actually doing. I run into this trap all the time when exploring G’MIC. I mindless sink hours obsessing over dumb things, hours that I can’t get back.

7 Likes

How do you deal with filmic being at the end of the pipeline? Especially as “a module with which you can create the optimal conditions for modifying the photo in further steps”, but coming after some creative modules that change dynamic range.

I find myself sometimes adjusting filmic to rescue some drowned shadows or burned highlights, then realizing it’s not enough. Then I go into the tone equalizer and do it there, but that changes the image dynamic range, and thus requires another round trip to filmic.

This can become an annoying back-and-forth between several modules (anything modifying tones, e.g. tone EQ, contrast EQ, tone curve RGB) and filmic.

3 Likes

Don’t confuse order in the pipe with the order in which you use things.

You should be precise with the Tone Equalizer, learn to use the masking feature so that if you dont mean to modify the whole dynamic ranger, you don’t.

I usually leave a little bit of breathing room at either end of the histogram to allow other tools to modify the upper and lower bounds, then as a final just touch it up with filmic again.

3 Likes

I have to admit that I didn’t really understand this one. When you say “pipeline” do you mean “history” (chronological sequence of modules that you can see in the left window)?:

History

Or hierarchically structured sequence of modules which is already given by the darktable according to a certain logic, which you can see in the first tab?:

hiearchie

This is so called “pixelpipe” where output of lower module serves as input for next module higher in hierarchy.

Filmic is here at the boundary between modules that I will roughly call “correction modules”, where the whole thing is still in scene linear mode. One can say, with filmic one closes the process of preparation. The photo is still more or less in the “raw” state, but with the exposure and dynamic range adjusted to the sRGB (or other output color space). Everything that comes after filmic serves, so to say, the “adaptation” to our perception. In this area, after the filmic, the photo is " beautified ". You can call these modules “creative” or whatever.

According to this structure, filmic is for me rarely at the end of the chain.

But as I said, maybe I misunderstood you. It would be great if you could go into these difficulties with a new example. In any case, I’ll be happy to take a look at it.

And in principle, I think it’s very good that you made an effort to talk about the problems you are facing with examples beforehand. I hope the other people who have difficulties will also get in touch soon.

5 Likes

It’s what the manuals says, you got me there :wink:. And it leads to a straight (neutral) graph in filmics gui:

Now lets switch off filmic:

I can´t help, but for me this isn´t a neutral behaviour. And simply that’s what I mean: The graph shows you neutrality but the result in the picture shows something different (not looking at any numbers). And this might be difficult to understand for many users even though it might be just of minor relevance.

I’m using filmic for my personal workflow as well and I absolutely agree that it is the best tonemapper dt offers up to now. My workflow is similar to yours: set Exposure, restore highlights and shadows with filmic, enhance contrast. With a few styles it now leads to acceptable results, but it was a long way for me to achieve this. And I am always eager to learn.

Very cool thread, by the way.

Greets
Jürgen

1 Like

Filmic is doing two things.
The graph shows one of them (the tone mapping), which can be neutral.
The other is a log transform, wich cannot be neutral. Unless there is a value n for which x=log_n(x).
As a result, the filmic module as a whole cannot be neutral…

1 Like