Showing posts with label stops. Show all posts
Showing posts with label stops. Show all posts

Monday, 8 September 2014

Advanced: All seeing eye

So, the first advanced tutorial for you!  In this tutorial I will look at the basics of HDR imaging in the GIMP (or Photoshop).  As normal I will be using the GIMP because it's free but you should be able to do this in Photoshop.  Here goes!

Getting the range

First off I need to explain something about dynamic range.  A camera is a relatively simple being.  It can only see a certain difference in light levels, its dynamic range, in other words it cannot see bright white to deep black in one go.  Take a look at this which shows the problem:


We can either have the room properly exposed or outside properly exposed but not both with one picture.  To our eyes we can see both room and out the window (although out the window may be bright enough to make our eyes hurt); this is because our eyes have a higher dynamic range than our cameras.  In other words our eyes can see almost all the way from dark to light.  To use my word analogy, from my intro to post article, a human would see: 'Hello World' where as a camera may see 'hll wrld' when under exposed or 'eo o' when over exposed.  

HDR or High Dynamic Range imagery is a trick to get all the different light levels in one picture (e.g. to display 'Hello world' from one photo that says 'Hll wrld' and another that says 'eo o').  Normally it has to be done in post although some cameras (iPhones for example) can do it in the camera.  I have never been that impressed with the HDR function on my iPhone however.

There are several different packages out there that simplify the HDR process and allow you to do funky things with the images but I am going to show you a basic (for an advanced post processor of images) way to make an HDR photo.

See the light

