Showing posts with label exposure. Show all posts
Showing posts with label exposure. 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!

Beginner: The darkroom goes digital, part deux

Well, I said I would show you the difference between Aperture and the GIMP/Photoshop and how much easier it is to work with so here goes!

Grand tour

First off let me do a similar tour to the one I did for GIMP to orientate you, here's the workspace for Aperture:


Notice how much different it looks!  This is because Aperture is designed to be both an organiser of your digital library and also an editing package.  The first screen shot shows it in it's organiser mode, on the left (if you can make out the tiny writing) the 'Library' tag is selected showing all of the 'Projects' on my computer.  A Project is a collection of images which you upload (normally at the same time but you can combine multiple uploads into a project, or split one upload into many projects), you can also create 'Albums' from multiple projects here and access things like the face recognition tool which is really helpful for archiving things, most recently uploaded pictures, all pictures etc.  Top right are a few other buttons which allow you to adjust the views by number of photos (to give a tiled effect or a filmstrip effect) or to show you photos taken by face identity or location.  You also have a loupe to allow you to zoom in on small parts of an image and a search function which allows you to look for keywords, star scores, colour tags and many other things.  I often use the star scoring system to help me whittle down my photos and get rid of the rubbish ones.  But enough of the organising, I want to talk about editing.  I have selected the same image as last time, so you can see the difference between Aperture and the GIMP, and double clicked on it to make it fill the whole screen.  I have also then gone to the 'Adjustments' tab on the left hand side where it was previously on library (the other tab 'Info' is where all the meta-data is stored).


Under the 'Adjustments' tab you can see some of the different things we can do to the image as well as two further drop down boxes.  The 'Add Adjustment' drop down allows you to select from all the different adjustment tools that Aperture has whilst the 'Add Effect' box allows you to pick from effects such as monochrome, auto enhancements etc.

Now, I could cheat and just hit 'Auto Enhance' under the 'Add Effects' drop down but I don't want to do that I actually want to get down and dirty and show you how to do things manually.  As with everything in photography things are subjective so what I think is good you may disagree on but, as before, hopefully you agree the photo is under exposed, wonky and lacks a bit of punch with the colours.

Twister

So first things first I'm going to straighten the image.  Now compared to the GIMP this is a bit easier, the grid Aperture gives as a guideline is fixed so you can line it up more easily, however it may not line up to the horizon so there is still a bit of guess work involved!  Aperture also automatically crops so that you get a rectangular picture of the original aspect ratio.  To straighten you use the tool in the tool bar on the bottom left of the window which looks like a wonky rectangle with a dotted line through it:


When you select this and then click into the photo, slightly off to one side, it will bring up a yellow grid.  Moving your mouse up or down then rotates the image and you can then align the horizon to the yellow grid like this:

Leave a light on for me

So now we get to the neat bits about Aperture.  You can see the histogram at the top of the 'Adjustments' tab like you get in the GIMP or Photoshop and whilst you can play around with curves like I showed you for the GIMP aperture has three other ways to adjust for the exposure two of which I will show you now.

The first is the exposure slider:


This is under the 'Exposure' adjustment and allows you to set the points which are white, the points which are black, how bright the image is and what it's overall exposure value is.  I played around with this and settled for adding about 3/4s of a stop of exposure to brighten the image.  Being honest I only did this after finishing all the other adjustments so I won't show you the result of this until I get to the end of the post!

The other method that I regularly use is to alter the shadows and highlights.  This is the same as dodging and burning allowing you to make shadows brighter or highlights duller.

  
With this image I chose to lift the shadows a bit to make them brighter and also to tone down some of the bright white bits in the sky.  As with most modifications I did this by trial and error until I got an effect I was happy with.

I can see a rainbow

Next up is the ability to bring some more punch to the colour.  In aperture this can be done using the 'Color' adjustment (note the horrific American spelling again).  


