Nav

Home           Earlier Posts

Thursday, September 5, 2013

Faux HDR

A little Faux HDR

Sometimes a scene has way too wide a range of of brightness to be rendered acceptably in a digital photo.  The classic situation is a dimly lit room with windows that look out on a sunlit neighborhood. You can either get the outside properly exposed or the inside, but not both. Neither most cameras nor the Internet standard JPG file format can properly handle a brightness range that exceeds 256 to 1 – that is 8 bits, or 8 stops in photo parlance.

There are techniques and tools to handle such situations. It requires several exposures, at least one that captures the world outside the window properly and lets the interior go way underexposed, and another that exposes for the interior but lets the outside be overexposed. Either special software or tools in professional-level photo editors are then used to combine these images into one which combines the best parts of each exposure into one final photo. Photos using that process are referred to as “HDR photos” – “high dynamic range photos”.

If you don’t have the software tools for processing HDR images, nor the experience for using them, you can’t handle such photo opportunities. Well, that isn’t necessarily so. If you are willing to settle for photos that are adequate but not masterpieces, Windows Photo Gallery and a little bit of planning can get you there.

Here is my example: The TV announcers booth at Turner Field in Atlanta. I wanted to show the room as well as the view that the announcers see. Well, my camera lens could not cover all of the room – not an unusual situation, and the range of light from the interior to the outside was more than could be shown in any single photo. I did something that would make my photo friends cry: I set the camera on automatic and the zoom lens to the widest setting. Then I took a couple of photos centered on the windows, and another three with the camera aimed lower. You can see the photos here.

LJK_9471-P

LJK_9472-P

LJK_9473-P

LJK_9474-P

LJK_9475-P

These are just handheld shots and you can see they were not taken in some consistent order. The camera selected the aperture, shutter speed, and ISO setting and for these five exposures these setting are:

1: f/5.6 1/125s ISO 100 – 2: f/6.3 1/160s ISO 100 – 3: f/3.5 1/60s ISO 200 – 4: f/3.5 1/125s ISO 180 – 5: f/3.5 1/125s ISO 200.

Oh, I can see the tears in the eyes of my friends. This is not the way to do it! But hey, I was “working on assignment for this blog”! The little photos here are full frame. In Windows Photo Gallery I selected these five and then clicked Create > Panorama. No other adjustments are possible in this process, Photo Gallery does it all by itself. Here is what this clever, free photo editor came up with – here the result just at it came out, no additional adjustments:

LJK_9471-5-P-PGstitch

Photo Gallery stitched the photos together and adjusted the exposure so the combined photo looks pretty good.  And here the cropped photo with some exposure, shadow and highlight adjustments made:

LJK_9471-5-P-PGstitch-C

Not shabby at all, wouldn’t you say? Oh, yes, this photo would be much better if I had taken the time, used a tripod, set the exposures properly used the same aperture and used a good HDR program. But then I could not have demonstrated to you that with just a bit of foresight (multiple exposures) you can make do and come up with acceptable results.

.:.

Sunday, September 1, 2013

Architecture - 2

 

Correcting Perspective Distortion

Objects that are farther away will appear smaller – to your eye as well as to your camera. When you look up at a building the top part is bound to look smaller. Our brain intercedes and makes the needed interpretations so we are not bothered by the optical effect that we call “perspective distortion” in real life. However, when we see the same thing in a flat photograph it looks like the buildings are falling in on each other.

Here is an example of such a situation:

Atlanta Skyline

This is how the camera say it, and this is how the photographer saw it, but it just didn’t appear that way. What I thought I saw when I took the picture was more like this:

Atlanta Skyline

Quite a bit different, and much more realistic. If the camera is tilted upward when a photo is taken, the top of buildings will be imaged smaller because those parts are farther away from the camera than the bottom parts of the building. This photo also shows a gate structure, one end is closer to the camera and the other farther away. We see the same effect, but this seems much more natural because we are used to seeing the world this way all the time. It is mostly the vertical perspective distortion in photos that bothers us.

In this article I will show you how you can easily make corrections to your photos so they look real and impressive, maybe even really impressive!

Most of my readers know that my “go-to” application for managing and improving photos is Windows Photo Gallery. I am biased, I admit, I wrote a couple of books about this tool. Photo Gallery is aimed at the casual photographer and not intended as a full-fledged photo editor. It does not provide a tool for perspective correction. There is a Microsoft tool, another favorite of mine, Image Composite Editor, I like to call it ICE, that can do a very nice job of making such corrections. It is a “photo stitcher” by design and normally is used to combine a number of photos into a composite such as a panorama. It does not work with just one photo.

For just making perspective distortion correction we need to trick ICE into thinking that it is working with two photos.

Here is the procedure, the video here shows the steps but without sound or explanation.

Since ICE can be called directly from Photo Gallery, that is the way to get started. Make a copy of the photo. In Photo Gallery there are tools for that, but I like to just right-click a photo, select Copy, then right-click an empty space and select Paste.

Next select both photos: Click on the first one, then hold down Ctrl and click the copy.

Demo of ICE for making perspective distortion correction

Click the Create tab, click More tools and under Microsoft Image Compose Editor click Create image composite.

(If you do not have ICE installed on your computer you need to do that first, ICE is free and still available from Microsoft: Image Composite Editor Download).

ICE will load the two images, since they are identical the “composite” you see is just the photo.

imageOn the left side in the Stitch panel click the selection button and click Rotating Motion.

Next click the little box in the tool bar at the top.

image

ICE will already have selected Perspective as the projection to use, but you can make sure by clicking Projection.

Now you can drag the photo right and left for horizontal perspective adjustments and up and down for vertical perspective adjustments. Start near the center and note the custom pointer with horizontal or vertical pointing arrowheads. You can combine the vertical and horizontal corrections. Move the pointer to the bottom of the image and you will be able to rotate it as well.

This is much more easily demonstrated than explained in text. So take a look at the video. Click the ► play button, you can select a higher video quality and view it full screen so you can see the details better.

Now is that not an impressive way to make perspective corrections?

I like to leave just a little bit of “lean” to the buildings, that seems more natural in the final image than perfect correction.

When you have made the correction as you like it, click the Apply button. ICE will now show the corrected image with a cropping frame around it. You can do the cropping right in ICE. You can select the final JPG image quality or select another file format. To save the image to your computer click the Export to disk button. (Yes, there are other options but not for today.)

After you have used ICE to make perspective distortion corrections you will come to prefer this method to the tools that the full-fledged photo editors provide.

If you have trouble with the video above, use this link: http://www.youtube.com/watch?v=_pACWT24ztc

.:.