Curves & Vital Statistics by Philip Lawson FRPS DPAGB el-imâge.

58
Curves & Vital Statistics by Philip Lawson FRPS DPAGB http://www.el-image.co.uk l-im â ge

Transcript of Curves & Vital Statistics by Philip Lawson FRPS DPAGB el-imâge.

Page 1: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Curves & Vital Statisticsby

Philip LawsonFRPS DPAGB

Curves & Vital Statisticsby

Philip LawsonFRPS DPAGB

http://www.el-image.co.ukel-imâgeel-imâge

Page 2: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

All pictures are composed of pixels

Page 3: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

All pictures are composed of pixels

Page 4: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

All pictures are composed of pixels

Page 5: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Binning and Histograms

1 2 3 4 5 60

First count the number of black pixels

Page 6: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Binning and Histograms

Next count the number of dark grey pixels

1 2 3 4 5 60

Page 7: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Binning and Histograms

Repeat for all shades of grey

1 2 3 4 5 60

Page 8: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Binning and Histograms

Note the fact that, as there are equal numbers of shades 1 and 2, this produces a flat top “mountain”.

1 2 3 4 5 60

Page 9: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Histograms

In Photoshop there are 256 bins per colour (R,G and B) represented over 256 pixels.

In a typical picture there may be 3M pixels and this is represented by the area of the histogram.

0 255

3M

Page 10: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Histograms

Bin heights are therefore about 10000

Represented in only 100 pixels, so 10000 and 9800 will look the same

10000

0

Page 11: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Some Typical histograms

NormalCentre weightedClearly drops to zero at both ends.

Page 12: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Some Typical Histograms

High KeyLight end weightedBut still clearly drops to zero at both ends.

Page 13: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Some Typical Histograms

Low KeyDark end weightedBut still clearly drops to zero at both ends.

Page 14: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Perfect Exposure

Data in the histogram is totally contained within the box at light and dark ends.

Page 15: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Perfect Exposure

Whilst it might appear to be so, the histogram does NOT show that the image is “off scale” in the dark grey region or in anyway wrong or correctable.

This “topping out” of the histogram is just an indication that there are simply, approximately the same large number of pixels in the picture of shades 20 through to about 50, the dark grey shades.

Page 16: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Perfect Exposure - Highlights

The acid test of perfect exposure is that fine detail is revealed in the highlights when the light end of the curve is pulled dramatically down.

The bias of the histogram shifts to the dark end.

Page 17: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Perfect Exposure - Shadows

The acid test of perfect exposure is that fine detail is revealed in the shadows when the dark end of the curve is pulled dramatically up.

The bias of the histogram shifts to the light end.

Page 18: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Over Exposure

Data in the histogram is clearly off scale at light end.

Page 19: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Over Exposure - Highlights

The acid test of OVER exposure is that fine detail is LOST in the highlights when the light end of the curve is pulled dramatically down.

Page 20: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Under Exposure

Data in the histogram is clearly off scale at dark end.

Page 21: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Under Exposure - Shadows

The acid test of UNDER exposure is that fine detail is LOST in the shadows when the dark end of the curve is pulled dramatically up.

Page 22: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Working with Photoshop 1

Important to work in 16-bit mode for as long as possible[converting to 8-bit just before printing]

Only use CURVES and beware of ALL other adjustments[unless for a quick preview]

Convert the image to 360 dpi in Photoshop[if printing on a 1440 dpi dot-matrix (inkjet) printer]

Page 23: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Working in 8-bit mode

8-bit mode is a scientific description for the fact that the shades of grey are described by an 8-bit binary number.

Mathematically, 8-bit numbers can represent anything from 0 to 28-1, 0 to 255 to you ‘n’ me.

That is 256 shades of grey0 128 255

Whilst you cannot see the individual shades, this does have serious repercussions.

Page 24: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Working in 8-bit mode

The histogram shows the number of pixels in the image (or selection) of each shade of grey.

In the original 8-bit grey scale, every single shade of grey exists in approximately equal proportions.

256 step wedge in Photoshop

Page 25: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Working in 8-bit mode

When you modify the curve, you redistribute the histogram.Where it is stretched, you leave gaps and this can create visible posterisation in the image, (although this may not be immediately obvious except on bland skies).

Page 26: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Working in 8-bit mode

Where it is compressed, you double the number of pixels with certain shades of grey – but cannot create any intermediate, half tones. There is no such thing as grey shade 128.5

Page 27: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Working in 16-bit mode

In an 8-bit image (24-bit colour) luminosity and each colour channel is represented by 256 shades (28).

In a 16-bit image (48-bit colour) luminosity and each colour channel is represented by 65536 shades (216).

This derives from the fact that each shade is represented by a 16-bit number in the computer and, mathematically, and a 16-bit binary number has 65536 permutations. These range from 0 to 216-1 or 0 to 65535 to you and me.

Page 28: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Working in 16-bit mode

Performing the same operation in 16-bit mode has the same effect, but here you are dealing with 65,536 shades of grey.NB. On screen histograms only show 256 levels.

Page 29: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Working in 16-bit mode

Extreme manipulation of the curve, to reveal shadow detail, severely redistributes the histogram and appears to leave many missing shades.

Page 30: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Working in 16-bit mode

However, when the 16-bit mode is finally converted to 8-bit, 65,536 shades are “squeezed” down to 256 and the histogram becomes smooth again – no missing shades.

Page 31: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Example

Original histogram of eye.

Page 32: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Example in 8-bit mode

Original histogram of eye.

Before

After

Resultant histogram of eye.

Page 33: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Example in 16-bit mode

Original histogram of eye.

Before

After

Resultant histogram of eye.

Page 34: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Example

Although it may not be overly apparent, the 8-bit transformation has reduced the number of shades to almost a half of the original dynamic range.

