View Full Version : Balancing Shadows/Highlights


Flora
07-30-2005, 10:01 AM
One way to balance Shadows/Highlights, Contrast and bring out Details for Photoshop CS/CS2 [details (http://www.retouchpro.com/tutorials/?m=show&id=189)]

Flora
07-30-2005, 10:19 AM
My usual question :o: .... are all the images visible???

Thanks in advance ...

Stroker
07-30-2005, 12:54 PM
I can see the images.

Flora
07-30-2005, 12:58 PM
Thank you Stroker!

Gary Richardson
07-30-2005, 12:59 PM
Hi Flora,

As usual excellent tutorial, clear concise, easy to understand.

Yes, all the pictures are visible.

One minor typo, you typed in "bearly" instead of "barely" in the second paragraph.

Gary.

Flora
07-30-2005, 01:04 PM
Gary,

thank you so much for your feedback! ... :pleased:

....I'm going to correct my typo right now!!! (does 'bearly' exist at all??? :grin: :grin: )

Stroker
07-30-2005, 04:14 PM
I'm a bit confused by your tutorial, Flora. Let's see if I can explain this.

You talk about lowering the highs and raising the lows (bringing them closer), which will decrease contrast. Yet you show very clearly that you are raising contrast. The dog's fur and the girl's dress have more contrast. And the final example definitely has more contrast.

I think the conflict is in how contrast is viewed. For example, global contrast which can done with Levels/Auto Levels. Then there is local contrast, like using High Pass to sharpen.

I'm pretty sure that Shadow/Highlight works on local contrast, which would explain the Radius sliders. The raising of the lows and lowering of the highs is incidental.

Does that make sense, or am I a babbling idiot? Wouldn't be the first time.

But I've never really gave a good look at Shadow/Highlight.

Flora
07-30-2005, 07:07 PM
Hi Stroker,

so sorry you are confused by my tutorial ... :o:

I'm a bit confused by your tutorial, Flora. Let's see if I can explain this.

You talk about lowering the highs and raising the lows (bringing them closer), which will decrease contrast.Max Lows=Black=0
Max Highs=White=255

Pure black (0) and pure white(255) = maximum contrast.

Whatever in this range comes just after 0 and just before 255 isn't 'pure' black or 'pure' white anymore ...

In other words, by raising the lows from 0 to 20 and lowering the highs from 255 to 235 you bring the two extremes closer to each other by decreasing the contrast ....

Yet you show very clearly that you are raising contrast. The dog's fur and the girl's dress have more contrast. And the final example definitely has more contrast.I most definitely didn't .... download and compare close to each other image 1 (the original) and image 7 (corrected for Shadows/Highlights) of my tutorial (the dog's coat is the best comparison) ... you will see that in image 1 the 'highs' are higher/lighter and the lows are lower/darker than in image 7 ... making image 1 the one with higher contrast between the two.
The fact that by lowering the highs more details were made visible may give the illusion of more contrast ... but think about an underexposed picture ... it is only by lifting the shadows (raising the lows, decreasing the contrast), that you can uncover details otherwise invisible .... maybe, as soon as you see more details you get the illusion of higher contrast ...

I think the conflict is in how contrast is viewed. For example, global contrast which can done with Levels/Auto Levels. Then there is local contrast, like using High Pass to sharpen.

I'm pretty sure that Shadow/Highlight works on local contrast, which would explain the Radius sliders. The raising of the lows and lowering of the highs is incidental.Well, I agree that to a certain extent, the effects of what has a Radius Slider can be limited to a specific area of an image (is that what you mean by local?) but also the effects Levels and Curves can be limited to specific areas of the image to a certain extent even without Radius Sliders .. Again from PS Help File: "The middle Input slider adjusts the gamma in the image. It moves the midtone (level 128) and changes the intensity values of the middle range of gray tones without dramatically altering the highlights and shadows."

Hope this helps... :happy:

P.S. .... I'm not sure if in English 'incidental' means something different than in Italian (fortuitous, chance) ... if it does, somehow I think that all those who worked to get this wonderful Option functioning the way it does would probably object to that ... :wink:

Stroker
07-30-2005, 08:53 PM
I get what you are saying raising the black point and lowering the white point. But I'm talking about something a little bit different.

Local contrast is how a given area appears brighter/darker to it's surrounding area. For example, you can make 50% grey appear brighter or darker depending on what shades surround it. It's relative.

When you cull detail, you are raising the local contrast. Since you managed to bring out more detail in the dress and fur, you are raising local contrast.

Simple experiment with little girl's dress. I used the Colour Sampler tool to drop two sample points. One on the crease and one to the side a bit from the crease.

Crease = 216
Lapel = 234
Difference = 18

After Shadow/Hightlight, these are the new numbers:

Crease = 185
Lapel = 231
Difference = 46

After the correction, there is more contrast between the crease and the lapel. This is local contrast.

You say you are lowering contrast, and yet you are pulling out detail. Those two don't go together considering your context of contrast.

Then there is this:

...getting darker and lighter areas of an image 'closer' to each other in other words 'decreasing' the contrast..

And the final example of the guy with a moustache. Looks to me like the the right side has more contrast - not decreased contrast.

My eyes are seeing more contrast, but you are saying less contrast. That is why I'm confused. Does that make sense?

I spent about an hour figuring out how Shadow/Highlight works (I can show you how to do the same thing with regular tricks). S/H may or may not modify the high or low depending on settings and how busy the photo is. If the high or low is changed, it is by chance (incidental).

Flora
07-31-2005, 01:37 AM
I
get what you are saying raising the black point and lowering the white
point. But I'm talking about something a little bit different.
Local contrast is how a given area appears brighter/darker to it's
surrounding area. For example, you can make 50% grey appear brighter or
darker depending on what shades surround it. It's relative.It seems we are indeed talking about something different ... The definition of overall/local contrast I read is: The overall contrast refers to the extremes of brightness and darkness in the image. Each area in the image, however, has a range of lights and darks. This is local contrast...It doesn't say that it is relative to what shades sorround it ... But, sure, by tweaking the sorrounding areas you can make lights/darks/midtones of a given area appear relatively brighter/darker.

When you cull detail, you are raising the local contrast. Since
you managed to bring out more detail in the dress and fur, you are
raising local contrast.
Simple experiment with little girl's dress. I used the Colour Sampler
tool to drop two sample points. One on the crease and one to the side a
bit from the crease.
Crease = 216
Lapel = 234
Difference = 18
After Shadow/Hightlight, these are the new numbers:
Crease = 185
Lapel = 231
Difference = 46
After the correction, there is more contrast between the crease and the
lapel. This is local contrast.I'm not going to argue with the fact that by raising the black point and lowering the white point, you get an enhancement or increase of the local contrast in the midtones ... but this is a consequence of decreasing the overall contrast which is all I did.

You say you are lowering contrast, and yet you are pulling out detail.Those two don't go together considering your context of contrast.I strongly disagree because I think they do ... the 'contrast mask' method which is an old and well known procedure started in the traditional photo Labs, later 'translated' for digital manipulation, works exactly by enhancing details by lowering contrast ... Katrin Eismann's 'Fill Flash' technique, as another example, is also exclusively based on decreasing the shadows and therefore the contrast ... but then, our context of contrast is quite different.

Then there is this:
And the final example of the guy with a moustache. Looks to me like the
the right side has more contrast - not decreased contrast.
My eyes are seeing more contrast, but you are saying less contrast.
That is why I'm confused. Does that make sense?My last image, the one of the guy with the moustache, was simply an example of something extra that can be done with PS' Shadow/Highlights Option ... I thought I had made that rather clear with what I wrote Just one go with the SHADOW/HIGHLIGHT Option can also be a great help in 'bringing back to life' evenly, strongly faded images .... ... I also thought it would be obvious that in this case, working on a "strongly faded" image, the contrast had to be increased and not decreased... Obviously, I was wrong.

I spent about an hour figuring out how Shadow/Highlight works (I can show you how to do the same thing with regular tricks). S/H may or may not modify the high or low depending on settings and how busy the photo is. If the high or low is changed, it is by chance
(incidental).I have to admit that I haven't yet figured out how exactly Shadow/Higlight works ... What I understood pretty soon was that it seems to work in a similar way to Contrast Masking (which I've been using since years ... and still do) ... but most of the times it gets better results and it has the added bonus of Midtones Contrast and Color Correction in the same dialog (not possible with regular tricks) .. and I also still disagree on the fact that an Option/Tool named Shadow/Highlights would only manage to change "the high or low by chance (incidental)"

