![]() If you’re happy with these results, then stop here. The nice thing about EnfuseGUI is that you can generate a fast preview of the results using the Preview button instead of a full run (this is very useful while you tweak parameters to see what type of effect they’ll have).ĮnfuseGUI preview of base focus stacking parameters. ![]() It should run reasonably quick, and you can investigate the results. You can actually go ahead and run it at this point to see what your output will look like. ![]() These options will not be changed as you dial in your focus stacking parameters. The same options entered in EnfuseGUI are located at “Fusion options”:īase focus stacking parameters in EnfuseGUI.Įxposure and Saturation weighting should be set to 0, while Contrast weighting should be set to 1 and Force hard blend masks should be checked. In particular, they refer to a bare-bones call for Enfuse to stack the images: enfuse \ I’ll cover both here just to be thorough.įrom the manual for Enfuse, there is a section that specifically addresses focus stacking. This is exactly what we are going to get Enfuse to do for us.Įnfuse can be run from the command line (the same bin/ directory where align_image_stacks was located) as part of a Hugin installation, or there is a GUI called EnfuseGUI that will expose all the options along with fast previews. These are your newly aligned output images, and will be what we work with from here on out.Īt this point you’ve got your images aligned perfectly (hopefully), and now all that is left is to mask each image so only the sharpest, in-focus portions show through. When it’s done, you’ll have a few new images in your directory named OUT000#.tif. The -a OUT will prefix all the output files as OUT…tif, and FILE1 FILE2 etc… are the names of each of your focus stacked images you are starting with. The -m switch will optimize the field of view for all images except the first. Open a command prompt, and navigate to that directory.Īssuming your Hugin installed in the same place as mine, you can run the command as I show above. To follow along, basically, put all of your focus stacked images into a single directory. It will look something like this (on Windows at the moment, so this is what the Windows command will look like on my machine):Ĭ:\Program Files\Hugin\bin\align_image_stack -m -a OUT FILE1 FILE2 FILE3ĭon’t Panic. Once installed, you can invoke the align_image_stack script from the bin/ directory of wherever you installed Hugin. To follow along with any of this, you’ll need to install it anyway - so go do that now. Hugin is a really useful tool to have installed if you haven’t already. To do this, we’re going to use align_image_stack from Hugin. Well, Enfuse will work best if the images that are going to be combined are all as perfectly aligned as possible. First, though, we need to make sure the images are properly aligned first… Well, we’re going to use the open source Enfuse to do this dirty work for us. ![]() How can you combine them all into one image where the different in-focus areas are all combined? The problem, of course, is that you now have multiple images, all with different focus planes. Look again at the lead image, and specifically notice how the focus plane shifts along the length of the gun body.īasically, compose and capture an image with the focus at one point, then focus a little further into your image, repeat as often as needed to have the range you want all in focus. So, what if you want a deeper depth of field in your shots? Well, there’s a neat technique called “ Focus Stacking” where you will take multiple images, with the only thing that varies between them is the focal point. You can alleviate it a bit by closing down the aperture a bit, but at some point you’ll hit diffraction limits (and reduced sharpness). The problem, if you haven’t done macro photography before, is that the depth of field will become razor-thin. Well, I couldn’t help but snap a couple of macro shots of my trusty Warhammer 40k Space Marine to play with this newfangled lens. This article is about focus stacking, for exposure blending, see here:Īutomatic Exposure Blending with Enfuse (HDR-ish) Water-resistant (to match the camera), and a neat macro function! Deciding to stay with the µ 4⁄ 3 rds (or ♔3 rds, or micro four-thirds - I just wanted to play with some HTML entity codes), I found a really tasty new Olympus OM-D E-M5 waiting for me for Christmas! In deciding which kit lens to go ahead and get with it, the Olympus M.ZUIKO DIGITAL ED 12-50mm F3.5-6.3 EZ was a no brainer. I recently got a new camera to update my aging (gracefully!) Olympus E-P1. 8 min read Focus Stacking Macro Photos (Enfuse)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |