Category Archives: Software

A first HDR experiment

A ten stop light range is tamed.

Following on from yesterday’s column, here are the first results of trying the Photomatix HDR + Tone Mapping sofware, using five pictures taken with the 5D on a tripod, set at highest quality JPG and at ISO 200. I took the precaution of saving the camera variables (ISO, metering pattern, non-auto white balance, JPG fine) under the Custom dial setting, so I now only have to set the dial to ‘C’ with no risk of forgetting anything. The scene is of our kitchen with very bright sunlight outside. I measured a 10 stop range from the dark oak on the bar to the sky outside.

Here are the five source images, all one stop apart:

     

     

Here is the result after processing the images with Photomatix – it took the application 90 seconds to combine the files on my iMac G5, 2 gHz, 2 gB:

Canon EOS 5D, ISO 200, JPG Fine, tripod. Photomatix software.

Now I have to try this in the real world. Seems like one of the local church interiors would be a good place to start.

It’s the software, stupid

Software can yield far greater improvements than optics.

You might fairly accuse me of worshipping at the altar of the gods in Wetzlar when it comes to optics. For the last 75 years of the twentieth century, Leitz Wetzlar, as it was most of that time, created two great cameras – the screw thread Leica and the M3 and its variants – and dozens of the best lenses known to photographers. And while I may have moved away from Leica rangefinder cameras in the absence of a digital option, I have had the rare pleasure of using many of Wetzlar’s lenses on my rangefinder and reflex Leicas.

My first Leica lens was the 50mm Elmar. It’s sole limitation was the boob behind it pressing the button on the M3. Twist the mount counter-clockwise and the lens neatly collapsed into the camera body, passing for what was compact back in 1971 when I got mine. August 2, 1971 to be exact. The 90mm Elmar and a superb 35mm Summaron followed. In each case these were the ‘beginner’s’ option (meaning cheap, by Leitz standards), and only years of hard work later did a Summicron grace the M3. That was the incomparable 50mm Dual Range, the brass mount having last seen duty as the main engine bearing in a Panzer tank. And I’m afraid that mention of any of the dozen others that came and went would be a tedious exercise in the overuse of superlatives. For the M these included the 21mm Asph Elmarit, the 35mm Asph Summicron, later and mercifully lighter versions of the 50mm Summicron, a 90mm Elmarit, Tele-Elmarit, Elmar-C and Asph Apo-Summicron, a 135mm Hektor, Elmar and Apo-Telyt, 200mm, 280mm and 400mm Telyts, and on and on. Each magical in its own way.

Map reader. 1973. Leica M3, 50mm Elmar, TriX/D76.

For the most part, these lenses were designed the old fashioned way. Hard graft with calculators and logarithmic tables, long hours melting ever more exotic glasses, interspersed with occasional bouts of sheer lunacy. The ‘we made it because we could’ lenses like the original 50mm f/1.2 Noctilux with its aspherical grinds, the NASA commissioned 180mm f/3.4 Apo Telyt R which finally brought the red spectrum in line with the rest of the colors to give an image of startling definition, the fabulous 75mm f/1.4 Summilux (if only you could focus it right – that sort of thing needs an M3 vewfinder!). And while computers played an increasing role in the design of later lenses, the long heritage of optical excellence at Leitz, Wetzlar, West Germany saw to it that they were programmed right. The reality is that if lenses for 35mm cameras can get any better no one will notice as the magicians at Wetzlar had long ago exceeded anything film could resolve.

These thoughts have been coursing thorugh the old brain increasingly as I look at the modern processing workload. Now bear in mind that this is coming from someone who adopted a beginning to end pure digital workflow only earlier this year with a Canon 5D. Until then it was film + scanning, which took over from film + color lab, which in turn had supplanted film + darkroom/bedroom. And what strikes me most is how much software has become a dominant part of picture processing.

Start with the in-camera software that tells the sensor RAW or JPG, maybe with various amounts of contrast, sharpness and other processing included. In to Aperture or Photoshop where chromatic aberration (color fringing) at the edges has to be repaired. Then the barrel distortion has to be removed at the wide end of the zoom. Another tweak and the vignetting is gone. Three aberrations I simply do not recall having to deal with in the days of the Summicron and its brethren. Because if they were present, they were not visible. So on that scale, I suppose, one would rightly argue that Canon lenses simply do not hold a candle to those from Leitz Wetzlar. OK, so you have to laboriously manually focus the Leica lens, and the aperture is manual and the only way to zoom is to walk closer or fall in the water…. But from the sheer standpoint of optics, if I had to bet my life on resolving power and freedom from aberrations, it would have to be Leica every time.