Anyway, by writing this tutorial which, on purpose, I called "Balancing Shadows/Highlights", where I specify what I mean by it ... I simply wanted to help those who had asked me how I got to some results ... It is supposed to be a simple 'description' of what I do with certain kind of problems ... It was never meant to be a lecture and, as I wrote in the description, it's "One way to balance Shadows/Highlights, Contrast and bring out Details for Photoshop CS/CS2" ... I never thought or said it was the best, or the only way ... and I also never said it is the only way I know how to do it ... nevertheless, thank you for your kind offer to "show me how to do the same thing with regular tricks" I might get back to you for that ...

Jaime
07-31-2005, 05:06 AM
Thanks Flora for this tutorial which shows the possibilities to use of shadows/highlights when dealing with faded pictures.

Flora
08-01-2005, 07:01 AM
Thank for your feedback Jaime!

I hope you'll find it useful!

realaqu
08-01-2005, 02:42 PM
I found this from Russellbrown's site about this command
http://av.adobe.com/russellbrown/HiddenShadowsSM.mov
which could solve this local contrast thing.

Realaqu

1STLITE
08-01-2005, 04:22 PM
Great tutorial Flora! I think, had you been here when I read it, you would probably have seen the veil lifted or the buzzer ding or the lightbulb above my head go off, for I had never ever EVER even thought about using shadow/highlight to help in the fixing of an old faded picture. Maybe I need to leave this box a bit more often, huh?