This time in addition to changing the green and making it more punchy I also chose to play with the blue to bring out the colour in the top of the boat and the sky.  Aperture allows you to play with the hue, saturation, luminosity and range all at the same time.  For the time being I only wanted to play around with the saturation and luminosity or how green the green is and how bright the green is (and blue).  Again this was trial and error until I got this:  


Easy so far hey?  A neat trick that you can do with aperture is to brush in effects too, so if I wanted to I could make the grass black and white by brushing the black and white in rather than having to mass about with selections, but more on that another time!

Size matters

Now, as I said before Aperture automatically crops an image to keep it rectangular when you rotate.  However I still am left with some annoying grass on the left and with too much sky for my liking.  To solve this I need to apply a crop.  This is also found at the bottom on the left near the rotate button and looks like two crossed tri-squares.


When you crop the image it temporarily shows the whole image rotated so that you can see where your crop will be in relation to this rotated version of the master.  As with the GIMP or photoshop you can choose to constrain the crop to a certain aspect ratio or go freestyle, which is what I chose to do.  When cropping you get given a grid divided into thirds to help you work out the best proportions.

Getting out there

One of the great things with Aperture is that it allows you to print from raw images, but if you want to share your images with other people or on the web then you need to get it into a format that is shareable.  The eagle eyed amongst you may have seen that I was working on this image in raw format and given that I want to share it with you I need to get it into a JPEG format of a reasonable size.  I do this by going to 'File > Export > Version':


Which brings up the window below.  Here I can choose the destination folder, folder name, file name and what format of image I export in.  I have a preset for blogging which adds my watermark and resizes the image to a more useful size so I just use that and press export.  


For those of you who don't have that set up you can go to 'Edit' in the drop down box for 'Export Preset' which gives you a window looking like this:


Here you can edit the presets Apple give you or create your own like I have.  I have added a watermark (see my watermarking article), I have constrained it to have a longest edge no more than 1024 pixels, set a moderate image quality of 7, set the format to JPEG, set the DPI to 72 which is fine for on screen use and chosen to include metadata as well as the watermark to help me protect my image.

End in sight

So what do I get from that:


Whilst you may argue that the grass still looks a bit weak (and I may agree on that) my whistle-stop tour through Aperture has allowed me to make the corrections that I needed to to get this image into a position where it is good enough to share.  I could correct this by deepening the shadows a bit and or adjusting the contrast.

I think for most of the modifications I want to do to an image Aperture is great and much easier to use than my old version of Photoshop Elements or the GIMP.  It certainly runs faster too!

Remember the final words of wisdom I shared with you on post from my previous article, have fun with whatever post you get up to and happy snapping!

Sunday, 31 August 2014

Beginner: The darkroom goes digital

So far I have talked about actually setting up a picture and about some aspects of moving away from the automatic section of your camera's controls.  I also talked about workflows and now is the time where I expand on that to explain some of the basics of the digital darkroom and give you an introduction to post processing, known as post. For this blog post I will use the free software the GIMP, hopefully you managed to get and install a copy. If the demand is there I will repeat this in Apple's Aperture so that you can see the differences. So here goes!

Bringing light to the dark

The digital dark room is not that different from an old style film dark room.  Many of the tools used are the same as the days of film, in the digital dark room we can straighten an image, crop it, apply dodge and burn, adjust the exposure and change colours.  

Some people get very uppity about post complaining that it is not real photography if you shoot a picture and then edit it, others say that post is vital (go and speak to a fashion photographer or their model!).  The important thing to remember is that you can never fix a bad photo in post and that professional photographers have been using post processing techniques since the dawn of photography to actually make their images.  The renowned photographer Ansel Adams was well known to make extensive use of post processing techniques to make his final images and always urged photographers to 'Expose for the shadows, develop for the highlights' showing that he clearly made use of post to great effect.

A raw nerve

