Focus-stacking experiment - Model Train Forum - the complete model train resource
Model Train Forum - the complete model train resource

Go Back   Model Train Forum - the complete model train resource > Model Train Multimedia > Model Train Photo Gallery
Forgotten your password?

Model Train Photo Gallery Post model train pics in here.


Reply
 
Thread Tools Display Modes
Old 02-20-2019, 11:12 AM   #1
J.Albert1949
Conductor
 
Join Date: Feb 2018
Location: Connecticut
Posts: 424
Focus-stacking experiment

Nothing fancy here, just a quick experiment with "focus-stacking" to produce an image with a deeper depth-of-field.

I used a Canon 77d w/13-135 lens for the pics. Camera was in manual mode, exposures were 3 seconds @ F8. I used "live view" so I could use the back panel wherever I wanted the focus point to be, and the camera would focus and take the pic wherever I touched.

I used 7 or 8 exposures, choosing focus points from "closest" to "furthest".

I then combined the images using "Helicon Focus" on the Mac -- VERY easy to do, took only a few seconds for the software to isolate each "in focus" area of each pic, then combine them into a finished image.

I saved the image, and adjusted the colors a little with Picasa.

What you see below:
- "close" shot
- "midrange" shot
- "far" shot
- final combined image.
(Open and examine the final image full-sized)
Attached Images
File Type: jpg Image 1.JPG (1.18 MB, 13 views)
File Type: jpg Image 4.JPG (1.08 MB, 7 views)
File Type: jpg Image 7.JPG (997.1 KB, 6 views)
File Type: jpg Focus Result (B, 8, 4).jpg (807.5 KB, 21 views)
J.Albert1949 is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old 02-20-2019, 01:04 PM   #2
Dennis461
Engineer
 
Join Date: Jan 2018
Location: Atco, NJ....near the race track
Posts: 721
Scales Modeled: HO
Images: 11
Good job. I was getting ready to try this with a cab forward.
__________________
Electrical Engineer: Retired
Former SEPTA Regional Rail Division electrician
Dennis461 is online now   Reply With Quote
Old 02-21-2019, 03:26 PM   #3
J.Albert1949
Conductor
 
Join Date: Feb 2018
Location: Connecticut
Posts: 424
Here's another try:
(be sure to open full-sized)
Enginehouse 2.jpg
J.Albert1949 is offline   Reply With Quote
 
Old 02-22-2019, 01:39 AM   #4
Magic
Dispatcher
 
Magic's Avatar
 
Join Date: Jan 2014
Location: Reno Nv.
Posts: 1,914
Scales Modeled: HO 1950s Southern Pacific in So. California.
'49 the shot looks great but in order to evaluate it's improvement you need
something to compare it with.

A well focused single layer photo would be good.
I'm no photographer, even a well focused single layer would be a challenge for me.

Magic
__________________
The Magic RR build thread.
New layout starts at page 7.
https://www.modeltrainforum.com/showthread.php?t=22525
Magic is offline   Reply With Quote
Old 02-22-2019, 04:54 AM   #5
wvgca
Station Master
 
wvgca's Avatar
 
Join Date: Jan 2013
Location: yorkton, sask
Posts: 2,807
Scales Modeled: HO 1890's
Images: 42
for windows i use Picolay for image stacking, just once in a while though , not normally
__________________

wvgca is online now   Reply With Quote
Old 02-22-2019, 12:19 PM   #6
J.Albert1949
Conductor
 
Join Date: Feb 2018
Location: Connecticut
Posts: 424
Magic wrote:
"A well focused single layer photo would be good.
I'm no photographer, even a well focused single layer would be a challenge for me"


OK, here's another experiment.
For this exercise, I first took a "control photo" using the highest possible aperture -- 22.0.
I then took 6 shots at f9.5, using incremental focus "from front to back".
I then merged the 6 images.

I suggest you examine both images by right-clicking and opening them in a new window, then enlarge to maximum size.

Pay attention to the number and keystone logo on the locomotive, also on the two refrigerator cars in the background. Even the front of the truck parked at the feed mill.

Here is the "single shot" taken at f22.0:
Single image.jpg

Here is the merged image:
Merged Image.jpg

Which is more pleasing to the eye?
J.Albert1949 is offline   Reply With Quote
Old 02-23-2019, 02:09 AM   #7
Magic
Dispatcher
 
Magic's Avatar
 
Join Date: Jan 2014
Location: Reno Nv.
Posts: 1,914
Scales Modeled: HO 1950s Southern Pacific in So. California.
To my untrained eye both are very good but the second is a sharper
image throughout the entire scene. Sharper details even to the back drop.

Magic
__________________
The Magic RR build thread.
New layout starts at page 7.
https://www.modeltrainforum.com/showthread.php?t=22525
Magic is offline   Reply With Quote
Old 02-23-2019, 11:46 AM   #8
J.Albert1949
Conductor
 
Join Date: Feb 2018
Location: Connecticut
Posts: 424
Magic wrote:
"the second is a sharper image throughout the entire scene. Sharper details even to the back drop."

Yes, that was the point of taking several shots, with each shot focused at a different "distance from the camera", then merging them all into an image that combined the "most focused" portions of each shot.

The "backdrop" is just the old cellar wall that was plastered over and painted many years ago! Touch it and pieces flake and fall off!
J.Albert1949 is offline   Reply With Quote
Old 02-23-2019, 04:25 PM   #9
mesenteria
Dispatcher
 
mesenteria's Avatar
 
Join Date: Oct 2015
Location: Comox, BC
Posts: 1,389
If you would be interested, I found with my old Powershot that using the macro for the first one or two exposures really helps the final rendering with close-up focus. Here's an example of how good it can get. The pilot and handrail in this photo were about 2 cm in front of the camera lens. I used CombineZP, a freeware stacking program, to do this shot: Seven images stacked in all
mesenteria is online now   Reply With Quote
Old 03-05-2019, 12:07 PM   #10
J.Albert1949
Conductor
 
Join Date: Feb 2018
Location: Connecticut
Posts: 424
That's a superb photo, mesenteria.

Here's another focus-stacked image.
This one has 6 separate shots combined.

I believe that the app I used (Helicon focus) works best with the images "ordered" from front-to-back in terms of the focus point.

So this was a little trickier, because I had to select the 7617 for the first two shots, then the 8588 for a shot (the front was closer than the cab of the 7617, then back to the cab of the 7617, then two more towards the back of the 8588.

Again, choose to open the image in a new window, and then examine it full-sized (or download it, and open it with an image viewer for examination).

PRR engines.jpg
J.Albert1949 is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


» Visit These Sites:
LGB World

Or Our European Train Website ModelRailForum




All times are GMT -5. The time now is 07:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.