focus stacking tutorial using Linux and Enfuse











>> YOUR LINK HERE: ___ http://youtube.com/watch?v=4sIgiJqiZYU

#thanks to Pat David Blog • http://blog.patdavid.net/2013/01/focu... • #directory listing files • dir • #align images • align_image_stack -m -a OUT P8116868.JPG P8116869.JPG P8116870.JPG P8116871.JPG P8116872.JPG • #option 1 focus stack • enfuse --exposure-weight=0 --saturation-weight=0 --contrast-weight=1 --hard-mask --output=baseOpt1.tif OUT*.tif • #option 2 greyscale focus stack (best) • enfuse --exposure-weight=0 --saturation-weight=0 --contrast-weight=1 --hard-mask --gray-projector=l-star --output=baseOpt2.tif OUT*.tif • #option 3 remove halo focus stack • enfuse --exposure-weight=0 --saturation-weight=0 --contrast-weight=1 --hard-mask --contrast-window-size=5 --output=baseOpt3.tif OUT*.tif • #option 4 increase contrast focus stack • enfuse --exposure-weight=0 --saturation-weight=0 --contrast-weight=1 --hard-mask --contrast-edge-scale=0.3 --output=baseOpt4.tif OUT*.tif • Image at flickr - https://flic.kr/p/KVNksV • Lens - Panasonic 25mm f1.4 cctv, c-mount • Camera - Olympus OMD E-M5, high resolution mode, Digital Teleconverter on • OS - Linux Mint 17 Mate • Software - Hugin ver 2013 • • video captions; • hello and welcome to a tutorial on focus stacking, on linux, using Enfuse • focus stacking is taking a series of images with different focal points and combining them to produce a greater depth of field, normally applied to macro photography • you can see the different images of this ball point pen have slightly different focus points • Enfuse comes with Hugin, if you install Hugin you should be right. I have had various attempts at focus stacking using the hugin GUI but the results have been mixed • and mostly bad, I just can't get it to work as well as I can using Enfuse via the terminal. • Now the person I have to thank for these instructions is Pat David. He has a very good web page dedicated to focus stacking using Enfuse with Windows, I have borrowed his commands with only slight modification to make them work in a linux terminal. Thanks again Pat David. • I have copied and pasted the linux commands into a text file. Each time I do a focus stack I only need to change the file names of the images. • First step open terminal in the folder where your images are kept. • I do a dir command to list my photos in the directory which I then copy and paste in to the text file. • The first command we run, by copy and pasting back into terminal, is align images. This will create a copy of each image, in a tif file, which accounts for hand held shake, or any other movements. It basically remaps each image and makes a copy call out Out. • If you are having trouble opening terminal in the folder where your images are stored, or if you can't navigate there, just put your photos in your home folder where terminal opens by default. I am using caja and linux mint, it has a right click open terminal in folder feature which is really convenient and fast to open a terminal anywhere. • After aligning the images the last step is to to focus stack them, I have found so far that option 2 works best for me, you can try which ever ones you like, but you only need one. Copy and paste it into your terminal. • This creates a single file called base. • Hopefully the end result is a clean and crisp focus stacked image. • Just comparing here the final image with the original images you can see in the larger depth of field and in focus area you get with the stacked image. • Best of luck, I'll leave plenty of notes in the text.

#############################









Content Report
Youtor.org / YTube video Downloader © 2025

created by www.youtor.org