The 16-bit transformation has protected the full dynamic range.

8-bit histogram of eye.

16-bit histogram of eye.

Page 35: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Dynamic Range too high

Quite often the dynamic range of the subject is too great for the Digital sensor.

This can occur in a camera when the scene is too contrasty.

This can occur in a film scanner when the transparency is too contrasty and the DMAX of the scanner too low.

Page 36: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Dynamic Range too high

Under these circumstances nothing can be done to restore detail to the burnt out sky and blocked in shadow (without trickery).

Page 37: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Dynamic Range too low

Equally common is when the dynamic range of the subject is too small for the Digital sensor.

This can occur in a camera when the scene is flat and lacks contrast.

This can occur in a film scanner when the negative is too thin and the DMAX of the scanner too high.

Page 38: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Dynamic Range too low

Here the recorded dynamic range is less than half the maximum.

Page 39: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Dynamic Range Stretching

Using the Levels tool, the dynamic range can be stretched.

Page 40: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Dynamic Range 8-bit

However, in 8-bit mode, the original (top) limited number of shades persists and visible posterisation occurs (it was already inherent in the picture).The final image contains no more than the original 100 or so shades.

Page 41: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Dynamic Range 16-bit

In 16-bit mode, the original (top) limited number of shades, whilst only being 50% of the maximum, were still about 30,000. Stretching these out has no effect on the final squeezing back down to 256 shades for printing.

Page 42: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

8 bit vs. 16-bit

Posterisation is just visible, especially in thesmoother areas of the eye.

Page 43: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Photoshop CS

In developing Photoshop CS , Adobe came to the rescue of thousands of photographers who were used to many photographic concepts yet did not know how to achieve them through the Levels and Curves tools that had been present since the earliest versions.

An added bonus was the live Histogram palette, which makes seeing the informational content of changes highly visible next to the actual visible picture.

Page 44: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Photographic Filters

(Image->Adjustments-> Photo Filter… ) For many new-age digital photographers,

attaching a filter in front of the lens may not actually be a viable proposition.

Achieving the same effect as a filter on the digital image was not something that most people knew how to do.

TRY: New Layer, Paint Bucket Fill with Filter Colour. Set Layer Blend to Multiply, Opacity about 20%, Add Adjustment Levels Layer and trim Levels back to maximum.

Page 45: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Shadow/Highlight

(Image->Adjustments-> Shadow/Highlight…) The new tool makes it relatively easy to bring

out shadow and highlight detail. Unlike Brightness, Contrast and Levels, this new tool IS intrinsically safe.

Achieving the same effect using the CURVES was not something that most people knew how to do.

This is a shame, because it offers much more control and versatility.

Page 46: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Photoshop CS

What is more, the Shadow/Highlight adjustment can NOT be added into the adjustment layer stack.

As such, it cannot be retro-edited or combined with a layer mask. Its effect, blend and opacity cannot be controlled.

Fundamentally the Highlights control lowers the light end of the curve (leaving the dark end untouched), the amount determined by the AMOUNT and the dynamic range determined by the TONAL WIDTH % from the top (light end).

Shadows works in a similar fashion.

Page 47: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Shadows and Highlights

Curves offer all of this and more.

The original image is well exposed, highlight AND shadow detail being well contained within the dynamic range. However, the shadows appear dark and the highlights too bright. The histogram shows this in the dark and light peaks at each end.

Page 48: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Highlights

Placing the eye-dropper sampler over the dress reveals it to be in the upper 1/8th of the luminosity range.

Dragging this point on the curve down reveals the detail in the dress but severely darkens the shadows.

Page 49: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Highlights

Anchoring the mid-point does not completely resolve the situation.

The curve is like a piece of sprung metal. Anchoring the middle and pulling down on the right then lifts the left, lightening the shadows.

Page 50: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Highlights

To ensure that the shadow area is unaffected, it needs anchoring at a number of points.

Now, even extreme changes to the highlight end will have little discernable effect on the shadow end.

Beware to NEVER let the curve reverse (head down) as this will cause unwanted, strange derivative effects in the image.

Page 51: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Highlights

Now it is possible to experiment only with the highlights.

This curve introduces a classic S into the highlight end to increase contrast and reveal detail.

However, the very brightest highlights are lifted by this S curve and made unacceptably bright.

Page 52: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Highlights

In this curve, the S is lowered so that no part of the new curve is ABOVE its original point. It is still an S and thus increases the contrast and detail.

Before After

Page 53: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

In this curve, the S is applied to the shadow region along with an overall lift to lighten and increase contrast and detail.

Before After

Shadows

Page 54: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Shadows and Highlights

Finally it is possible to construct the whole curve.

The highlights are subdued but with increased contrast.

The mid range has a subtle increase in contrast.

The shadows are lightened with increased contrast.

Page 55: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Shadows and Highlights

Before After

Page 56: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Highlights and Shadows

Remember All curves can and should be applied through

adjustment layers. Adjustment layers can be attached to masks

to operate only on selective areas. Adjustment layers have Blending Options.

This enables extremely fine control to be applied to very specific areas of the image without necessarily applying it to the whole image.

Page 57: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

Summary

Use the histograms to optimise the capture of the image in the first place (in camera or in scanner).

Use the Levels to optimise a “thin” image. Only use the Levels and Curve tools whilst in 16-

bit mode. Use the Curve tools to affect ALL changes in

brightness, contrast and colour balance as it is intrinsically safe.

Use Curve Adjustment Layers because these are – retro-editable, have attachable region Masks and have adjustable Blending Options.

Page 58: Curves & Vital Statistics by Philip Lawson FRPS DPAGB  el-imâge.

and Finally . . . .

Enjoy The rewards can be worth it.

Philip and Janet www.el-image.co.uk