Thank You for a great tutorial!!
(...and for giving me my latest DUH! moment! lol)

Dawn

Stroker
08-03-2005, 02:52 AM
Did quite a bit more detective work.

A great deal of basic insight into S/H comes from a basic gradient. Russell did this in this video, and I highly recommend that you do it, too. If you do this, and I hope you do, I suggest setting the gradient's Smoothness to 0%. Don't want that extra B-Spline messing with your eyes.

When Flora says "bring them closer to get more contrast", what exactly does this mean?

Contrast: to set in opposition in order to show or emphasize differences.

However, the "bring closer" part is confusing. If you use Levels to bring the high and low points closer, say 64 to 193, you don't get more contrast. Rather, you get a wishy washy mess.

Now, bringing closer doesn't mean the high and low points in S/H. Rather, it's the points between the high/mid and the low/mid.

Let's say High = 255.
And Mid High = 193.

What will happen is that Mid High will be lowered while High is staying the same (or mostly the same). Since the difference between the two is now greater, more contrast. This is in line with numbers I posted earlier.

So, bringing them closer means to take the medium highs and medium lows, and bring them closer to the middle. Beer in mind that is for when you have highs next to medium highs, and lows next to medium lows.

What happens if you have medium high next to medium low? They both get closer, less difference, less contrast. Part of the fix for this is the Radius slider, which is a High Pass operation as shown by Russell. This is why you get halo when really high highs are next to really low lows. The other part of the fix is the Midtone Contrast slider. If the medium highs and medium lows get too close together, you have to "pull them back apart" to bring back contrast.

When dealing with the Midtone Contrast slider, there is something very interesting going on. If you know your orders of operations, you should be able to figure it out.

One of the major problems in all of this is how to communicate certain ideas and things. One thing I'm fond of Squish Factor, but I never really know if +Squish is expanding while -Squish is contracting, or if it's the other way around.

Lay down a black to white gradient.
Shadow/Highlight in basic mode.
Use 50% for both sliders.

When you look at the resulting gradient, what are you seeing? It looks as if the high and low ends "attracted" the grey to their respective ends, doesn't it? But what is actually happening is the grey is "attracting" the high and low to give the grey more space in the gradient, so to speak. So, do you speak in terms of algorithm or in terms of eyeballs? (This is a fight I've had many times when it comes to explaining Displace. There is what appears to be happening and there is what is actually happening.)

Can be confusing, but extreme clarification can be a good thing. I feel that this is particularly important when people take your word as bond. Yes?

I also took a very close look at the Colour Correction slider. It's a fascinating trick that I thought only I knew about. Back when I was researching colour cast, I discovered a very fascinating offset wave. Apparently someone at Adobe discovered it as well. Did I mention that it's fascinating? Completely and absolutely.

Speaking of offset, it is possible to "double-back" with Shadow/Highlight. I don't know what this particular foible is called. If you get crazy with the sliders, don't be surpised if you end up with an extra hump or two.

A great deal of what S/H does can be done with Curves, especially if you know your ChOps and custom define a few things. If you know the powerful, yet mysterious, offset wave, you can even colour correct the same way (and do a few other cool corrections).

And there you have it.
In a nutshell or something.

Flora
08-04-2005, 01:12 AM
realaqu,