First step is to get our photos.  To do this you can either use your camera's Auto Exposure Bracketing (AEB) mode or take three differently exposed photos yourself.  This method needs one under exposed image, one mid range image and one over exposed image.  (One point to note is that I too badly over exposed my over exposed image which causes us some issues but this can be ignored for this tutorial, the method is what matters!)  When taking these pictures it is vital that you don't move the camera between shots as there is no easy way to line up the pictures laterally in the GIMP (at least not that I'm aware of) and forward and backwards motion is impossible to rectify.  Not having the pictures lined up properly can cause horrible ghosting effects around the edge of objects and can result in a loss of definition.  Also objects that move during the exposures will cause similar problems (e.g. plants, people, animals etc.) so it's always worth trying to avoid things like this when a blurred object will spoil the image.

Once we have the images we need to import them into the GIMP as separate layers.  To do this open one image in the GIMP then go 'File > Open as layers...'.  Select your other two images and press 'ok'. I normally open the mid-range image first, rename the layer as mid then open the other two images as layers, renaming them as dark and light or similar.

Once you've done that you should see something like this:


Now this looks nothing like what our eyes see, we still have some work to do but you can clearly see the three layers in the layer toolbox and a messy image in the image window.  So what next?

Now we have to apply some masks to the layers.  Masks allow you to selectively modify the transparency of certain areas of an image, in the case of HDR images by their whiteness.  First up is the dark layer, this is relatively easy!

Make sure the dark layer is the one that you are working on (i.e. it is highlighted) then go to 'Layer > Mask > Add Layer Mask...':


This brings up the following dialogue box:


Select the 'Grayscale copy of layer' (American spelling again!) but make sure the 'Invert mask' box is unticked like above, and press the 'Add' button.  This will give you an interesting result!


Looks like an old fashioned negative right? Also note how there are now two thumbnails shown for the dark layer, the one on the left is the layer and to its right is the mask.  We're about halfway there now.  We need to do a similar thing for the light layer.

Select the light layer so that it is your working layer and again go to 'Layer > Mask > Add Layer Mask...' and select 'Grayscale copy of layer' but this time make sure you tick the 'Invert mask' box like shown below and then press 'Add'.


This gives you our almost finished HDR shot (note how both the light and dark layers have their masks shown next to their layer icons and note the difference between them):


The final thing to do now to complete the HDR (ignoring any re-sizing or watermarking) is to flatten the image to allow us to save in a sensible format.  To do that go to 'Image > Flatten Image' and the three layers will be compressed to give our final image with one layer:


Now I mentioned I made a mistake with over exposing too much, what this has done is caused the right hand side of the window reveal to look very grey instead of a bright magnolia and the same has happened to the boxes on the left hand side of the foreground.  With a bit of patience I could have done better with my exposures but what you can hopefully see is that now, in one image, we can see the detail both inside the room as well as outside the window with no appreciable loss of sharpness or anything else.

HDR is a very powerful tool and if time and energy allows I may do some future blog posts on using some of the other tools out there that make this process easier and or examine some of the other ways to make HDR more punchy.  A word of warning however, HDR pictures are large, very large, this is because they have the information of three images in one, used sparingly it can be effective, used a lot will fill your hard drive!

There seems ti sometimes be too many HDRs flying around the place and it can become a bit much but each to their own! Have fun playing with this technique and happy snapping!

Sunday, 20 July 2014

Beginner: Exposure is not Dirty!

In photography exposure is one of the key things that makes or breaks a photo.  It is also something that can radically divide the community; some people like bright photos but some say they are over exposed, some like dark photos but others say that they are under exposed; whatever you think however exposure is important and affects every photographer regardless of the type of camera you use.

Getting it wrong

There are two things that can go wrong with exposure.  You can get something over exposed or you can get something under exposed.  But what does this mean?  I'm may get a little techy but, as normal, I will highlight the key points in italics.

When an image is overexposed all the colours in it tend towards white.  A truly over exposed image is completely white and looks pretty rubbish!  What is more when an image, or part of an image, is over exposed and turns white you cannot recover the original colours.

When an image is underexposed it tends towards being all black.  A completely underexposed images will be entirely black and you may as well not have taken the lens cap off!  The good news is that under certain conditions under exposure can be recovered from.

Now above I hinted at something, whilst mainly talking about whole images I threw in a seemingly careless 'part of an image'.  This is the key to the balance when we talk about exposure, under and over exposure of an image can relate to parts or all of the image.

Lets look at some examples:
Exposure from under exposed to over exposed.
On the far left the whole photo is under exposed.  You can hardly make out any detail in either sky or buildings.  One in from the left the sky is better, you can see some detail in it but the building is still very under exposed.  In the centre is about as good as you can get with out doing any post processing (post in jargon speak).  Following on from that the building is nicely exposed but the sky is completely over exposed or 'blown' in jargon (blown means the picture or part of the picture is recorded by the camera as pure white).  The final picture is completely over exposed with almost all detail lost.

So this shows how the exposure of an image can ruin it completely, whether through part of the image being incorrectly exposed or the whole image is incorrectly exposed.  But what is exposure and how do we control it?

Am I exposed?

Exposure is all about how much light gets into the camera and how sensitive our camera (or film) is to the light it receives.  My first tutorial gave you an indication of the three building blocks of exposure: the ISO, the f-number and the shutter speed.  Go and read it now for revision or if you missed it.

The key facts that should be drawn from that first tutorial is that exposure is a balance of all three numbers and this is where we start to get into the meat of the matter!

Time for another example:
Balancing the numbers.
As I discussed in the first tutorial there are three ways of effectively changing the light coming seen by the camera.  In 1st row above I have kept the shutter speed and aperture (f-number) constant but changed the ISO, from 800 on the left to 400 in the middle and 200 on the right, making the camera less sensitive to the light it sees.  Each change of ISO has halved the sensitivity of the camera and the picture goes from being what my camera thinks is 1 stop over exposed to correctly exposed to 1 stop under exposed.  In the 2nd row I have changed the shutter speed but kept the ISO and aperture constant changing from 1/100 to 1/200 to 1/400; here each change halves the amount of light coming into the camera and changes from being 1 stop over exposed to correctly exposed to 1 stop under exposed.  In the final row I have changed the aperture whilst keeping ISO and shutter speed constant from f/4 to f/5.6 to f/8; again this results in a change in exposure from 1 stop over, to correct to 1 stop under. I now hear you asking 2 questions "Why does the f-number not double or halve and what the hell are stops?!"

STOP!

Stops are the terms photographers use to describe the changing amount of light coming into a camera and the resultant exposure.  A change of 1 stop corresponds to a change in the light coming into the camera by a factor of 2.  Adding a stop means that there is twice as much light coming in, subtracting a stop means that there is half as much light coming in.   As you can see in my example above the image brightness for each change in exposure settings is exactly the same regardless of which method I chose to achieve it.  I promise I did take 7 separate images, the one for the middle which had a setting of ISO400, f/5.6 and 1/200 and the six outliers!

F-numbers are confusing

F-numbers don't change in easy steps because the amount of the light captured by a sensor is proportional to the area of the aperture that allows the light through.  This means that to halve the amount of light coming in we have to choose an f-number which is sqrt(2) or 1.4 times larger than the previous aperture (5.6*1.4 = 8 for the above example) and conversely to double the light coming in we have to have an f-number 1.4 times smaller than the previous aperture (5.6/1.4 = 4 for the above example).

To make things simpler you could always try to memorise the whole f-number steps:
1, 1.4, 2, 2.8, 4, 5.6, 8, 11, 16, 22, ...
But do you have to?

I think the answer to that is no.  And here's why ... your camera should tell you!

EV phone home

Most cameras, including compacts, will tell you an EV or Exposure Value normally ranging from -3 to +3 in 1/3 steps.  What does this mean?  Simple an exposure value of 0 is what the camera thinks is the correct exposure; bear in mind that may not be the same as what you think is the correct exposure!  Each whole number increment (or decrement) is then equivalent to one stop of exposure!  So you can (in manual mode) pick an f-number and ISO and then change the shutter speed to give a different exposure at whole stop or 1/3 stop steps.

What you can also do with most cameras, including compacts, is set an offset to the exposure by forcing it to have a non-zero EV.  Look for a button that says EV+/- or EV or a setting which has a scale from -3-0-+3 and have a play.  What this allows you to do is set say an f-number in aperture mode and force the camera to then under or over expose the image.  This ability can be very powerful especially when talking about the digital dark room (see later tutorials).

The trade off

I'm not going to tell you what is right and wrong for exposure as it is personal taste, with the exception of complete under or over exposure!  When we were getting married my wife and I saw a photographer who liked to make her photos look ethereal by over exposing them, something I hate, but others like.  What I will tell you however is choose your method of changing exposure carefully.

If you think back to the first tutorial changing the f-number changes how much of your photo is in focus; I took the pictures below with the same EV value.  To do this I changed both the aperture and shutter speed.  On the left you can see that with a large aperture and a fast shutter speed (f/4.5 1/800th) I have got the ends of the word blurred slightly as they are slightly out of focus whilst on the right with a smaller aperture and a slower shutter (f13 1/100th) speed the whole word is in focus.
Two ways of getting the same exposure.
Why am I telling you this?  Simple, if you were taking a photo of a flower you would want the flower to be in focus and the background out of focus to draw the viewers eye to your subject; to do this you would want a larger aperture and a fast shutter (which also has the side effect of removing any motion blur as the flower blows in the wind); if you were taking a photo of a car travelling at speed, like Chris Horn has on our Facebook group then you want a slower shutter speed to blur the background as you pan to follow the car but a smaller aperture to get the whole car in focus.

Keep it simple

The key to getting your photos exposed right is to balance the needs of the photo, think what am I doing, is it a dull day, what am I shooting? Once you have done that choose the balance of settings that gives you what you think is the correct exposure for the subject or to give the special effect you are trying to get, then play around with it until you are happy.  Have a look at my blog's Hiroshima post which will hopefully show how you can use exposure settings to take a powerful image; here I have an over exposed sky as I took the exposure settings I wanted from the brightly lit walls and then used -2/3 EV to force the camera to under expose the whole image meaning the shadows behind the building are deep shadow giving the impression of the a-bomb exploding in the sky.

Some final tips:

  • Turn on flashies if your camera has them.  This will highlight areas of pure white on the LCD screen to show you where the camera thinks you have over exposed.  Keep in mind the camera is stupid and cannot tell what is meant to be white from what is over exposed!
  • Shoot with a permanent EV of -1/3 or -2/3.  This means that it will be harder for you to accidentally over expose something and allows for easier recovery of exposure mistakes in post.
  • Play with exposure bracketing if your camera allows this, it fills up the memory card but allows you to see what effect adding in up to 4 different levels of exposure will look like (depends on camera model).
Most important of all get out there and experiment! Move away from auto and have fun snapping!