I’ve recently gotten more into darktable and am using it right now to process pictures from a recent trip to the Azores. So far I really like the workflow I’ve setup for myself with the help of online resources.
I am facing an issue, where the processed raw ends up heavily tinted towards yellow, while in fact the location was quite lush green. I’m noticing this across different pictures and locations across the whole set.
I’ve tried messing around with the color calibration module to shif things more towards green/blue, and also tried the color equalizer module. The latter does work to some extent, but I dont want to tweak every image that way.
Shouldn’t the green exist in the RAW data. How can I bring it out automatically?
Actually, as far as I can tell from this, your camera is distorting the colors.
On the left is the SOOC JPG, and on the right is the image with white balance adjusted using color calibration. I used the eyedropper tool to select the tree trunk (in the red area) as a neutral color. You can see that the sky in the SOOC JPG is greenish, which can’t be right.The white balance in darktable renders the sky color correctly.:
If you want it to look more greenish, you’ll need to choose a warmer hue as the color to neutralize using the Hue slider. You can then enhance the effect with the Chroma slider:
I think it’s an ‘input colour profile’ thing. Quoting the manual page for colour calibration, the standard input matrix, which is taken from the Adobe DNG Converter.
I made a rough little CC preset for my own camera because bright reds are a little magenta by default in DT.
Also, the default AgX preset doesn’t have any primary rotation reversal.
You can make some changes with channel mixing, but I’m not sure if it works for all lighting conditions.
I’ve used rgb primaries module to try to get closer to that jpeg. It’s a channel mixer with less control. Can’t quite get the background cliff correct as much as the foreground…
attached xmp has 100% rotation reversal in AgX too.
The original xmp used the default white balance (which is ‘as camera’) so I figured I should stay with that to match the camera jpeg. I wonder if it’s something that is easier fixed by redoing white balance in darktable (maybe that is actually necessary because of the input colour profile thing?). I’m sure there are plenty of other R7 users who have experience with the camera’s colours in DT compared to the OOC jpegs.
Oh, I also wonder if it’s related to the camera’s picture style setting.
I can not make the image look like your camera’s JPG. I too have a Canon R7. I have found a style created to simulate FujiFilm Provia works well on many of my images. Here is my edit with just the style applied. Here is the style if you want to import it and try it. R7 Provia Look.dtstyle (6.8 KB)
I must say I’m quite blown away by the responsiveness to my post. Didn’t expect anyone to jump on that quick.
Thanks Terry I will try that.
@LaurentFromSF I’m not sure I understand what you are saying. What is “your code”?
I’m not even sure anymore if the colours of the jpeg are desirable. I’ve grown quite fond of the yellow, when it is tones down a little. Obviously the rest of the colours especially the sky look much worse in the jpeg.
The JPEGs also tend to have more contrast which I have not been able to replicate without looking overdone.
I will share some more examples later as there are many.
The assumption that it’s a white balance issue seems correct, I’ve also noticed ocean color being a bit off.
No they are not. The JPG is just someone else’s secret sauce to give the camera its look. I see the JPG as the baseline I want to exceed with my RAW edit. I find the raw edit has more detail than the JPG 99% of the time.
What I meant more is that I dont really remember how the colors acutally looked like and when I tune them to be more green the image suddenly starts losing its appeal. Some are way too yellow, so I just need to find a good middle ground.
I am using my own software to process photos. Link in my profile. The White Patch is one the algorithms that adjust white balance: user picks a pixel area that should be white (or neutral gray) and then the software adjust all pixels of the image so that the chosen area becomes white (or neutral gray). Super easy to implement by the way.
I processed your raw with my hack raw processor, where I can control what does (and doesn’t) get done. Here’s the proof rendition, with only the libraw-supplied camera profile, as-shot white balance, highlight recovery to control that little corner of sky, and a bog-standard filmic curve:
Your SOOC JPEG is color-saturated past this; I inspected the metadata to see what picture controls might be in play. There’s one tag that might be suspect:
[MakerNotes] EasyMode: Scene Intelligent Auto
The documentation for it seems to relate it mostly to exposure, but I can’t rule out it (or another tag I’m not familiar with) doing some sort of color saturation.
I rendered yours with a tone curve so we could see it here, but I prefer to start without that to see what the scene-linear data looks like, unadorned. Helps to isolate stuff like color rendition from a proper baseline.
I’ve been struggling with the same issue no matter the white balance/color calibration. I made a small tweak to the color primaries in the AGX module to bring it closer to SOOC. My starting point is the ‘smooth’ built in preset.
In the primaries tab tweak these:
Green attenuation= 0
Green rotation= +10
Green purity boost= 0
Green reverse rotation= -10 (or a range from -10 to 0 to make it slightly yellower)
I don’t understand this fully so this solution might evolve later on.
I think creating a reliable “filter” effect to emulate the SOOC colour grading could be better done with the color look up table module in combination with the color balance rgb module. Precise colour adjustments (luminosity-dependent too, e.g. brighter greens are warmer in the jpeg) in the former, and split toning in the latter. The jpeg definitely has some split toning, pushing green~cyan (around 180-200 degrees) into the shadows and pushing yellow (around 70-80 degrees) into the highlights. But then it also corrects the brightest blue back to being blue. And also it has a general green~cyan tint in the midtones compared to the WB results. Something along the lines I feel.
There are a few ways to do this very simply. But before we get started, disable the primaries adjustments in AgX. This will help avoid mysterious color shifts that might confuse us.
The “secrets” to doing this:
A simple white balance in the white balance module. Note how the sky ia a nice blue color in my edit, instead of the green of the SOOC, and I am able to achieve the same if not cooler colors. The heavy lifter here was the white balance module. The initial white balance that was performed with the color calibration module was more yellow/warm.
Here is the actual exported edit using the white balance module:
They do all sorts of odd little stuff in the background: per-channels curve adjustments and sharpening and all sorts of things. Realize that when it comes to the actual scene as it was photographed on the day, the SOOC is just another interpretation. It is ok if you depart from it.
For example, here is my little interpretation of this beautiful image.
@thumper, do you sometimes just use the white balance module and skip color calibration? And if so, do you notice much difference? Are there situations where you don’t trust the white balance module on its own?
Over the last couple of months I have started using the white balance module more and more. I just like the familiar kelvin values, and I don’t usually see a reason for the color calibration module (besides for b&w or challenging lighting situations like mixed indoor light or concert lights). I look forward to see what comes of @kofa endeavor to improve the integration between white balance and color calibration (if I recall correctly, he is trying to make it so that you can set white balance in the white balance module but still get the CAT from color calibration. Something like that).
I too like the familiar white balance controls, and there was a time when I was just using white balance. I can’t remember now why I went back to using color calibration but I think it was something to do with wanting to use the scene-referred processing preset to ensure all my modules were using scene-referred blend modes…
Anyway, for whatever reason I went back to using color calibration, but it still annoys me from time to time. When you know that you just want to push the tint towards green, but instead you have to pick the colour cast (magenta) and then adjust its saturation, it seems a really back-to-front way of just pushing the tint towards green.
I’m unaware of what kofa is doing, but hopefully it improves things.