thank you for the great link!
I had already watched this great Tutorial by Russel Brown (I'm a big fan) ... and it was one of the things that got me 'experimenting' with PS Shadow/Highlight .... :pleased:

1STLITE,

thanks for your feedback!!! So glad you found some use for this tutorial!!! :pleased:

Stroker,

Did quite a bit more detective work.Wow ... this is really an unexpected side-effect of this tutorial!!!

A great deal of basic insight into S/H comes from a basic gradient. Russell did this in this video, and I highly recommend that you do it, too. If you do this, and I hope you do, I suggest setting the gradient's Smoothness to 0%. Don't want that extra B-Spline messing with your eyes.I had seen Russel Brown's Tutorial a while back ... I had found the 'gradient' part very interesting as it gave a basic, brief and clear insight of what happens when you move what slider in this wonderful Tool ... This 'basic, brief and clear insight' ... was all I needed and wanted to know about it since I don't have the knowledge, time and interest to dig deeper into that.

What I'm interested in is the consequence/result of 'moving sliders' on a regular picture to see if/how moving that particular slider can help me with the problem at hand...period.

When Flora says "bring them closer to get more contrast", what exactly does this mean?

Contrast: to set in opposition in order to show or emphasize differences.

However, the "bring closer" part is confusing.Right ... just one small thing ... not only I never said that!!!! I actually said the exact opposite:Balancing' Shadows and Highlights, for me, means getting darker and lighter areas of an image 'closer' to each other in other words 'decreasing' the contrast (which can always be adjusted later… ).and in your previous post you clearly pointed out that you disagreed:You say you are lowering contrast, and yet you are pulling out detail.Those two don't go together considering your context of contrast....Now I am confused ... What is really the part that confuses you? ... The 'bringing them closer to each other'? I answered to that in my first reply to you ... I'm not very good with 'numbers' but my definition (and I had made quite clear that it was 'my definition' and not an official statement!) of bringing Highs and Lows closer to each other is simply based on this:

Lows=0
Highs=255 (difference = 255)

If I tweak and get (for example):

Lows=30
Highs=200 (difference = 170)

What's so confusing about that???

Not having a full knowledge of what happens 'behind the sliders', in my previous post I had already said that:I'm not going to argue with the fact that by raising the black point and lowering the white point, you get an enhancement or increase of the local contrast in the midtones ... but this is a consequence of decreasing the overall contrast which is all I did.I had never mentioned 'local contrast', 'midhigh', 'midlow' or 'resulting gradient' in my tutorial ... which, I repeat, wasn't intended as a lecture on what I think/suspect (but don't know for sure) happens when I move the sliders in this particular Tool, but exclusively aimed to help and show an alternative way of minimize a problem in PS! ...

I have repeated many times in my various posts that I jus 'eyeball' ... that I don't work by numbers and (beside some basic 'numbers' corrections), I don't even try since I don't have the necessary knowledge ... I might be one of the very few here who doesn't know how to 'consciously' use algorithms ... but, usually, I am satisfied with the results I get .... and that's that. Can be confusing, but extreme clarification can be a good thing. I feel that this is particularly important when people take your word as bond. Yes?... Depends on what you want and what was asked (if anything was asked at all...) ... so, in my opinion, like the local contrast for you, this is relative...

fat0n3s
08-04-2005, 10:52 PM
Great tutorial Flora!

After reading all of the replies, it seems people look at photoshop in different ways.

There is the "how photoshop works" approach, and the "how to use photoshop " approach.

Personaly, I only care about how to use the program, and not so much the A+B=C meathod.

I trust Flora's word because she can back up anything she says by posting the images she works on. Unless someone can put out amazing results like she can, I don't think they have a leg to stand on.

I really don't think your family, friends, and clients are going to really give a crap that the image you restored/retouched looks great, but you can't explain to them the mathmatics of how you restored the image.

newtonwayne
08-18-2005, 05:51 PM
Flora

I have been using Paint Shop Pro and Corel Photo paint and a lot of plugins for years now. :grin:

Last week I purchased Photo Shop CS 2. Because of yours and others work
and tutorals. It's a foreign Program for me. I like the way you explain things
in a clear and easy to follow way. I have a lot of things to learn about PS.
Thank you for shareing your knowledge with a stranger you have never met.

Wayne

lincolnF
10-05-2005, 05:30 PM
Flora,

Thanks for pointing out H/S. At first I was skeptical, because it simply does what curves command does - so why learn yet another tool - which often brings its own set of foibles.

The second thing I was skeptical of was that S/H works on an image layer and not as a separate layer. I always use curves adjustment as the top layer and leave its final adjustment till the end - because of banding of the histogram values. [Banding is those gaps and peaks created in the histogram, which is due to rounding of values into integers between 0-255. Information is lost and if the gaps are big enough they cause sharp transition bands in places where transitions are smooth - such as faces. Repeated use use of levels and curves on a image layer, increases banding.]

Well, a miracle happened - Highlights/Shadows does a remarkable job of smoothing out the banding in the histogram. So it does offer more than Curves. So I'll be adding it to my repertoire!

Thanks again,

Lincoln

PS. For those who have nothing better to do - try the following experiment.
Open a new image and lay a black to white gradient. Then repeatedly apply level or curve adjustments on it. Watch in horror as bands show up in the smooth image.... Just imagine it happening to those lovely faces in your pictures that you keep spending hours smoothing out... :heul: :heul: :heul: Beware of the histogram chompers!!!

snook305
10-21-2005, 05:08 PM
Flora,
Thanks for the Info.
I have a question. At which stage should one correct S/H.
I have aoften been confued by this. Also How do you know the limits with out over doing it.. For print that is..
I have sent some stuff out that I thought would be a little blown out but actually printed better?
Thanks,
E:K: