DIY Photography

Your one stop shop for everything photo-video

  • News
  • Inspiration
  • Reviews
  • Tutorials
  • DIY
  • Gear
Search

Submit A Story

The best way to do a focus stacking: Macro Focusing Rails vs Focus Variation

Feb 6, 2015 by Tilo Gockel 1 Comment

  • Share
  • Tweet
  • Flipboard
  • WhatsApp

focus-stacking-vs-02

This tutorial is about how to obtain a large depth-of-field using focus stacking.

The main question is: Is it better to use a macro rail or is it better to vary the focus of the lens?

As Alex, I use focus stacking (or “deep focus fusion”) quite often and most of the time I just shoot a series of photos with varied focus instead of a series with varied distance, using a rail.

Until now I always thought, that approach is a bit dirty, because it introduces changes in the magnification, but often it was the only way, because the depth of the object was far too deep for any rail. Imagine for example shooting a landscape. :-)

But now, I wanted to know for sure what is the better method and and did some tests.

One thing I can say to start with: With complex scenes, it is a good idea, not to change the position of the camera!

But now let’s take a closer look:

The Test Scenario

My little test scene is a chess board, and the view through the little chessmen is full of occlusions. This should be a really complex scene for any kind of stacking method, and so I think, it is a good choice.

focus-stacking-vs-01

I chose the distance, I wanted to render sharply from Pawn 1 to Pawn 2, as this is quite exactly the length of my macro rail.

Here you can find the same macro rail I’ve used

focus-stacking-vs-02

Only for the very last test, I also did a scan of the complete scene including all the chess pieces.

For the tests I used my trusty old Canon EOS 5D Mark II on a tripod and a 50 mm macro lense EF 50 f/2,5. I then processed the shots with Photoshop CC 2014.

Results With The Macro Rail

(Note: all shots from now on are straight-out-of-camera)

Whew, I did not expect *this* crazy result:

focus-stacking-vs-03

Well, it looks interesting. „Artsy“, so to say. But this is not exactly, what I wanted, and this is also surprising in some way, because – given the perfect “telecentric” perspective – all objects which have the same size in reality now also have the same size in the photo.

Normally, this should be a great advantage for the stitching algorithm, because now, all the stitching borders have the same size.

To prove this, I inserted Pawn No. 2 from the last shot in the series in to the first shot (see the green box).

Obviously, Pawn No. 1 and Pawn No. 2 have the same size.

focus-stacking-vs-04

A closer look reveals the problem.

In the following screenshot I have arranged the first and the last shot in the stack side-by-side, and it can be easily seen, that the use of the focusing rail leads to changes in the perspective in a way, that no stitching program can solve this. The occlusions change.

Everything changes!

focus-stacking-vs-05

But a little trick might work, I thought: For the second test, I used the same stack but did an alignment step with Photoshop first.

See the screenshot of the resulting layer stack…. it looks sort of funny, how Photoshop tried to reconstruct a global perspective (a classic or so-called “entocentric” perspective):

focus-stacking-vs-06

The result of the stacking with this layer stack is a bit better, but still not really good:

focus-stacking-vs-07

Results With Varied Focus

In the next experiment, I kept the position of the camera unchanged and recorded the series by variation of the focus of the lens:

focus-stacking-vs-08

Ok, this is better and this result encouraged me to also try the whole scene with all the chess pieces.

That took me 39 photos:

focus-stacking-vs-09

This result is still not perfect, but, as I said, it is straight-out-of-cam. With a tiny bit of touch-up, one could repair the little errors and the result would be quite nice (given the complex scene).

An interesting source, that also compares “Ring” versus “Rail”, is the website from the software team of “ZereneStacker”. So, if you are interested in more information about focus stacking and about the advantages and disadvantages of macro rails, you might have a look at their website: http://zerenesystems.com/cms/stacker/docs/troubleshooting/ringversusrail

About The Author