The reality is, it no longer matters. Good software can correct all those problems in seconds. Further, because the digital ‘film’ in the 5D is far superior to the one from Kodak which I used in the M3, the overall result is better in every conceivable way, and it’s mostly due to software. I believe designers are getting the message. Increasingly we are seeing new technologies like image stabilization add more definition than any film based user could hope for, and we are probably very close to the point where very large aperture lenses with vast zoom ranges with minimal bulk are around the corner. The necessary optical compromises will be corrected in the camera with tailored software. For that matter, the lens need no longer be interchangeable as the zoom range will be so large it will accomodate all conceivable needs.

Sceptical? Look at the Kodak P712 digital camera announced earlier this week. The lens is equivalent to 36-432mm (432mm!) with a smallest aperture of f/3.7. F/3.7! The camera costs $499 and weighs probably under one pound. Compare that with the 400mm f/4 DO Canon lens, at $5,200 and 4.3 lbs. And it doesn’t even zoom. Sure, I have no doubt the Canon lens is better, but how long do you expect that to last?

Case in point. My Panasonic LX-1 (click on the entry at right) has a Leica lens that reads ‘DC Vario-Elmarit 1:2.8-4.9/6.3-25.2 ASPH.’ Phew!. Not like saying 50mm Summicron now, is it? To make sure things are not blurred the camera has image stabilization, because some unnamed brilliant engineer at Panasonic thought it up. Auto focus makes sure it’s focused right adding yet more definition to the competitive equation. This lens is like a 28-112mm on a regular camera. At its longest setting it extends 1.5″ from the barrel on the camera’s body.

So, supposing I want a 24-105mm f/2. That would translate to a 5.4mm – 23.6mm lens which, fully corrected, would doubtless be a lot bulkier than the one on the DP. Now throw out the large front element, there to reduce vignetting. Get rid of several of the others there to confer minimal color fringing. And the hell with barrel distortion. Curvature of field and all those insurmountable problems with edge pixels and wide angle lenses? Nonsense. Just bow the edges of the sensor towards the lens as the focal length changes. Flexible sensors? Why not? Zoom? The next generation of sensors will obsolete optical zooming and do it all electronically. About time. Program around all of that with some smart software, fix the image on the fly when saving (or even when viewing if it’s that horrible to look at) and your 24-105mm f/2 zoom is now 1″ in diameter and 1″ long. Wow! So we gradually return to the days of the Box Brownie with its miniscule single meniscus lens, but with an image readily enlarged 12 times or more.

And who will be the genius designing these new ‘lenses’? It won’t be a god the likes of Max Berek or Walter Mandler in Wetzlar. It will be some kid who is really sharp at coding who happens to like a superb picture from the one ounce piece of plastic passing for a lens attached to his camera. The great days of optics are yet to come and their designs will emanate from the keyboard of some unknown master even now getting his lips around the teat on that plastic milk bottle.

Gorilla. 2006. Panasonic Lumix LX1, 6.3mm DC Elmarit Asph, ISO100, image stablizer.

Canon 15mm Fisheye lens – Part III

Mind you don’t bump into things

I mentioned in Part I that this lens can focus very close. So close in fact that in this image one of the flowers almost touched the bulbous front element!


Canon EOS 5D, 15mm fisheye, ISO 50, 1/20th second. Gaussian blur added to edges in Photoshop

So getting close is one thing, just watch what you are getting close to!

Web sites for photographs

Keeping it simple is the best solution

In a spare moment the other day I was meandering through a selection of web sites using the remarkable Firefox browser plug-in Stumble Upon. Two things struck me. First, just how much work has been put into many of the photography web sites out there and the growing prevalence of Macromedia Flash animation effects.

Indeed, it sometimes seems that the author’s prowess in writing animation code takes pride of place over the photographic content. As site after site made me wait while all the animation code loaded – and that’s with a fast connection – I found myself simply clicking though Flash sites in serach of something simpler. The reality is that if you are forced to wait while all this digital noise ensues, your likely interest in looking at pictures fades away. And just imagine having to sit through this every time you go there. Hardly condusive to repeat visits.

Now I’m not saying that my web site avoids Flash simply because I don’t like it. In fact, I wouldn’t know how to write Flash code if you paid me. Heck, I just learned how to make clickable page references open in a new browser window! Rather, I have focused the design of my web site on simple, clean lines, with consistent presentation of all pages. I adopt a white ‘Apple look’ thanks to using the Better HTML plug-in for iPhoto ’05 or ’06 to generate the web pages (I use the DP Polaframe template) and have a very simple menu system to access these.

A while back I learned how to have all the choices in my web site menu reside in one file which is referenced by each page of thumbnails, so if changes are made, I need only make the change once in a central menu for it to appear everywhere.

I also try to constrain each pictorial to no more than three pages of thumbnails, eight to a page. In this way any photo can be accessed with just a couple of clicks. Further, the DP Polaframe template has a neat feature so that when you click anywhere on a full sized picture, you are automatically taken to the next picture.

