create account

Building a photography macro rail for focus stacking (Part 1 - Planning) by markangeltrueman

View this thread on: hive.blogpeakd.comecency.com
· @markangeltrueman ·
$21.79
Building a photography macro rail for focus stacking (Part 1 - Planning)
Well, there's a title that I guess a lot of people won't understand. So what the bejeezus is a "macro rail" and why would you use one for "focus stacking" (and more importantly, how do you create one?)

I am not going to go into microscopic details on some of the basic photography terms here but will provide some wiki links where appropriate.

<div class="pull-right">

https://steemitimages.com/0x0/https://files.steempeak.com/file/steempeak/markangeltrueman/kbjEnXYd-IMG_0035.jpg
<center><sup> Image of grasshopper with eye in focus but body and antennae out of focus. The acceptable depth of field here is probably around 5mm. 
*Image taken by me*</sup></center>

</div>

#### Depth of field

One of the inherent problems of macro photography is that you end up with a very shallow [depth of field](https://en.wikipedia.org/wiki/Depth_of_field) in your images. That can mean that the eye of the bug you are shooting is in focus but the rest of the body behind the bug and the head or antenna in front of the eyes are out of focus. You can mitigate that to a certain extent by [stopping down your aperture](https://en.wikipedia.org/wiki/Stopping_down) but if you go too far you end up with other kinds of image quality issues such as [diffraction](https://photographylife.com/what-is-diffraction-in-photography). There is often a sweet spot for macro lenses around the f11-f16 area, but this still gives you a minuscule depth of field.

When you start heading into the microscopic level of details such as photographing the eyes of flies and spiders, your depth of field is so limiting that you cannot even get the whole of the eye in focus. This is the kind of thing im looking to do, hence my interest in the method described in this post.

So if you wanted to get the whole of a bug in focus from nose to tail, what do you do?

#### Focus stacking

The basic concept of focus stacking is shooting a collection of images but moving the focus backwards and forwards in each shot. Then afterwards, in photoshop or some other software, you can merge the images together to get a sharp image from the nearest point to the furthest.

<center>
![image.png](https://files.steempeak.com/file/steempeak/markangeltrueman/ERun4VIK-image.png) 
<sup>An example image from the [zerene stacker](https://zerenesystems.com/cms/stacker) website showing how multiple images with a tiny DOF can be merged to form something that is very sharp throughout</sup>
</center>

So that seems pretty simple right; take a load of images at different focus points and let some software do the magic? If only it was that easy.

#### In the field

Focus stacking in the wild is not easy. It involves a lot of luck with regards to getting multiple images of a subject at different focal points **without the subject moving**. If the subject moves during the series of images then the stack is not going to work. As you can imagine, with insects this is near impossible other than at times first thing in the morning and last thing in the evening. Even then, manually moving the camera and getting enough quality images is very very tricky

#### In the studio

The other option is the one that I am looking into; focus-stacking in a studio environment. This more often than not means setting up deceased specimens (but it is possible with live specimens with the right equipment). Some macro photographers will either chill or freeze specimens but I find that somewhat ethically dubious so my intention is to find dead beasties or bring them indoors first thing in the morning or in the evening when they are least active and then put them back after the shoot.

<div class="pull-right">

![image.png](https://files.steempeak.com/file/steempeak/markangeltrueman/pmUv60eG-image.png)
<center><sup>The FUYU FSL30 Mini Linear Stage Actuator Small Slide Guide Rail (thats a mouthful)</sup></center>
</div>

#### Macro rails.
In the studio, you can use a neat bit of equipment called a "macro rail". It's a pretty simple concept; the camera is mounted to a linear guide rail. A [stepper motor](https://en.wikipedia.org/wiki/Stepper_motor) turns a threaded rod which in turn moves a carriage down the rail. This setup allows very small movements which you can calculate with the specifications of the rail and motor...

The stepper motor has a 1.8° step angle, which when you divide that into 360° (a full rotation) means you get 200 steps per turn of the motor. 

The thread on the rod has a 2mm pitch which means that each full rotation will move the carriage 2mm.

So 2mm divided by 200 steps means that each step on the motor will move the carriage 0.01mm. An absolutely tiny amount - perfect for getting shots at lots of different focal points. You can also get threads with a 1mm pitch which gives twice the resolution and a 0.005mm movement per step. There is a bit of an accuracy limit on these rails, but that can be mitigated with various modifications which I will go into in another post.

#### Arduino controller
In order to control the camera both in terms of movement and shutter firing, I plan to use the trusty [Arduino Uno](https://en.wikipedia.org/wiki/Arduino_Uno). They are really cheap and are capable of controlling a multitude of things with some pretty basic coding. I have used an Arduino and stepper motor before when I built a custom timelapse rig using a very similar guide rail system. I also use the Arduino for my water drop system too. You can find details of both of those setups in my blog history. 

I'll go into more detail about the electronic side of things in the next post where I'll demonstrate how to set up the Arduino with a simple stepper motor and use the [Blynk](https://blynk.io/) app to be able to configure the system and control it.

Thanks for reading and stay tuned for the next part which is coming soon(ish)

Mark


👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 359 others
properties (23)
authormarkangeltrueman
permlinkbuilding-a-photography-macro-rail-for-focus-stacking-part-1-planning
categorycreativecoin
json_metadata{"app":"steempeak/1.17.1","format":"markdown","tags":["creativecoin","photography","steemstem","macrophotography","photo","engineering","science","technology","arduino"],"links":["https://en.wikipedia.org/wiki/Depth_of_field","https://en.wikipedia.org/wiki/Stopping_down","https://photographylife.com/what-is-diffraction-in-photography","https://zerenesystems.com/cms/stacker","https://en.wikipedia.org/wiki/Stepper_motor","https://en.wikipedia.org/wiki/Arduino_Uno","https://blynk.io/"],"image":["https://files.steempeak.com/file/steempeak/markangeltrueman/kbjEnXYd-IMG_0035.jpg","https://files.steempeak.com/file/steempeak/markangeltrueman/ERun4VIK-image.png","https://files.steempeak.com/file/steempeak/markangeltrueman/pmUv60eG-image.png"]}
created2019-10-12 19:07:12
last_update2019-10-12 19:07:12
depth0
children15
last_payout2019-10-19 19:07:12
cashout_time1969-12-31 23:59:59
total_payout_value11.207 HBD
curator_payout_value10.579 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,836
author_reputation75,759,505,276,179
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,490,761
net_rshares67,392,373,079,845
author_curate_reward""
vote details (423)
@bluefinstudios ·
I think it says very scary things that I read the title and was thinking, "hmmm... maybe I should."
and not concerned at all about the geeky terms.
That's what I get for being a photographer.
👍  ,
properties (23)
authorbluefinstudios
permlinkpzaa0x
categorycreativecoin
json_metadata{"app":"steemit/0.1"}
created2019-10-12 22:48:33
last_update2019-10-12 22:48:33
depth1
children1
last_payout2019-10-19 22:48:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length191
author_reputation200,250,269,354,811
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,495,266
net_rshares40,098,818,338
author_curate_reward""
vote details (2)
@markangeltrueman ·
Yeah man, do it. Its the same concept for timelapse sliders and stuff so once you have done one, ou can do any of em
👍  
properties (23)
authormarkangeltrueman
permlinkre-bluefinstudios-pzdd9w
categorycreativecoin
json_metadata{"tags":["creativecoin"],"app":"steempeak/1.17.1"}
created2019-10-14 14:51:33
last_update2019-10-14 14:51:33
depth2
children0
last_payout2019-10-21 14:51:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length117
author_reputation75,759,505,276,179
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,548,109
net_rshares191,767,802
author_curate_reward""
vote details (1)
@guchtere ·
$0.04
Looking forward to your next posts about this project🧐macro is the one thing I’m loving to look at other their photographs but never where able to achieve the same results as the people that inspire me every day on my instagram. 

Posted using [Partiko iOS](https://partiko.app/referral/guchtere)
👍  , , ,
properties (23)
authorguchtere
permlinkguchtere-re-markangeltrueman-building-a-photography-macro-rail-for-focus-stacking-part-1-planning-20191012t202305706z
categorycreativecoin
json_metadata{"app":"partiko","client":"ios"}
created2019-10-12 20:23:06
last_update2019-10-12 20:23:06
depth1
children5
last_payout2019-10-19 20:23:06
cashout_time1969-12-31 23:59:59
total_payout_value0.018 HBD
curator_payout_value0.018 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length296
author_reputation33,021,468,854,297
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,492,239
net_rshares207,697,122,433
author_curate_reward""
vote details (4)
@markangeltrueman ·
The thing about macro for me is that it's really accessible. I can literally pick up the camera, go out into the garden or for a walk and come back with a good set of images. 
👍  
properties (23)
authormarkangeltrueman
permlinkre-guchtere-pza3er
categorycreativecoin
json_metadata{"tags":["creativecoin"],"app":"steempeak/1.17.1"}
created2019-10-12 20:25:45
last_update2019-10-12 20:25:45
depth2
children4
last_payout2019-10-19 20:25:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length175
author_reputation75,759,505,276,179
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,492,294
net_rshares189,359,666
author_curate_reward""
vote details (1)
@guchtere ·
I can imagine lots of things could serve as a great object for macro pictures. At the moment with my new camera no macro options (allthough I believe there are some tubes from Meike for the Z-mount) but Nikon finally placed two macro lenses on the Z roadmap.

What is your favorite subject for macro? And what does your macro setup look like?

Work I really admire😍: https://instagram.com/quenoteam

Posted using [Partiko iOS](https://partiko.app/referral/guchtere)
👍  ,
properties (23)
authorguchtere
permlinkguchtere-re-markangeltrueman-re-guchtere-pza3er-20191012t204846742z
categorycreativecoin
json_metadata{"app":"partiko","client":"ios"}
created2019-10-12 20:48:48
last_update2019-10-12 20:48:48
depth3
children3
last_payout2019-10-19 20:48:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length465
author_reputation33,021,468,854,297
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,492,745
net_rshares2,473,094,061
author_curate_reward""
vote details (2)
@phortun ·
$0.02
@tipu curate
👍  , ,
properties (23)
authorphortun
permlinkpz9zx1
categorycreativecoin
json_metadata{"users":["tipu"],"app":"steemit/0.1"}
created2019-10-12 19:10:15
last_update2019-10-12 19:10:15
depth1
children2
last_payout2019-10-19 19:10:15
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length12
author_reputation1,190,496,715,934,857
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,490,820
net_rshares138,085,899,371
author_curate_reward""
vote details (3)
@markangeltrueman ·
Thanks
properties (22)
authormarkangeltrueman
permlinkre-phortun-pza17h
categorycreativecoin
json_metadata{"tags":["creativecoin"],"app":"steempeak/1.17.1"}
created2019-10-12 19:38:06
last_update2019-10-12 19:38:06
depth2
children0
last_payout2019-10-19 19:38:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6
author_reputation75,759,505,276,179
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,491,341
net_rshares0
@tipu ·
<a href="https://tipu.online/curator?phortun" target="_blank">Upvoted &#128076;</a>
properties (22)
authortipu
permlinkre-pz9zx1-20191012t191033
categorycreativecoin
json_metadata""
created2019-10-12 19:10:33
last_update2019-10-12 19:10:33
depth2
children0
last_payout2019-10-19 19:10:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length83
author_reputation55,941,844,597,937
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,490,822
net_rshares0
@remlaps-lite ·
Hi, thanks for the post! I have included it in my daily [Science and technology digest](/@remlaps-lite/curating-the-internet-science-and-technology-micro-summaries-for-october-13-2019), and you'll receive a 10% share of that post's rewards.
👍  
properties (23)
authorremlaps-lite
permlinkre-markangeltrueman-pzbru4
categorycreativecoin
json_metadata{"tags":["creativecoin"],"app":"steempeak/1.17.1"}
created2019-10-13 18:10:51
last_update2019-10-13 18:10:51
depth1
children1
last_payout2019-10-20 18:10:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length241
author_reputation33,385,102,560,685
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,519,801
net_rshares186,977,304
author_curate_reward""
vote details (1)
@markangeltrueman ·
thanks
properties (22)
authormarkangeltrueman
permlinkre-remlaps-lite-pzdda9
categorycreativecoin
json_metadata{"tags":["creativecoin"],"app":"steempeak/1.17.1"}
created2019-10-14 14:51:48
last_update2019-10-14 14:51:48
depth2
children0
last_payout2019-10-21 14:51:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6
author_reputation75,759,505,276,179
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,548,122
net_rshares0
@steemitboard ·
Congratulations @markangeltrueman! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://steemitimages.com/60x70/http://steemitboard.com/@markangeltrueman/posts.png?201910121913"></td><td>You published more than 300 posts. Your next target is to reach 350 posts.</td></tr>
</table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@markangeltrueman) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=markangeltrueman)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/steemfest/@steemitboard/the-new-steemfest-badge-is-ready"><img src="https://steemitimages.com/64x128/https://cdn.steemitimages.com/DQmRUkELn2Fd13pWFkmWU2wBMMx39EBX5V3cHBEZ2d7f3Ve/image.png"></a></td><td><a href="https://steemit.com/steemfest/@steemitboard/the-new-steemfest-badge-is-ready">The new SteemFest⁴  badge is ready</a></td></tr></table>

###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-markangeltrueman-20191012t214832000z
categorycreativecoin
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-10-12 21:48:33
last_update2019-10-12 21:48:33
depth1
children0
last_payout2019-10-19 21:48:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,363
author_reputation38,975,615,169,260
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,494,048
net_rshares0
@steemstem ·
re-markangeltrueman-building-a-photography-macro-rail-for-focus-stacking-part-1-planning-20191014t220931990z
<div class='text-justify'> <div class='pull-left'> <center> <img width='200' src='https://res.cloudinary.com/drrz8xekm/image/upload/v1553698283/weenlqbrqvvczjy6dayw.jpg'> </center>  <br/> </div> 

This post has been voted on by the **SteemSTEM curation team** and voting trail. It is elligible for support from @minnowbooster.<br /> 

If you appreciate the work we are doing, then consider supporting our witness [@stem.witness](https://steemconnect.com/sign/account_witness_vote?approve=1&witness=stem.witness)! <br /> 

For additional information please join us on the [SteemSTEM discord]( https://discord.gg/BPARaqn) and to get to know the rest of the community!<br />

Please consider using the <a href='https://www.steemstem.io'>steemstem.io</a> app and/or including @steemstem in the list of beneficiaries of this post. This could yield a stronger support from SteemSTEM.
properties (22)
authorsteemstem
permlinkre-markangeltrueman-building-a-photography-macro-rail-for-focus-stacking-part-1-planning-20191014t220931990z
categorycreativecoin
json_metadata{"app":"steemstem-bot"}
created2019-10-14 22:09:36
last_update2019-10-14 22:09:36
depth1
children0
last_payout2019-10-21 22:09:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length877
author_reputation262,017,435,115,313
root_title"Building a photography macro rail for focus stacking (Part 1 - Planning)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,559,834
net_rshares0