Helicon Focus - yet another 'show us your pictures'

bear creek's picture

Many of you may have heard of the Helicon Focus software program but are not entirely sure of what it is or does. SImply put, this program takes multiple pictures of the same subject but with different focal points and glues them together selectingthe input picture with the best focus for each point of the output picture. The results can be astounding.

One of the biggest give aways (well to me) is the lack of depth of field that photos in the smaller scales (HO and down) exhibit. It is just about impossible to have everything in sharp focus from 6" away from the camera to 50' or more. Sure a macro lens can focus very closely, but then everything else in the picture is blurred. Stopping down the camera lens (that is making the opening through which light is admitted into the camera body smaller) helps. But even f32 (camera use an 'f' scale to indicate the aperature size - lens opening - where small numbers mean a bigger hole and big numbers small holes) won't do the trick for all scenes.

Making things even worse, when the camera is placed closer to the subject being focused upon the ability to keep a maximum range (from near to far) in focus at once decreases. A lot.

So if f32 (a relatively tiny lens opening) gives better depth of field than f8 (I'm talking the f-number range found on 35mm cameras here) why not f64 or f80? Well, going to such a microscopic opening would increase depth of field by a huge amount. Some people (Ben King for example) have used so-called pin-hole lenses to achieve amazing depth of field. But with such tiny lens openings a new problem arises - diffraction. I can't explain  exactly how this works but when light passes through an opening the light rays (or photons) that are next to the edge of the opening get bent (think waves coming through a break in a sea wall). So with a tiny aperature, the number of diffracted light rays compared to the rays going through the center of the hole goes up and now the entire picture gets 'soft'.

Helicon Focus lets you shoot a scene with using a less radical f-number (minimizing diffraction effects). Then it "glues" those pictures together. Sounds simple huh? Not! Each picture (with a different focus distance) has a slightly different magnification to it (because the elements in the lens move back and forth to focus). Helicon Focus needs to scale the images to map on top of each other and map the features in each photo with all the others (although the features may be badly out of focus in many of them). Kind of like magic!

Used correctly the results are very impressive!

Here's a couple I've produced using Helicon Focus.

Upper Bear Creek on the BC&SJ

Note how the foreground objects - truck and track - are in focus as is the train in the distance. I gave Helicon Focus about 8 pictures to combine. However, none of those pictures were close focused enough that the tree on the extreme left is in focus.

Running upgrade from tunnel 3 on the BC&SJ in late afternoon

Coming out of tunnel 3. There were about 6 pictures glued together here. I shot this picture with a 100mm lens which would normally have terrible depth of field But by shooting multiple pix this was overcome by H.F.

Well! Helicon Focus does an amazing job. But there are some issues.

1. The camera MUST be held rock steady between all the shots. If it is jiggled, even a tiny bit you'll see "ghosts" all over the final picture.

2. It can be tricky to resolve the interface between close objects and further away objects. (look at the edges of the foreground trees in the following picture - they're kind of 'smudgy')

 

 

I'm still learning to use this program. If you've got some Helicon Focused pictures (or any other extreme depth of field pictures) would you share them with us?

Cheers,

Charlie Comstock

Superintendent of Nearly Everything

 

 

Upper Bear Creek on the BC&SJ

Comments

bkempins's picture

Another example

 This is an edited extract from an article I wrote for N Scale Railroading about Depth of Field and using Helicon Focus.

Depth of field is probably the single most important parameter in model railroad photography. It is useful to understand why.  Two factors affect depth of field, aperture and focus distance. When we a photograph a prototype railroad scene with a locomotive, we usually need to stand well back from the subject to make sure that it can be fully captured in the frame. As the focus point of the subject moves away from the camera the effective depth of field increases. Most DSLR camera lenses have a scale engraved on the lens body to show how the depth of field changes with aperture and focus.

 

Eventually the focus point reaches the hyperfocal distance, the point of focus where everything from half that distance to infinity falls within the depth of field. Usually prototype rail photographs have the subject and background scenery in the hyperfocal region. The bottom line effect is that most of the scene is in sharp focus.

 

If we attempt replicate the same composition in a model railroad setting, we find that we are not in the hyperfocal region. Our depth of field is only a few inches deep. It is a property of camera lenses that the depth of field region shrinks as the focus point moves closer to the camera. This region shrinks faster than the scale distance diminishes. Therefore, not all of the image will be in sharp focus. This is particularly severe in N scale models because the camera must typically be placed very close to the models to replicate a prototype shot, such as a three quarters trackside view of a passing train.

 

To increase depth of field to simulate the hyperfocal region we use as small an aperture (also called f-stops) as possible since the smaller the aperture size - the greater the depth of field. Pinhole lenses were popular because the small aperture of the pinhole allowed for great depth of field. Unfortunately, pinhole lenses were hard to come by, tricky to make and difficult to use because of the dark image in the viewfinder. Furthermore, there is a limit to the sharpness obtainable from small apertures. There is a point where the aperture gets so small that the light diffracts as it passes through the hole and the overall image loses sharpness.

 

It is the size of the aperture that governs depth of field. Aperture sizes associated with an f-stop vary from camera lens to camera lens. In other words, f22 on one camera may not have the same size aperture as f22 on another. To understand the process requires the use of the simple formula, f-stop (N) equals lens focal length (f_l) divided by the actual aperture size (D),

 

N = f_l/D.

 

The table below shows aperture sizes for the two cameras that I have tested.  You can see that the Canon Rebel XT at f29 and 27mm focal length has the smallest aperture at 0.931 mm, and therefore greater depth of field than the 50mm macro lens at f32.

 

f-Stop

Lens focal length (mm)

Aperture diameter (mm)

Camera –Lens Combination

32

50

1.563

Canon 5D with 50mm macro lens

29

27

0.931

Rebel XT with kit zoom lens

 

You can compute the aperture size for your camera by applying the formula. Be careful in comparing lens and f-stops as some manufacturers report equivalent focal length when describing their lenses and not the actual focal length, especially for the compact digital cameras. The equivalent focal length is the comparable focal length for a "conventional" 35mm film camera lens.

 

The recent arrival of Helicon Focus software changes the calculus of depth of field. Although the optical properties of the individual images do not change, Helicon Focus uses post image processing of multiple exposures with different focus points to construct an image that is sharp all over. When used in model railroad applications, Helicon Focus allows us to create model railroad images that simulate the hyperfocal sharpness of a prototype image. 

 

I have found my macro lens very useful when combined with Helicon Focus. The ability of the macro lens to focus just an inch or so in front of the lens means that I can capture images where virtually the whole image is sharp, from immediate foreground to distant background

 

Bernard Kempinski
 
Personal Layout Blog: http://usmrr.blogspot.com/

 

joef's picture

Excellent thread!

Bernie and Charlie, excellent thread!

This technique is being termed "focus stacking" and you can google on that term to find many tools.

Helicon is but one tool and it costs $115 for a permanent license, or $30 for a one year license - and it's available for a free 30 day trial.

Another competing tool that's open source (free) is CombineZM. Has anyone tried this product? I've heard it's harder to use than Helicon, so I guess you get what you pay for.

There are other tools as well listed in Wikipedia, but I'm less familiar with those.

The promise of focus stacking tools for getting absolutely stunning model railroad images is exciting. I've seen this topic discussed elsewhere and some seem to feel it's something of a "cheat" and not a "real" image taken with old school methods. To that mindset, I have to observe that it's all art and even the old techniques aren't the real thing - they're all some abstract representation of reality. One could even argue that the old school methods introducing blur outside the depth of field is actually distorting reality more!

I personally love the stunning images possible with all the new tools. If the main point is communicating undistorted information, the focus stacking technique gives you cleaner, clearer visual information in the image. And being a visual sort of guy, I just love that!

 

Joe Fugate
Publisher, Model Railroad Hobbyist magazine

Joe Fugate's HO Siskiyou Line

bkempins's picture

CombineZ

I tried CombineZ but was not impressed. It is not as easy to use as Helicon Focus.  I have been so satisfied with Helicon Focus, that I really didn't see the need to try other sources. I bought the Mac version for about $90 IIRC.

 

Bernard Kempinski
 
Personal Layout Blog: http://usmrr.blogspot.com/

 

joef's picture

Maybe we'll have to do a bake off

Maybe we'll have to do a bake off at some point with all the tools and report on it in MRH. Could be useful info and as a magazine that depends on high tech delivery methods, I would expect our readership to be more skewed in interest to using techy tools in their modeling and sharing.

Joe Fugate
Publisher, Model Railroad Hobbyist magazine

Joe Fugate's HO Siskiyou Line

bkempins's picture

Focus stacking- cheating?

I don't abide by this notion. As I stated in my post above, focus stacking is a technique that allows model railroad shots to more realistically simulate the hyperfocal effect of a prototype shot. I feel that it is no more cheating than using paint to make a model more realistically look like a prototype, assuming that realism is what we are striving for.

On the other hand, here is a photo-technique website where the author is demonstrating a way to make actual photos look like models -the reverse of what we are trying to do. He basically does this by selectively blurring areas of an image using masks and blur tools.  Here is a link to his website.  http://www.recedinghairline.co.uk/tutorials/fakemodel/

 

Bernard Kempinski
 
Personal Layout Blog: http://usmrr.blogspot.com/

 

Depth of Field

Some of us are reaching the age where we can see our models much better in photographs than we can by looking at the layout itself.  It's a scary thought, but maybe the only time I will ever get to see even my tiny layout entirely in focus is through using one of these programs . . .

bear creek's picture

It's More than Depth of Field

I find that by placing a camera within a scene on my layout I get views of locations on my layout that would be difficult or impossible to see in person.

Regards,

Charlie Comstock

 Contributing Editor, Model Railroad Hobbyist magazine

joef's picture

If you're going to all the trouble

If you're going to all the trouble to build nicely detailed and weathered models, why not enjoy the visual satisfaction of that effort every way possible?

Focus stacking and railfan viewpoint images of your layout does that marvelously. More eye candy, yum, yum!

Joe Fugate
Publisher, Model Railroad Hobbyist magazine

Joe Fugate's HO Siskiyou Line

bear creek's picture

Hey Bernie, how'd you get the

Hey Bernie, how'd you get the light on that great picture with the A-B-A units to look so much like sunlight? That was shot indoors wasn't it? Or was it? The combination of light, depth of field, modeling and composition make that picture look like you were shooting REAL trains! N-scale, freakin' just about unbelievable...

Charlie

 Contributing Editor, Model Railroad Hobbyist magazine

JeffShultz's picture

Rock solid mount?

So how do you keep your camera in a rock solid position between photos, realizing that you've got to both change the focal point and trip the shutter?

Are you hooking the camera up to a computer via USB and controlling it that way?

 

--

Jeff Shultz

http://www.shultzinfosystems.com

The Willamette & Pacific RR - Oregon Electric Branch

Model Railroad Hobbyist Technical Assistant


>> Posts index

User login