Tilo Gockel is a professional photographer and expert in the field of photographic technique, lighting and flash lighting. His blog, offers numerous tips and tricks learned from his extensive experience with photography. You can visit his (German) blog here, he is a contributor to Photigy, where this article was first published.

bookcover-310x396Had Fun?

Then you also might like Tilo Gockel’s new book “Creative Flash Photography” that was recently released. Definitely worth a closer look!

Lots of stuff in there, how to calculate with light, how to choose your equipment, how to light food, people, products, … even underwater shots, splash shots and extreme macro shots.

Here you can preview image gallery from the book.

FIND THIS INTERESTING? SHARE IT WITH YOUR FRIENDS!

  • Share
  • Tweet
  • Flipboard
  • WhatsApp

Related posts:

The NiSi NM-180 Macro Focusing Rail makes shooting for focus stacking a breeze The CamFi ZF is a remote controlled zoom and focus unit for timelapse and macro focus stacking NiSi releases its first macro focusing rail for precise focus control Default ThumbnailA DIY Focus Rail For Focus Stacking

Filed Under: Tutorials Tagged With: focus stacking, macro photography, macro rail, still life photography

Guest Author: from diyphotography.net

About Guest Author

This article was contributed to DIYP by a member of our community. If you would like to contribute an article, please contact us here.

« More Rebels To Come From Canon: T6i and T6s. Adds Wi-Fi, NFC, top LCD and Control Dial
Photographing Portraits, Lifestyle, And Counterfeit Fashion With A $9 Budget Per Shoot »

Submit A Story

Get our FREE Lighting Book

DIYP lighting book cover

* download requires newsletter signup
DIYPhotography

Recent Comments

Free Resources

Advanced lighting book

Recent Posts

  • Jollylook Pinhole SQUARE DIY pinhole camera kit shoots Instax square film
  • The “Digitally Analog Polaroid” runs ChatGPT code on a Raspberry Pi
  • My first year with the Mamiya M645 medium format film camera
  • 2023 Milky Way Photographer of the Year contest unveils jaw-dropping winning photos
  • Rare albino giant panda caught on camera in China

Udi Tirosh: from diyphotography.netUdi Tirosh is an entrepreneur, photography inventor, journalist, educator, and writer based in Israel. With over 25 years of experience in the photo-video industry, Udi has built and sold several photography-related brands. Udi has a double degree in mass media communications and computer science.

Alex Baker: from diyphotography.netAlex Baker is a portrait and lifestyle driven photographer based in Valencia, Spain. She works on a range of projects from commercial to fine art and has had work featured in publications such as The Daily Mail, Conde Nast Traveller and El Mundo, and has exhibited work across Europe

David Williams: from diyphotography.netDave Williams is an accomplished travel photographer, writer, and best-selling author from the UK. He is also a photography educator and published Aurora expert. Dave has traveled extensively in recent years, capturing stunning images from around the world in a modified van. His work has been featured in various publications and he has worked with notable brands such as Skoda, EE, Boeing, Huawei, Microsoft, BMW, Conde Nast, Electronic Arts, Discovery, BBC, The Guardian, ESPN, NBC, and many others.

John Aldred: from diyphotography.netJohn Aldred is a photographer with over 20 years of experience in the portrait and commercial worlds. He is based in Scotland and has been an early adopter - and occasional beta tester - of almost every digital imaging technology in that time. As well as his creative visual work, John uses 3D printing, electronics and programming to create his own photography and filmmaking tools and consults for a number of brands across the industry.

Dunja Djudjic: from diyphotography.netDunja Djudjic is a multi-talented artist based in Novi Sad, Serbia. With 15 years of experience as a photographer, she specializes in capturing the beauty of nature, travel, and fine art. In addition to her photography, Dunja also expresses her creativity through writing, embroidery, and jewelry making.

Copyright © DIYPhotography 2006 - 2023 | About | Contact | Advertise | Write for DIYP | Full Disclosure | Privacy Policy