Before I start talking about post I need to explain a little about image formats. Most of you are hopefully aware that most digital cameras save their images as JPEG files (short for Joint Photographic Expert Group) and shown by a .jpg or .jpeg on the end of the file name.  JPEG images have a nasty little secret, in order to record what the camera sees and keep the image file to a small size a JPEG does not keep all the information captured by the camera's sensor, it discards some of it.  For this reason JPEG is called a lossy compression system, that is to say it compresses the information captured by your camera but in doing so it loses some of that information. 

Now-a-days most SLR cameras will also shoot in a mode called raw, which has various file prefixes, for example my 7D adds .cr2 to the end of the file name. The difference in file formats is that a raw image contains all the information your camera sensor gathers, it is a lossless format.

But why am I telling you all this I hear you cry? The answer is quite simple, when you change an image in post certain actions will loose data, if you've already lost data when your camera has compressed the image to a JPEG format then the output will get worse as you make big changes to the image or if you make several small changes.

To illustrate this imagine that this sentence is my picture:

Hello world isn't it a lovely day! 

As a raw image the sentence is the same, nothing changes but as a JPEG it becomes: 

Helloworldisntitalovelyday 

I've compressed it by removing the spaces and punctuation. You can still read it perfectly well but it's not as easy to read.

Let's say I now do some post on it, for example adjusting the exposure (more on this later) I'll represent this by removing the o's, in raw we get:

Hell wrld isn't it a lvely day!

We can still kind of understand it, but what about the JPEG:

Hellwrldisntitalvelyday  

