AdSense Mobile Ad

Showing posts with label clarity. Show all posts
Showing posts with label clarity. Show all posts

Thursday, December 8, 2011

Smoothing the Skin Reducing Local Contrast Using Layers

In a previous post in my Lightroom series I took advantage of the Clarity tool to smooth the skin of the model. Nevertheless, the Clarity tool is not available either in Photoshop or The Gimp and many people ask how the same effect can be reproduced in these programs.

I answered this question in a previous post (Clarity Adjustment in Photoshop). The answer, however, was pretty theoretical so that in this post we will use the technique we learnt to smooth the skin in an image.

The original image, once more, is the following:

Original Image (Cropped)

The first thing we're going to do is creating a new layer duplicating the original one. Once we've done it, we use the High Pass filter to detect the transitions. The radius you need to use depends on the image (and corresponds to the amount of local contrast we're going to detect). In this image of 16 megapixels I'll use a radius of 3 pixels:

High Pass Filter - Radius: 3 pixels

We end up with a neutral grey layer where transitions are marked by lighter and darker pixels whose intensity will depend on the corresponding (underlying) pixel:

High Pass Layer

We know from our previous post that the information contained therein can be used both to raise or reduce the local contrast of our image. Since, in this case, we want to reduce it, we have to invert the layer end we end up with:

High Pass Layer - Inverted

If we now set the blending mode to this layer to Overlay the result is the following:

Resulting Image: Lowered Local Contrast

What has happened? The neutral gray pixels leave the underlying pixels unaffected. Lighter ones will screen the underlying pixels and dark ones will multiply the underlying pixels. Since pixels aren't neutral gray only at the point of transitions, we would end up with increased local contrast. However, since we've inverted the high pass layer, the local contrast is reduced.

The skin now looks smoother and you can use the high pass radius to fine tune the smoothness. However, eyes aren't sharp any more and this is something we want to avoid. Now, we have to apply this local contrast reduction only locally. How? Using a layer mask.

A layer mask is literally that: a mask, and it behaves as such. Let's imagine you take a sheet of white paper and you print your original layer over it. Now, you take another sheet of paper and you print the high pass layer over it. If you put this sheet over the other in overlay mode (assuming it would be possible), you end up with the result we just achieved. Now: you take scissors and make a couple of holes in the upper sheet just where the eyes of the model are. What would the result be? Well, the eyes from the inferior layer would be visible and wouldn't be affected by the upper layer.

Layer masks work just like that: the only difference is that you make "holes" using the black color. Layer, moreover, are more sophisticated: you can make "semi-transparent" holes using a shade of grey. Funny, isn't it?

Let's add a layer mask to our inverted high pass layer:

Layer Mask

As you can see, the layer mask is white: this means that the entire layer now contributes to the overlay effect with the lower layer. Let's now take a brush and paint over the left eye and its eyebrow. The result is:

Right Eye and Eyebrow Unmasked

As you can see, the right eye and its eyebrow have recovered all of their local contrast: pixels that we painted with black aren't affected by the upper layer any more. Let's finish painting and we end up with this result:

Final Result

You can also notice how the layer mask icon in the layers palette reflects our mask:

Resulting Mask

Conclusion

Although not available as a standalone tool, you've learnt how you can reduce the local contrast (a negative clarity, in Lightroom jargon) of a selected part of your image.

Layer mask are powerful and you can use the same technique to selectively apply any kind of effects. In this case, you could have chosen to use a blurred layer to smooth the skin, instead of going through the steps described above. Or, you could have used a bigger radius to soften the skin even more, as shown in the following picture. The only limit is your imagination.

Result with High Pass Filter, Inverted, Radius: 5 px 

With the same technique, you can enhance the eyes of the model (as described in the Lightroom tutorial), applying the same adjustments in a new layer and masking out the parts of the image you want to leave unaffected.

If you want to help me keep on writing this blog, buy your Adobe Photoshop licenses at the best price on Amazon using the links below.

Adobe Photoshop Lightroom Tutorial - Part XIV - Using Presence Controls to Smooth the Skin

Part I - Index and Introduction
Part XV - Speeding Up Your Workflow Using Presets and the Painter Tool

Local Contrast to Make Softer or Rougher Surfaces

In a couple of previous posts (see here and here) we learned about local contrast and how this effect can be easily achieved in Adobe Photoshop Lightroom. Local contrast, or Clarity in Lightroom's jargon, literally refers to the amount of contrast that's present locally in areas of colors and tones transitions of your image. Local contrast allows you to tweak your image without modifying the overall contrast and the tonal scale of your image:
  • Increasing the local contrast "sharpens" transitions and gives rougher surfaces. 
  • Decreasing the local contrast gives smoother surfaces.
Although clarity can be adjusted at the image level (I often raise it a bit to get punchier images) by its own nature local contrast is an adjustment that you often want to brush into your image.

Smoothing the Skin

One of the uses of a negative clarity is skin smoothing. Skin isn't so smooth a surface and unless your model has got a perfect one and your lighting conditions are optimal, his skin won't appear as smooth as we'd like. Here, we're not talking about skin imperfections (you're going to manually remove those with other brushes) but skin texture.

Depending on the image you'd like to get, you may need to correct the skin texture somehow. If you want to give your portrait a "dreamy" and "diffused" look and feel, this is a way to achieve it. As usual, there are plenty of way of doing it in Photoshop but this post will focus on the clarity (local contrast) adjustment. One of the good things of this adjustment is that it's really easy to use and it usually gives very good results with little effort.

To have an idea of what you're going to achieve, you can lower overall clarity of a portrait and see what happens. The reduced local contrast is going to take away sharpness to your model skin and smooth its surface. But unless you're happy with this result, you'd better take a brush and apply clarity locally.

Adobe Photoshop Lightroom ships with a Soften Skin brush since version 3. This brush is defined as follows:

Adobe Photoshop Lightroom - Soften Skin Brush

As you can see, this brush applies a negative Clarity adjustment of -100 (the minimum) and raises the Sharpness a bit to balance the extreme smoothing effect. There's no silver bullet here: you've got to try and tweak the brush parameters yourself until you get the result you expect.

Personally, I don't like this brush: it's too "extreme". I'd rather use a Clarity adjustment in the [-50,-60] range and adjust sharpness and saturation according to my taste.

A personal suggestion: in portraits where you're looking for a really smooth skin, try to desaturate the skin a bit. I find the results are more natural.

A Test Image

This is a crop from an image in which I want to brush in some negative clarity to smooth the skin of the model. This image was taken with bounce flash in a small room: the flash was bounced with an angle close to 80 degrees and the light hasn't lit evenly the face of the model. Remember: photography is all about light and you should try to get the results you want right out of the camera. Unfortunately, sometimes we cannot prepare the setup we need to get the right shot and that's when it's right to fix things in post production.

Original Image (Cropped)

Look at the original image. This is a cropped section of a shot a took by surprise: the model wasn't even wearing any make up. Besides having to remove some skin imperfections, I really don't like the overall texture of the skin. Also, the bounce flash hasn't properly lit the eyes and the skin underneath them. That's what I'm trying to fix with a negative clarity adjustment: I'll try to reduce the local contrast without affecting too much the overall texture of the skin or completely removing those shadows ending up with an unnaturally flat image.


Final Image (Cropped)

This is the result after brushing in some negative clarity (-70) and some sharpness. The result is much smoother but it's not yet unnatural. Since it's not a studio image and I want to preserve the overall look of the shot, I don't want to go any further.

In this image I also tweaked the eyes as explained in the previous post.


If you want to help me keep on writing this blog, buy your Adobe Photoshop licenses at the best price on Amazon using the links below.

Adobe Photoshop Lightroom Tutorial - Part XIII - Using Presence Controls To Enhance The Eyes

Part I - Index and Introduction
Part XIV - Using Presence Controls to Smooth the Skin

In the previous parts of this Adobe Photoshop Lightroom Tutorial we've described how presence controls work in order for you to have a deeper understanding of what's going on during the development of your image. In this part of the tutorial we'll use some of these controls to slightly "enhance" the eyes of a model and make them "pop".

The Original Image

The original image was taken with a bounced flash: we decide to bounce the flash from the ceiling to achieve a softer and more diffused lightning but, sometimes, parts of your subject won't be sufficiently lightened. It's not generally a problem, since soft shadows are part of the effect we want to achieve with bounced flash, but sometimes we want eyes to be brighter. Because of their natural position and depending upon the lightning conditions (we usually avoid light to bounce directly on them), eyes are often poorly lit with a resulting loss of color saturation and natural look.

Original Image - Poorly Lit Eyes

In this example photo the effect is subtle: as an absolute value, you can consider eyes to be properly exposed. However, this is an effect of the slight overexposure I gave to the entire shot. If you have a look at the skin tone of the model, you'll realize that the key of this image if fairly high.

Tweaking the Iris

Adobe Photoshop Lightroom version 3 already comes with a brush that's suitable to enhance the iris. You can choose a Lightroom brush, or even create one of your own, selecting the brush icon just below the histogram (in the Develop module), and then choosing a brush from the drop-down menu.

Lightroom Irish Enhance Brush

Let's have a look at how this brush is defined and try to understand what's going on. Take into account that every image is different and that there's no silver bullet:
  • It raises the exposure of about 2/3 of an f-stop.
  • It raises the saturation.
  • It raises the local contrast (clarity).
Pretty intuitive, isn't it? The exposure compensation will make the iris brighter and the increased saturation will make its color pop. The local contrast enhancement is a subtler effect that might not be very visible depending on the iris. Remember from a previous post that local contrast is a technique used to add depth to an image raising the contrast only locally, without affecting the overall dynamic range. Depending on the dynamic range found in the iris, this adjustment will have a bigger or smaller effect. You'll probably notice it more in clear irises, such as blue eyes ones, where you often find radial "stripes" of different tones: clarity is going to make them really pop.

Tweaking the Sclera (the White of the Eye)

The sclera (the white of the eye) may be affected by the same problem: a slight underexposure. Other times it may be affected by problems that are even worse and it may appear not at all white. To quickly fix such a problem we can use a different brush with the following settings:

Custom Brush - Tweaking the White of the Eyes

What does this brush do? The following:

  • It raises the brightness.
  • It decreases the saturation.

As we recall from the previous post, raising the brightness is a way to brighten an image without affecting its white point. That's why this is one of the (few) cases in which I prefer to use brightness instead of exposure: the sclera, as well as teeth, may be already bright in your image. Raising the exposure of such a zone may clip some channels: for this reason, we choose to be conservative and raise the brightness instead. Decreasing the saturation is going to remove any color cast that your eyes may have, such as small rashes.

The Final Image

Here you can see the final image. You can notice how the irises are deeper and more saturated and the sclera, especially the one of the model's right eye, is brighter. The glance has more depth. The effect is subtle and it had better be: eyes are going to attract people's attention and you don't want to give them an unnatural look.

Final Image (Cropped)


If you want to help me keep on writing this blog, buy your Adobe Photoshop licenses at the best price on Amazon using the links below.

Sunday, November 6, 2011

Adobe Photoshop Lightroom Tutorial - Part XII - Presence Controls

Part I - Index and Introduction
Part XIII - Using Presence Controls To Enhance The Eyes

Presence Controls

Last but not least, the Basic panel offers a group of control labelled Presence and made up of:
  • Clarity.
  • Vibrance.
  • Saturation.
For the sake of simplicity, let's start from the last one: saturation.

Saturation

To make a long story short, saturation controls the intensity of a color. The Saturation slider in Lightroom lets you uniformly modify the saturation of the colors in an image in a [-100, 100] range:
  • A -100 saturation adjustment corresponds to no saturation at all and the result will be a monochrome image.
  • A 100 saturation adjustment corresponds to doubling the saturation of the colors.
Beware that when you increase the saturation of an image, colors channels may be clipped and as a result color shifting may occur.

I don't use the saturation tool very often, partly because I'm not so fond of too "punchy" images, and partly because of its own non-selective nature: more often than not, I only need a more selective kind of saturation enhancement:
  • I need to boost the saturation of a selected set of colors.
  • I don't want skin tones to saturate and have that orange cast.
Truth be told: I almost only use the saturation slider to completely remove the saturation of an image to produce a monochrome one. Why not simply tell Lightroom to convert the image to black and white, then? Well, just because Lightroom, by default, uses a black and white color mix that's not uniform across the spectrum (as we'll see in a future post). Sometimes it's a good starting point, sometimes it's not. Only trying with a specific image can tell.

Lightroom, as we're going to see in the following seections, provides good solutions to many of the aforementioned problems, and that's the reason why I don't use the saturation adjustment so much.

Vibrance

The Vibrance adjustment is a selective and non uniform saturation adjustment with the following characteristics:
  • It tries to avoid channel clipping.
  • When raising the saturation, it has more effect on lesser saturated colors than on more saturated ones.
  • It tries to preserve skin tones.
As a quick example, have a look at the following series of image:

Original Image
Saturation -75
Saturation +75
You can see as Saturation raises and lowers uniformly the saturation of the colors in the image.

However, this is the effect of the same adjustment using the Vibrance tool:

Vibrance -75
Vibrance +75
The Vibrance tool reduces and raises the saturation of the least saturated colors, in this case the background greens, leaving the more saturated colors, in this case the yellow petals and its orange shades toward the center, almost unmodified. In this specific case, you could also use Lightroom to selectively raise the saturation of the green channel (as we'll see in a future post).

However, the Vibrance tools is a handy tool that can help you apply saturation adjustment in a really quick way, especially in portrait photography when things can get really tricky when trying to preserve the skin tones of our models. Had we applied such a saturation adjustment in a portrait, orange shades would probably had popped up in our subject's skin pretty much as they popped up in the petals of this flower. In those cases, only Photoshop would be your friend: you'd use layers and layer masks to preserve the tones in selected image regions. Fortunately, Lightroom gets in the way and provides this quick solution to such a common problem.

Clarity (And Local Contrast)


The Clarity adjustment lets you add depth to an image by modifying local contrast. But what's local contrast, first of all? Here's a really quick introduction about this problem.

The physiology of the human eye is such that, in certain circumstances, a photo cannot be a faithful representation of what we perceive. This is especially true when dynamic range is taken into account. You have surely noticed how a well your eyes can see a scene with a high dynamic range (such as a landscape with both strong lights and deep shadows) and how bad the same scene look when you shoot it, no matter the effort you put into it. When we move our eyes around, they'll quickly adapt to the light conditions of the part of the scene we're focusing on, although you may have the impression of perceiving the entire scene as if no adaptation has occurred. On the other hand, when you take a shot you have to choose an exposure, and if the dynamic range of the scene you're taking is too high, you will simply miss the shot: either you burn the highlight or you lose details in the shadows. If you've heard about HDR (High Dynamic Range) imaging, you'll probably realize what the central idea of that technique is: you take multiple shots of the same imaging bracketing the exposure and blend them together in a single image, preserving the intensities you need across the dynamic range of the picture. This way, you artificially build a visual representation of what our eyes perceive when they move, and compensate, across regions of the image with big luminance differences.

You may think of local contrast as a technique to achieve the opposite goal: you selectively raise the contrast of light-shadow transitions to give more dynamic range to your image. However, instead of raising the overall contrast of the image (where both white and black points are moved and clippings may occur), the adjustment in only performed in smaller regions of the picture, leaving the overall black-white difference unmodified.

Lightroom lets you adjust the local contrast by both positive and negative values, in the [-100, 100] range.  Let's see some examples of how Clarity works.

Original
In this picture, the majority of pixels find themselves on the opposite sides of the range: the background is nearly black and the flower is white. Neither white nor blacks are clipped. Since the maximum luminance difference in the flower's pixels is less than 1 f-stop away, you may want to apply some adjustment to give the flower some more depth. Raising the overall contrast, as we've seen in a previous part, will only make things worse:

Contrast +100

Raising the overall contrast is going to raise the differences between black and white, but doing so means compressing whites even further, and the result will be a flower even flatter than before. You may be tempted to apply the opposite adjustment and bring overall contrast down:

Contrast -50
In fact, reducing the overall contrast expands the histogram in the recovery and in the rightest part of the exposure zone pushing them towards the center of the histogram. The flower will indeed gain depth. Unfortunately, the overall contrast reduction is going to expand the blacks and the shadows as well, pushing them towards the center of the histogram. The final result is not probably what we were looking for since the image is now flatter and duller.

Once again, there's no need to leave Lightroom and open Photoshop. The Clarity adjustment is just what we were looking for:

Clarity +50
Increasing the local contrast has raised the depth of both the flower and the leaves, leaving the overall contrast unmodified. The white and the black points do not move and we introduce no clipping at all.

Clarity adjustments are often subtle, and I suggest you zoom out when you apply it. Nevertheless, it's a very handy adjustment which many pictures can benefit from. Look at the following example (to appreciate the difference you may need to open the liked image):

Original Image
Clarity +60
Original Image
Clarity +75

Negative Clarity

The Clarity tool lets you apply negative clarity adjustment. Why would you want to reduce the local contrast of an image? Reducing local contrast has a softening effect that may be result pleasing in some kind of photos. Some portraits and some nature images, for instance, may benefit from a slight reduction of clarity, if you want to achieve a "dreamy" or "soft" mood without spending much time on applying more complex effects such as the Orton effect. In the following example you can see how a negative clarity affects the image of the two purple flowers that we've previously seen:

Clarity -50

Local Contrast in Photoshop

The Lightroom Clarity tool is a very handy tool: you can brush a negative clarity adjustment on the skin of your model, for example, as a quick and effective way to smooth his skin. I often hear people ask how can local contrast be adjusted in Photoshop. It's not as straightforward as in Lightroom but I described an  easy way to achieve the same effect in another post.


If you want to help me keep on writing this blog, buy your Adobe Photoshop licenses at the best price on Amazon using the links below.