Thursday, April 21, 2011

Photoshop Tutorial No. 007



Straightening Buildings etc.

The sample photo being used here was shot by a fellow contributor to Blipfoto, a site which encourages participants to upload one photo per day and as you can see it contains some lovely sunshine and a very unusual old barn in the countryside of Tuscany, Italy. What upset my friend and which led directly to this little tutorial is the fact that the buildings and particularly the white house on the left hand side were not square on to the axis of the camera and therefore there is a pronounced lean to the right.
This is a common happening and the most obvious example would be when photographing a painting or indeed a photo. Not to fear though. With digital capture and software this is easily fixed. There are many methods but this one is easy to use and available in pretty well any version of Photoshop. How do we go about it?

1. Start off by opening up your photo and making it as big as it will go on your screen. Select the magnifying glass and click on "Fit on Screen" to achieve this.

2. Now, back off a little so that you leave yourself room in which to work. To do this, hold down the Alt key on the keyboard and you will see that your magnifying glass will change from a plus sign to a minus. Still holding Alt down, click once on the photo.

3. Now, go to Select and Select All.

4. Next, go to View...Show, and from the flyout menu tick Grid. You will now have a grid overlaying your photo. This will make it easier to align elements which should be vertical and/or horizontal in the photo with the grid for accuracy.

5. If the grid is too confusing or for that matter contains too few lines just go along to Edit...Preferences... Guides, Grid and Slices and play about with the "Gridline every so many inches" and the "Subdivisions" boxes until you have a grid which looks suitable for your purpose. You can even change the colour of the grid here too and its appearance...whether it appears as solid lines or as lines of dots. It's entirely your choice.

6. Ready for the magic? Go to Edit...Transform....Skew.

7. You will see 8 small boxes, or handles, appear on your photo. One at each corner and one at the midpoints of each of the four sides.

8. Find a vertical in your shot, which is obviously off and select a corner handle nearby. In the case of our example here I used the slanting wall of the white house and the top left handle.

9. Click on the handle with the mouse and holding the click down, drag the handle, in this case, to the left until the corner of the house lines up as best as possible with the nearest vertical grid line. It doesn't of course have to be touching the grid line, just judge it by eye.

10. Now check carefully all over your image, looking for any verticals or horizontals which you may have upset with your first move. If there are any, tweak them in similar fashion until you have achieved what you want.

11. When you have time to practice, check out what happens when you drag a corner handle vertically rather than horizontally and for a bit of a surprise practise sliding the handles on the perimeters up/down or left/right depending on which outer line they are on.

12. When you are happy, hit the Enter key to accept the changes. Go to Select...Deselect and then to View...Show...Grid and untick the Grid box.

13. Before you save your newly corrected image just check that you haven't left yourself with any bits of stray white most likely in the corners. If you have, you will need to crop inside these to remove them or if you are feeling like fun try cloning them out instead. You are now ready to save your new masterpiece.

Monday, April 11, 2011

Photoshop Tutorial No. 006










Sharpening

There have been a couple of requests recently for a tutorial on the matter of sharpening in Photoshop, so in an effort to address these I have put these few thoughts together and trust that they may be of some assistance in the furtherance of your photography.

At the outset I should point out that although files coming off a digital camera nearly always require some degree of sharpening, the use of the Unsharp Mask will not automatically turn a sow's ear into a silk purse. If for instance, you have a photo which is suffering from camera shake or even worse, from elements which are plain out of focus, there will be little you can do to remedy the situation. Sharpening can of course be beefed up in the camera but I don't advise this since you cannot see what the camera's processor is doing and you don't have any degree of fine control over the results. The best way out is to leave the in camera sharpening set at its default setting and look after the fine tuning using the larger screen of your laptop or PC.

The best method of sharpening will vary from photographer to photographer since we all have our own way of working, but the method I am detailing here is what works for me and is the result of more than ten years of experimentation and practice.

1. When you open up your image into Photoshop don't be at all surprised if it looks a little bit softer than you imagined. This is very common and doesn't necessarily mean that there is something wrong with your camera or your shooting technique. The above is a close up of a cactus which may demonstrate the point. By double clicking on the image you will open it in a separate window where examination may be easier.

2. To sharpen the opening image you should use the Unsharp Mask, known as USM. This you can access via, Filter...Sharpen.....Unsharp Mask. Once you get in here you will notice that you have three sliders, a preview box which when ticked will show you the result of moving the sliders, in real time on your open image. You will also see a preview window containing part of your image. Click in this and the preview will revert to the original, unclick and you will see the changes here as well as in your main image. There is a zoom control here too so that you can zoom in or out using the plus or the minus symbols. If you click into the preview window, hold the mouse button down and move the mouse you will see that you can scroll around your image. As an alternative you can click once into your main image at any point which interests you and this point will appear in the preview window.

Now, a word about the sliders.

Amount. This, as the name implies, controls the intensity of the sharpening. The higher the figure entered here, the greater will be the amount of sharpening applied. Do not assume however that bigger is better. If you apply too high a figure here you will for sure begin to see nasty sharpening artefacts and haloes appearing around objects in your shot. In the shot entitled "Unsharp Mask Applied" you will hopefully see the effects I am talking about. The lower insert box has had an amount of 100% applied which is the amount I find works best for me. One further thing though. When I am sharpening files off my compact cameras which have tiny image sensors and a degree of built in sharpening applied by the camera(which cannot be overriden), I find that 50% is enough and avoids nasty haloes.

Radius. This slider controls the width of the sharpening effect and you should go easy on it. My personal preference is for a setting of 1.

Threshold. The Threshld slider controls which pixels will be sharpened, based on how much they deviate in brightness form their neighbours. Again you should be wary of pushing this slider too far and in fact my practice is to leave it at 0.

3. You are now done...... except for this final little known tweak, not often used and only used by myself on those images which sharpen up ALMOST right but not quite. This is the use of the High Pass Filter which when used carefully can give your image just that small edge which sets it above the rest. Here's how it goes.

NOTE : This step is optional and should not form part of your usual workflow. It is literally for extracting the last drop of juice from those images which require it.

First, having gone as far as this tutorial so far, i.e. you have the USM applied, duplicate the layer. Layer...Duplicate Layer

Second, go to Filter...Other... High Pass. A very similar dialogue box to the USM one will open up. Horror of horrors, your image has gone grey. Take my word for it, all is ok. It's supposed to do that. Set the radius to 2. Don't ask me why. It would take too long to explain. Just don't be tempted to set it any higher unless you want to experiment.

Third. Open up your layers pallete...Window...Layers and you will see that you have two layers. The top one will be active. Click on the small arrow where it says "Normal"(this appears right under where it says"layers" and just to the left of "opacity") and pick "Overlay" instead from the drop down list. See that! Your image is back in colour. Now examine it carefully. If the effect looks a bit too harsh click on the arrow beside the word "Opacity" in the Layers Pallete and move the slider back until your image looks good.

Fourth and last flatten the image.... Layer....Flatten Image and save your work.

I have tried to place the illustrations in between the sections of this article but since I know rather more about Photoshop than I do about Blogger, I fear that they may all appear at the top. My apologies if this is the case. Hope it doesn't undermine your viewing pleasure. Best of luck. If you get your head around all of this and apply it as a matter of normal practice, you should see the benefits accruing in your photo output. In any case have fun!!