When I first started my web site some five years ago, it suffered from ‘menu creep’. Selections were constantly being added and maintenance was not fun. I knew it was time to make a change when that most dreaded of choices – ‘Latest Work’ – made an appearance. You see this often on web sites. I never click on it. After all, as I don’t know the chronology of the ‘earlier’ work, what possible relevance could ‘latest’ have to my interest or enlightennment? No, ‘Latest Work’ had to go.

Then I agonised over the picture used on the home page. It has variously been clickable, static, many pictures or just one. I have settled for one static picture which I change every month or so, as the whim takes me. And clicking on it does nothing.

Picture size is another dilemma. First, large images have to be in files no more than 200kB in size to load quickly. Attention spans are short in the modern world, and rightly so. Secondly, make them much over 800 pixels wide or 600 pixels tall, and you will cause someone with a laptop viewing agony – the picture should not have to be scrolled to be completely visible. Obvious, but I got this one wrong a lot in the early days.

Finally, I decided to scrap all reference to equipment or technical information regarding the pictures. I may write lots about that sort of thing here, but it’s simply irrelevant when showing your work. If you want that sort of thing, there a link to this blog in the web site menu.

So that’s how, through trial and error, my web site came to look the way it does. I hope you like the pictures, but even if you do not, I trust you will enjoy clicking around.

Main stairway, Hearst Castle. Canon EOS 5D, 15mm Fisheye, Image Align, PS CS2, TLR Orange filter

Canon 15mm Fisheye lens – Part II

Not only wider than the 14mm, it more than holds its own

I dropped by Hearst Castle again today to put the Canon Fisheye lens through its paces. The ultra wide angle of view, equivalent to a 12mm full frame lens using ImageAlign – see Part I – is ideal for interiors of the magnificent rooms, aided by the noise free sensor in the EOS 5D which allows ISO to be cranked up to 800 with impugnity. Something that is required as the Castle prohibits the use of flash and tripods.

I took Tour 3 this time, which visits the bedrooms used by Hearst and his many guests – the likes of Cary Grant, Clark Gable, Errol Flynn and David Niven. On the way we stopped by the large outdoor pool only to find, to my amazement, that it had been drained! Actually no bad thing as you could see the beautiful Carrara marble floor in broad sunlight. Evidently the pool had sprung a leak and workers were busy patching it up for the Hearst family’s annual summer visit, something they negotiated with the State of California when they donated the property years ago.

Well, it was a moment’s work to take a snap from the exact same vantage point I had used a few weeks ago when a fellow photographer had allowed me to try his very costly 14mm Canon ‘L’ ultra-wide lens. In the pictures below, you can see just how much wider the fisheye is after correcting for barrel distortion with the ImageAlign plug-in in Photoshop.

Canon EOS 5D, 14mm Canon ‘L’

Canon EOS 5D, 15mm Canon fisheye, Image Align

Chromatic aberration had been minimized in both images using the lens correction filter in Photoshop CS2.

While I was processing these, I thought it might be instructive to compare actual pixel-sized extracts of each image. Granted, the lighting conditions varied slightly, but here are screen shots of the white marble statue at center left – the print size would be over 40″ wide:

Canon EOS 5D, 14mm Canon ‘L’, actual pixels

Canon EOS 5D, 15mm Canon fisheye, Image Align, actual pixels

Fairly compelling evidence that the Fisheye + ImageAlign more than holds its own. The smaller size of the statue in the second picture is accounted for by the wider field of view of the fisheye lens.

How do the lenses compare directly into the sun? Both are simply outstanding. The original of the 14mm image had one internal reflection at the top, which I removed in processing. In the following fisheye image, the sun is in the frame of the original, disappearing after use of ImageAlign. You can see one internal reflection artifact above and to the right of the statue’s head.

The god Mars. Carrara marble. Canon EOS 5D, 15mm Canon fisheye, Image Align.

Indoors? No problem. Both lenses are bright at f/2.8, making composition easy.

Hearst Castle. The indoor pool. Canon EOS 5D, 15mm Canon fisheye, Image Align. ISO 1600

Hearst grew up in a time when the incandescent light bulb was just coming to market and never got over his wonder at the magic of electricity. This fascination translated into a near total absence of lampshades in the Castle’s guest rooms. That is as Hearst wanted it. Opportunity enough to try the fisheye’s handling of light sources in the frame at full aperture.

Guest room at Hearst Castle. Canon EOS 5D, 15mm Canon fisheye, Image Align. f/2.8. ISO 800

The bare bulbs are rendered with a gentle glow – not perfect, but more than acceptable in the circumstances – this room is very dark as are most, by design. There is no air conditioning in Hearst Castle.

For Part III of this review, click here.