How to process mixed conditions lightning & getting nice colors in Darktable

@s7habo hey Boris you know I haven’t been able to replicate your results! First of all the white balance (but I don’t think it’s the key aspect here) – I used spot metering and draw a rectangle on the white area around the window, did you perhaps included the whole window with also a bit of frame (the wall around the window) like the screenshot you posted?

[this is my white balance settings plus spot area]

Screenshot%20from%202019-08-29%2000-06-25

Screenshot%20from%202019-08-29%2000-06-31

Also, did you increase a bit the exposure before applying the first curve? (I did, about +1ev).

Then step 3, when you say “repeated the process with the curve”, you mean you added a second tone curve instance, with same shape drawn on the b channel this time applying the mask? This is what I did but it only decreases the overall saturation quite a bit – plus my mask does not look at all like yours.

[this is my first curve applied, no masking]

Screenshot%20from%202019-08-29%2000-04-12

[this is the second curve, tryng to replicate point n3 of your list as I understand it, with resulting mask which is very sensitive about the input values to the left – increasing them just a tiny bit makes the entire mask go away because as you see the values are all below 0]

And Velvia? I bumped it up to 75% but I get no punchy natural colors like yours, my image is still flat!

Sorry but your version is the one I liked the most and my inability to replicate it is a bit disappointing!

I should thank everybody that has tried to improve the image, you all did much better than me; I especially liked @s7habo and @msd for the colors and mood of the image and @Daniel_Catalina for the Fuji noise reduction settings.

OK, let’s do it step by step. What’s important is that you understand what’s happening.

  1. White balance.

White balance is important to eliminate color distortions produced by the camera itself. In this case this is the magenta (pink) which you can see well in windows. Although this is not so prominent in the other areas of the image, this color shift also affects the other colors, including the colors of the skin. So, let’s correct that first:

Before:

After:

As you can see, I have selected a range in the window for whom I thought it should be white. Now you can see that the chairs and T-shirt of the girl look more natural.

  1. yellow color cast

Now it is a time to remove the yellow tint caused by the monochrome illumination. What is noticeable is that the brighter areas of the image are more affected by this than the darker ones.
So, if we want to remove the color cast, we have to take that into account.

The B channel of the LAB color curve is very suitable for this. First we have to find out which area we shouldn’t influence too much. This is, for example, the area of the woman’s face. Therefore we take color picker (area) and look where this area is in the B channel.

This will be our " break point " for the curve:

Now we remove the yellow cast by making a bend on the marked place in the curve, and make sure that the wall does not become too bluish.

This is a bit tricky here but the reference next to the face is also the light area of the wall to the left of the window. It should remain white as far as possible:

  1. Increasing color saturation with Velvia

Since the yellow tint has suppressed the other colors, the color saturation must be increased to see what else needs to be done:

  1. further color correction

As you can see, the facial colors are slowly appearing, but the yellow cast is not completely gone yet. We now repeat the process with the curve, this time with parametric mask to protect the face colors even more:

  1. brightening the image

At the end, we take another color curve to brighten the picture:

The whole thing is of course very tricky, and each time you get a little different outcome, but still, with a bit of patience you can get very satisfying results.

11 Likes

thanks for the very detailed step-by-step Boris, much appreciated all the time you’re spending to help me!

1 Like

DT 2.7 20180922_FUJ8679.raf.xmp (19.2 KB)

I’m not sure if the yellow color cast should be removed or whether it is part of the picture. Hard to say when you don’t know what the situation really was.

3 Likes

Couldn’t correct the colour so I decided to do my own thing.

RawTherapee capture sharpening and highlight recovery
gmic norm, local contrast, weighted smooth, brightness-contrast, resize

nice one, I would also in these cases go straight to B/W, but I kinda wanted to see how one would go and correct the colors → that’s why my original post.

@aadm in case you want to play more with noise reduction, I saved at some point this link: Noise reduction in Darktable - Tomas Sobek Photography

It is updated from time to time and you get a lot of options :slight_smile:

Ciao @aadm,

Here is my attempt. I did not concentrate on colour casts, but
on the crop instead…

/Claes

I don’t think so but thanks. It was a quick experiment to show that desaturation is one way to make the colours look more pleasant. I just went all the way to B&W. :stuck_out_tongue:

Actually, without any colour adjustments, I found the colours to be not great but not too bad. Here is a take with no colour adjustments. Excuse the noise.

@s7habo
I downloaded 20180922_FUJ8679.raf into one folder and your xmp into another, renaming it to identify what it was. Then I opened the raf in dt and loaded your xmp. I then went through each step, saving snips of the settings of each module. The next day, I followed the snips to work through it myself. Later that day, I opened the raf and tried loading your xmp again. It won’t load. I tried removing the raf from the collection and then opening it, but it still wouldn’t load.

I tried changing the name of the xmp back and copying it into the folder with the raf, and then opening the raf, but that didn’t work. I downloaded a copy of the xmp from my online backup, from which I could tell that my original copy had not been altered. Still didn’t work. I tried loading the xmp that I created when I walked through the steps, and that loaded.

This is the second time I have had this happen. The last time, though, I had changed the location of the folder holding the image and the the folder holding the xmp.

Do you or anyone else have any idea why this is happening?

The XMP needs to stay in the same folder as the RAF file. Darktable looks for an XMP with the same base file name as the RAF. Also the “master” copy of the XMP file is in darktable’s database; when a module is altered, a new XMP file is written to disk.

Also there is a checkbox in the preferences to look for a new XMP and darktable will give you an option to import it if it does see a new version.

I put Boris’ xmp into a different folder and loaded it using “load sidecar file” in lighttable so the original file would not be overwritten. That originally worked, and continues to work for other xmp files I have put into that folder, such as other xmps that I have download from this post.

I did change the name to match the raf and copy it into the same folder as the raf–overwriting the xmp in there, but the raf opens in its raw state and changes the xmp in the folder.

I wonder what would happen if I deleted the database?

You can just rename library.db to library.db.old while darktable is closed.

I have to admit I must be getting senile. I was using the wrong file. Sorry.

darktable 2.6.2

20180922_FUJ8679_01.raf.xmp (2,3 Ko)

I opted to retain the colors while trying to make them more pleasing.

20180922_FUJ8679.raf.xmp (14.2 KB)

Perhaps my inexperience with DT, but RT seems to tame the colors on her spectacles better.

20180922_FUJ8679.jpg.out.pp3 (14.4 KB)

Instead of using the Lab curve, you should use the color balance module as it works in RGB mode.

Open the module and select neutralize colors and then fine tune it :slight_smile:

1 Like

a-20180922_FUJ8679.jpg.out.arp (9.4 KB)

difficult as there seem to be a purple light (reflected for instance on the spectacles) while there is a stong yellow cast from the walls and ground.