Best automatic levels and color correction (preserving human flesh colors)
Posted: 2018-05-28T01:13:42-07:00
I work with hundreds of photos, all of them human portraits and human bodies. Many of them have wrong levels (poor contrast). If you take a look a their histograms you can see that the left end (shadows) is not filled, or maybe the right end (lights) or even both ends. I have made a script with Autohotkey and using Imagemagick to spot those images that do not fill the histogram correctly. It works well. However, I've been trying to automate also the level and color correction of these images and the results are not always good. I've tried with Imagemagick commands, and also with Photoshop automations (auto tone), and also with ACDSee automatic corrections. In most cases, the levels are correctly adjusted. However, the problem is that sometimes the adjustment of shadows adds too much saturation to the images, so the flesh becomes too red. Therefore, I have to manually reduce saturation with Photoshop and sometimes move the tone slider a bit to the right (to add a little of green to the color of the flesh, which sometimes is too pink). I wonder if there are some commands, set of commands or scripts made with Imagemagick to work specifically with portraits, in the sense that the color of the flesh is prioritized, avoiding so some horrible results such as people looking reddish or greenish. Is this possible or should I have to wait for some kind of artificial intelligence program that is able to correct levels and colors like I would do in multiple steps and depending on the problems of each photo?