RawTherapee: Photoshop's "match color > Neutralize" color cast correction

Hi everyone,

Has anybody tried this neat, old and probably unknown feature to deal with colour casts?
https://www.kenrockwell.com/tech/ps.htm#casts
Image > adjustments > Match color > Neutralize

It does not require a new version of PS. I think it was there even in the days of PS7…
But having been busy scanning my own color film since only a few years ago, I knew nothing about colour casts until recently.

I encourage you to try it.

Back to the reason I’m posting this:

  1. is there anything that remotely looks like this tool in RawTherapee?
  2. does anyone have an idea how it actually works?
    a. if you do, then please, share your opinion on this, I’d love to be able to replicate its behaviour. (I’m currently looking at the histogram, the vectorscopes, and then playing with temperature and tint)
    b. do you know how difficult it would be to add an “auto” shift/stretch option to the RGB curves tool in RT?

(I doubt it’s only R,G,B histogram shifting and stretching at its core; the results it gives are different from the other “auto color”, “auto tone” tools)

Sample “neutralisation” on an obvious case of color cast (car lit by LED lamp posts).


Thanks :slight_smile:

Salut, @nonophuran!

No, I do not know how to perform that in RawTherapee —
but it is quite easy using The Gimp.

Taken straight from memory:

  • Duplicate layer
  • On top layer: pixelize using same size as image
  • Colors Invert
  • Overlay

On the other hand — does not your lamp LED lit car
look more natural? I always fear that a “correct” whitebalance
might become too clinically sterile…

Have fun!
Claes à Lund, La Suède

1 Like

salut :slight_smile:
and thanks for responding.

It does look more natural under that ugly greenish LED light. I’m all for yellow sodium vapour lamps :smiley:

I see your point; mine is a purely utilitarian approach.
At some point, when doing my colour adjustments (keep in mind I mostly deal with several casts at a time, due to the nature of most of my work in RT: colour negative inversion), my eyes are just too exhausted to do everything manually - I need something to rough it out.

An auto RGB curves would do immense help; so would this clinical “correct” white balance.

Here’s another example where I would not see a green cast (mostly) in the highlights.


image
image

I’ve mostly neutralised it, but I’m not entirely sure (whereas in PS, that magic setting honestly blew my mind).

I know you ask about RT but in Darktable we have been given two new features that are great. The first is spot exposure mapping in the exposure module and the second is spot color matching in the color calibration module. My only issue with this new feature is that I can not store the target color values as a preset and have to enter them manually. Hopefully programs like RT and Art can add a similar feature to their programs if one doesn’t already exist.

I’m not sure if I’m missing something… but couldn’t one just use the picker/eyedropper in the white balance module in RT? Or dt or ART for that matter.

I suppose maybe the point I’m missing is that this needs a neutral i.e. gray or white patch to work…

3 Likes

What does the rgb auto wb do in RT…maybe something similar??

1 Like

Hi everyone, thanks for your responses.

I haven’t mentioned it before indeed: the " Match Color > Neutralize " feature in photoshop is automatic. I don’t need to feed it a neutral target.
:slight_smile:
And in RT, the white balance module and the RGB curves module are in two very different places in the toolchain pipeline:
image
(source: Toolchain Pipeline - RawPedia)

I’m not really sure what it does; need to carry out some tests, but the WB tool sits too early in the pipeline for my case, so it won’t really help.

1 Like

Salut, @nonophuran!

About a year ago, we had an interesting thread
about “white”:

Cordialement,
Claes à Lund, La Suède