You can see how this can rapidly lead to a JPEG becoming such a poor quality image after manipulation (note this is a very extreme example it's not quite this bad when talking pictures because we have much much more data).

The trade off here is that to make a JPEG your camera will make certain modifications to make the image look better and so raws will often need some sort of post doing on them and raws contain a lot more information and so are much much bigger than JPEGs.  The advantage of raws is that you can do a lot more to them including things like resetting white balance values (see later tutorials) and make more and bigger changes in post before the image becomes unusable.

In this blog I will not go into detail about what causes this as it is way over the top.  The important take home is, if you want to edit then shoot in a raw format or, if you don't want to have massive image files or your camera doesn't shoot in raw (perhaps because you're using a phone or compact) then before you edit the image convert it to a .tiff (Tagged Image File Format) which is another lossless compression method, edit this file and then save back to JPEG.

Danger!

Now before I get into the rest of the blog I have a few of important points to make:
  1. No matter what you do post cannot make a bad image good!
  2. Post can make a good image bad if you don't take care!
  3. Post can be computationally expensive so unless you have a speedy computer don't try to watch a DVD or do other computationally challenging tasks at the same time as trying to run some post!

Grand tour

First off is to open the GIMP and get the photo into the editor.  Once you have opened the GIMP you can get a photo into it in two ways; you can do this either by finding it in your 'My Computer' ('Finder' for Mac users) and drag and drop it into the main screen or you can go to 'File > Open' under the menus as for any normal programme.  

So lets run through what you may want to do to a picture.  My example that I will be using is the one below.  Now I'm not so happy with the horizon, its not level, or the exposure, its under exposed, or how flat the grass seems, its not very bright and interesting, so I will be showing you how to straighten and crop an image, alter the exposure and alter the brightness of a specific colour in this tutorial.


Now if you have a look at the above picture there are a few things to show you.  The main window in the middle is where the picture that we will be working on will be displayed.  Either side of this are two toolboxes.  The one on the left has the main editing tools in it, things like selection tools, text, clone/stamp, straighten etc.  The one on the right has the brush selector at the bottom and above that a space for viewing layers, channels, paths and the undo history.  Today we will only be considering layers (which looks like three grey squares in a stack) so make sure that this is selected.  The undo tab in this toolbox is useful as it allows you to select something you have done and undo do it or redo it.  

Sometimes using a tool out of the editing tool box will pop up a window, as will selecting some tools from the tool bar.  These windows can then be moved around to let you see what you are actually doing.

Stack 'em high

The first thing that I do when bringing an image into the Gimp or Photoshop is to create a new layer, now for the modifications that I am going to show you today this is not that important, but for some other modifications (like getting rid of spots) it is very important.  If you don't want to get confused with the layers you can miss this step out for now.  One thing it is useful for however is to flick back and forth between the layers to see what your original image looks like and what the modified version looks like.

To create a new layer for working in right click on the main background layer which is seen on the right hand side of the screen in the layers toolbox.  Then select 'Duplicate Layer':


This creates a second layer in which we will do all our work.  Make sure that it is the one that is highlighted and that it has an eye next to it so you can see it.  The GIMP can, sometimes confusingly, do things to a layer that is not visible; this is because it decides which layer to do things to not by which is visible but by which is selected, just because there is an eye next to a layer showing it is visible does not mean it is the one that will be worked on, make sure to always have the layer you want to work on selected i.e. it is highlighted (blue on my screen)!

Twist and shout

Now the first task I did was to straighten the image.  To do this choose the rotate tool from the editing toolbox (shown in a slightly darker grey):


This opens a pop up window like the one shown below and overlays a grid over the image (ostensibly the grid is meant to help but I don't think it does).  In this window you can change the angle by typing in the 'Angle' box, or, using the up and down arrows or using the slider bar.  You can also rotate by clicking in the image (somewhere towards one edge or other) and dragging your mouse up or down.  You can also, if desired, change the position around which you rotate the image.



So I played around with the angle for a few minutes until I was fairly content that the horizon was level.  Note in this screen shot you can see the background layer has not been rotated highlighting the point I made about making sure you have the working layer selected!

Let there be light

Now I have a straight horizon I want to brighten the image a bit and tone down some of the really bright bits.  To do this I have elected to use the curves tool which is found in the 'Colors' menu (note the American spelling, grrr).


This opens another pop-up window that looks something like this (note the shadow grey background curve will look different for your pictures).


Now what does this window tell me?  Well starting at the top it tells me I'm being naughty and ignoring my own advice and working in JPEG (but will skip over that)!  Below that I have the option to select from a preset curve setting that I have saved before (beyond this tutorial).  Below that is the channel selector.  This has 5 settings: Value, Red, Green, Blue and Alpha.  We will only look at Value and Red, Green and Blue today.  You can also choose here to look at the graph on a linear or log scale.  Then onto the meat of this window, the graph.  The grey curve in the background shows the distribution of light and dark in the image from ALL colours.  If the image was all black then there would be a single line at the left hand side of the graph going from the bottom of the graph to the top of the graph, if the image was all white then there would be a single line at the right hand edge of the graph going from the bottom to the top.  There isn't either of these lines, which is great, this means my photo is not completely over exposed nor completely under exposed.  What the graph does show however is that I do possibly have a bit of under exposure.  A quick check of the image will confirm that, it looks very dark!

Now if you look at the graph you can see that there is a grey line running from the bottom left corner to the top right corner.  This is the normal curve, what I want to do is tweak this curve to make the shadows brighter and the bright bits darker but maintaining white as white.  But what does all that mean!

The first thing to understand is that I can move the line, selecting curve type 'Smooth' will help me here as it tries to keep things simple, you can select 'Freehand' and go way out with lots of changes but let's not do that.  So what does changing the curve do?

The y-axis of the graph shows a graduated scale from black at the bottom to white at the top.  If you look at the point at which the diagonal line gets to the y-axis in the bottom corner you will see that it is at the blackest of this graduated line.  In other words black is black!  At the top right you can see the opposite the normal line for white is at the white end of the graduated scale, white is white!  Now, if I was to drag the normal end point at the bottom left hand corner up the scale black won't be black anymore, it will start to get whiter, i.e. it becomes grey.  Conversely if I drag the white end down it starts to get blacker.  See where I'm going?

What this means is we can adjust the exposure of an image and simultaneously make areas that are too dark brighter and areas that are to bright darker!  Much better than in the camera where we can only make everything brighter or darker!

Got that?  Great if not try it for yourself and then come back and join me to discuss the changes that I have made.

So, I have an underexposed image, but it also has some over exposed bits.  Now, I want to keep white as white so I won't touch the very top right hand corner but what I will do is pull the bright areas back a bit.  To do this requires a bit of guess work but pick a bit on the normal curve where it is bright, left click on the curve and drag it downwards, looking at your picture at the same time (make sure you have preview selected and be patient, even with a speedy computer it may take a while to re-draw the image).  You'll see a dip appear in the normal curve, the black line will separate from the grey straight line like mine has and the bright bits of the image get darker.  Halfway there now on this!  Now for the dark bits; again guess where you want to make the change at the left hand side of the curve and drag it upwards, looking at your picture.  You'll see the dark bits get brighter!  If you make a mistake don't worry just hit the 'Reset' button and try again.  Once you're happy hit the 'OK' button and admire your handiwork, you have now successfully rescued a slightly dodgy exposure!

Green green grass

I like the exposure now but the grass seems a bit dull.  There's two ways I could change this, one is by using the Hue/Saturation method the other is by using curves again.  Hue/Saturation allows you to change the colour of a colour (i.e. make a green more bluey or more red etc.) and change how vivid the colour is (more saturation make the colour more vibrant, less saturation makes the colour more grey).  I'm going to leave Hue/Saturation for another day and play with the curves again.  I opened a new curves window from 'Color > Curves' again and this time selected 'Green' as the channel.  If you were doing something where you wanted a blue or red to be brighter you'd select their channels.

This gives you something looking like this:


As an aside you can see why it is a bad idea to do post on a JPEG.  Look at the big bit of the background curve at the left hand edge.  See the big white lines?  Now compare that to the curve that I used when adjusting the 'Values' channel.  Those white lines show where I have lost information.  If I do too strong a change or too many changes to a JPEG the histogram (the technical name for the grey background curve) will get more and more white lines in and the image quality will get worse (see why I ignored my advice ;)).

This window works in a similar fashion as the 'Values' channel except instead of making colours brighter dragging the curve upwards makes it more green and downwards more black.  I guessed what level I wanted to be more green and made my adjustment, but oh no look what happened!


Everything became more green!  That's not what I wanted to happen.  Never fear though, hit cancel or reset to get rid of the curves window and go back to normal!  to make this change only affect the grass I need to make a selection to tell the GIMP what to make this change to.  


To do this I'm going to use the 'Select by colour' tool (top right in the editing toolbox which looks like a hand pointing at a stack of coloured squares).  This selects things based on them being a similar colour to what I point at.  I clicked on this selection tool and then clicked on the grass in the image, you can hold down shift to make multiple selections and add them together.  Once I was finished I got this:


This looks hideous and slows the computer down no end (see why you can't watch a DVD or similar at the same time as editing your photos!) but shows you what the computer has selected for you.  I then went back to the 'Curves' editor via 'Color > Curves', selected the green channel and made my adjustment.  Now, instead of changing the whole picture it only changed the grass to make it more green, giving me this:


Now my grass definitely looks better and its time for the final finishing touches!

Cut down to size

I can't leave the picture like this, it's no good.  The problem is the rotation creates blank areas which the computer cannot fill in.  The grey chequerboard you can see in the corners shows the areas where it is missing bits (I hid the background layer by clicking on the eye next to it).  It's also not a great composition as there are a couple of bits of grass sticking up on the left.  To fix this I need to crop the image (note some editing suites may have a 'Rotate and Crop' tool which will do enough of a crop that you have a rectangular image of the same proportion as your original, but if you want to cut anything else out then you will still need to manually crop).


The crop tool looks like a scalpel (3rd row, 4th icon).  To use it select it and then left click and hold and drag across your image to draw a rectangle.  In the options at the bottom of the edit toolbox you can select specific aspect ratios, turn on guides and specify positions and sizes for the crop by using the text boxes.  For this edit I just free handed it, judging my start and stop points to roughly give me 1/3rd sky above the boat and to take out the annoying grass on the right hand edge.  Giving me a final image of this (note I have added a watermark by following the instruction in the watermarking tutorial):

Become something

All this is great I now have an image I'm happy with but I still can't use it yet.  The problem is that the GIMP, like Photoshop, creates its own bespoke image files made up of all its layers.  To do anything useful with the image I first have to make it have only one layer and I also have to export it as a usable image file format.

First off is the flattening.  I have three layers in the image, the original image, the layer I have been working in and the text layer where I added my watermark.  To flatten it go to 'Image > Flatten Image' and this will squash all the layers down on top of each other to give me one picture.  Now for advanced users you can do funky things with layers when you flatten but that is for a different time for now GIMP's default setting (at the top of the layers toolbox) of 'Normal' should work fine.  


If you intend to put the image up onto the web to speed up transfers and reduce the amount of space your image uses it's important to reduce the image to a more manageable size.  If you're not intending on putting it online you can ignore adding the water mark and this resizing step.  To resize the image go to 'Image > Scale Image':


This will bring up a pop up window which looks like this:


For now leave the quality and resolution settings alone and concentrate on the Image Size 'Width' and 'Height' settings.  Make sure the drop down box has 'px' in it for pixels and that (unless you really want to change the aspect ratio) then chain is not broken and enter a size value for the longest edge.  I often use a value of 1024 pixels for the longest edge.  The computer will now work out the value it needs for the shortest edge to maintain the current aspect ratio.  Hit scale and all of a sudden your image will become much smaller:



So now I have an image that is almost useful but it's still floating around in the GIMP's bespoke file format so I need to export it to be able to use it as an image.  To do this go to 'File > Export As' which will give you this screen:


We need to pick our export file type so in the drop down box where it says 'All export images' click on the drop down and select 'JPEG image', choose where you want the file to go to then press export.


Once you've pressed export you'll get a pop-up looking something like this:


Choose your image 'Quality' (note the higher the quality the bigger the file) and hopefully the GIMP will tell you an estimate of the file size (for some reason it didn't for me this time!), hit export and you will get a new JPEG file in the location you wanted it all edited and ready for sharing on the web (or if you missed out the scaling and watermarking phase) for printing or displaying on a computer etc.

Post post

So what I have shown you is the basic steps of adjusting a poorly exposed image and lifting a colour to make it more vibrant and interesting.  It may seem a bit daunting when you first step into the digital dark room, I'm an engineer and use computers all day everyday but even I sometimes struggle to make things look right or remember how to do things (especially in the GIMP now I've moved to Aperture!) but stick with it and practice and you'll get there in the end!

I intend to do more tutorials on specific aspects of post, and if demand is there do some face to face stuff using the projector in the community centre.  If this is something you would like to see then make your voice heard on our Facebook group or at the next meeting which is scheduled for 9th September 2014 at 1930.  If you have any questions about what I have discussed in this tutorial give me a shout on Facebook or at that meeting!

The biggest thing to remember with post is that it cannot make a bad image good, no matter how hard you try, concentrate on shooting good images and then just tweak them in post and you'll be the best you can be!  Also remember that post is as much about personal opinions as the rest of photography, there are several ways to achieve the same objective and none of them are necessarily right.

The final closing word I would have on the subject of post is don't get dispirited when you have a bad day in the dark room.  Keep practising and see what you can get it to do, don't over do it either and think you have to do post on every image, concentrate on fixing ones you really like and want to keep.  Keep an eye out for other tutorials on it on here and ask fellow group members for help!  

Over all have fun, remember it's a hobby 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!





 


Beginner: Understanding the Numbers

So 1st tutorial!  In this tutorial I will hopefully explain three of what I consider to be the most important set of numbers in photography, get you talking and thinking like a pro and improve your photos.  The numbers I'm going to talk about form the backbone of exposing an image correctly and this tutorial is applicable to all SLR users and some compact users where your camera allows you to do more than just pointing and shooting.

So what numbers will I be talking about?

Photography is partly art and partly science with a lot of jargon thrown in.  If you have a look at my blog you will often see me throwing out a bunch of numbers when I explain how I set up a shot.  The numbers I'm going to talk about today are a bit sciencey but stick with me and by the time you've read this you will hopefully understand some of the science and be able to use the knowledge to move from point and click to more adventurous photography.

Numbers, lots of numbers!

Today I will discuss the 3 numbers on the left under the picture, they are ISO (250), f-number (7.1) and the shutter speed (1/250).

Are you sensitive?

ISO began life in film photography to describe how sensitive a film was to light.  With the advent of digital photography the meaning of the ISO number has changed a little but not greatly.  It now defines the amount of amplification applied to the electronic signal captured by the camera's sensor but still basically says how sensitive your camera is to light.

"Great" I hear you say "I just need to set this as high as possible then!".  Unfortunately not, in electronics as many things there are trade offs.  Without getting too technical the amount that you increase the amplification by affects not only your wanted signal (the picture) but also the unwanted signal (noise).  Setting your ISO high does allow you to shoot in darker conditions but it also adds unwanted noise (called shot noise).  The origin of this noise is beyond the scope of this tutorial and to explain it would require me to dig out my uni notes, suffice to say that the higher the ISO the darker conditions you can shoot in but the worse the image will look due to noise.

Shot noise at ISO2000
If you look at the image on the left you can see that there are lots of speckles covering the picture.  This is shot noise.  The photo was taken at ISO2000 on my EOS7D which will allow you to select an ISO setting from 100 to 12800.  On most DSLRs there is a button specifically for setting the ISO, on smaller compacts you may have to hunt around to find the setting but it should always be called ISO.

You can just let the camera set the value for you but beware, sometimes it may set it higher than you would like and this can ruin an image.  Sometimes, like for this shot on the left you have to set it high and accept the noise, for example I was taking a photo of Hong Kong's light show and so needed as fast a shutter speed as possible to not end up with a light painting effect.

So what ISO should you use?  That's a tricky question and unfortunately as with many things in photography something that you have to work out for your self.  On a sunny day you generally want to shoot at ISO100, the most sensitive setting, for less bright conditions you need a higher ISO.  One good thing to do is to take a series of photos at slowly increasing ISOs and note when your image begins to get unacceptably grainy, for my camera I think this happens at about ISO800 and so I try not to go higher than this unless I have to.

Each doubling of the number then doubles the sensitivity to the light coming into your camera, or, get ready for some jargon, changes the exposure by one stop, more on this later!

f-numbers is not a swear word!

Next up the f-number.  In our camera lenses there are a set of plates that interlock together which open to allow light into the camera, these are called the aperture blades and they create a roughly circular opening.  The f-number is the ratio of the focal length of the lens to the diameter of this opening, in other words an f-number of f/2 means the lens focal length is twice as long as the aperture diameter, e.g. for a 10mm lens the aperture would be 5mm across.  With me so far?

That's maybe a bit technical so in basic terms the smaller the f-number the more light gets into the camera.  Great, so a small number is good right?

Not necessarily; again there is a trade off.  A small number means that more light gets into the camera but it also means the area of the photograph that will be in focus will be small, or in photography speak there will be a shallow depth of field.




Have a look at the two photos above.  One was taken at f/1.8 and one at f/13, which is which?

The image on the left has a small depth of field, this means that only the centre of the image around the word 'of' is in focus.  On the right pretty much all of the image is in focus because it was taken at f/13, it has a high f-number and a large depth of field as opposed to the one on the left which was taken at f/1.8, a small f-number and shallow depth of field.

So simply put if you want everything in focus then choose a large f-number, if you only want a small part in focus choose a small f-number.

BUT a larger f-number means a smaller hole for light to get in through and that means you either need a higher ISO or a slower shutter speed.  Ever get the feeling photography can be bit complicated?!

How do you use it?  On SLRs look for the dial position marked Av or A and then you should be able to choose your f-number by your control wheels, this mode allows you to change the f-number and have the camera set the shutter speed.  For more advanced shooting use the Manual or M setting where you as the photographer choose both shutter speed and aperture.  On compacts look for a setting which allows you to change the f-number which may be shown by Av, A of f/.

One other handy thing is the aperture preview function of some digital SLRs which allows you to see the result of changing the aperture, on mine it's on the lower left hand side of the lens mount (I use a Canon).

Are you fast enough?

This brings me onto the third and final important number, the shutter speed.  We know we can control how sensitive the camera is to light and we know of one other way to control how light gets into the camera but there is a third method to control exposure: the shutter speed.

Now for some more jargon which can confuse beginners.  The speed of a lens is not the same as shutter speed!  So a 'fast' lens is one which can open to a large aperture, it does not relate to the shutter speed, but, they are linked!  A fast lens is so called because due to them having a large aperture you can use a correspondingly fast shutter speed.  Confused?  Don't be it's jargon and not hugely important unless you want to sound like a pro!

So what is the shutter speed?  Inside the camera is essentially a set of curtains.  This is the shutter.  The shutter speed shows how long these curtains will be open for.  Some digital cameras now do not have mechanical shutters but turn on and off the output of the sensor to give the same effect.  Note also that in SLRs the mirror also has to move up and out of the way of the film or sensor but this is not the same as the shutter opening, for example to reduce vibrations for low light or long opening times the mirror can often be moved out of the way before you open the shutter.

Again the basic rule is simple, the longer the shutter is open the more light gets into the camera.  But it gets a little more complex than that.  Because a camera is catching the light reflected off an object if that object moves during the time the shutter is open the camera will record that movement and give a blurred image.  This can be great for some creative shots, for example with light painting but it can also ruin images, especially if you're trying to capture something moving like a bird.

Motion blur
The image on the left was taken with a shutter speed of 1/80.  This is very slow for photographing something like a butterfly but I was trying to get a blur effect like this.

What the number really means is that light is allowed into the camera for 1/80th of a second.  Sounds pretty fast right?  Wrong, my camera will allow me to shoot at 1/8000ths of a second!

To keep things simple a fast shutter speed freezes motion a slow shutter speed blurs motion.  So to get individual rain drops in a storm use a fast shutter, to make water pouring over a waterfall look milky use a slow shutter speed.

When using a slow shutter speed make sure you use a solid base for your camera, below about 1/60th of second most people cannot get decent shots by hand holding.  When using really slow speeds use  a remote control or timer and if possible lock up the mirror.

The wikipedia article on shutter speeds has a handy guide to what to use for different scenarios so I won't repeat it here, but most importantly have a play for yourself and see what you can do!

The shutter speed is controlled using the Tv or T setting on an SLR to allow you to set the shutter speed and have the camera choose what it thinks is the correct aperture; by using the Manual or M mode you can change both shutter speed and aperture; finally the Bulb or B mode allows you to have the shutter open for as long as you keep the shutter release button pressed.  On compacts you may have to dig around in the menus to find the controls for this.

Feeling exposed?

The three setting discussed above act a bit like the fire triangle for exposure of photos.  Changing one side results in a change to the exposure unless the other two sides are adjusted to compensate:

  • The ISO changes how sensitive the camera is to the light coming in.
  • The f-number says how much light comes in through the lens to strike the sensor.
  • The shutter speed says how long that light will be shining onto the sensor.

But remember there are trade-offs:

  • A high ISO means your picture will be more grainy but you can shoot in low light.
  • A low f-number means not as much of your picture will be in focus but more light gets into the camera.
  • A slow shutter speed means any motion will cause blurring (including hand shake, subject motion and camera motion e.g. mirror moving) but again more light gets into the camera.

My next article will discus stops and exposure a little more but for now get out there, take your camera off auto and have a play!