Enfuse can substitute for the fusion stage of focus-stack when prepared images and a command-line workflow are acceptable. The assessment does not include focus-stack's integrated alignment behavior or an interactive retouching workspace. Keep image preparation separate from fusion, and compare fine structures and noise before accepting a change in processing tools.[1][4][5]
Overview
Enfuse is a command-line image-fusion program distributed with the Enblend project. It can combine differently exposed photographs without first constructing an HDR radiance image, and can also fuse appropriately prepared focus stacks. It is a processing component rather than a complete graphical capture, retouching and catalog application.[2][3]
Exposure fusion and focus fusion
The program weights source pixels by criteria such as exposure, saturation and contrast. Exposure fusion aims to combine useful tonal regions into a displayable photograph; focus fusion instead needs settings that favor sharp local detail. These related operations should not be conflated with panorama alignment or with creating a radiometrically meaningful HDR master. The project documentation identifies focus stacking as another use of the fusion stage.[3]
Hard masks and visual trade-offs
The weighting documentation explains why ordinary averaging can soften a focus-stacked image. Hard masks select a winning contribution instead of averaging at the relevant stage, which can retain sharp structures but gives up the noise-reduction benefit of averaging. This is a deliberate processing trade-off. A sharper boundary does not establish that noise, halos or all other artifacts have disappeared.[4]
Output and mask control
The packaged 4.2 manual documents adjustable fusion weights, blend color space, output bit depth and saved or reloaded weight masks. Those masks support inspecting and revising the fusion decision. Retaining source images, masks and chosen options is therefore more useful for later reproduction than keeping only the final TIFF. The command-line interface also means that any graphical front end must be evaluated as a separate integration.[1]
Distribution and license
Enfuse is released under GPL version 2 or later. The upstream project lists Linux, Windows and BSD, while Debian supplies a packaged 4.2 manual. The older PanoTools page contains historical syntax and development notes, so current package documentation should govern actual options. Package availability does not establish identical dependency versions or behavior on every operating system.[1][2][3]
Capabilities & limitations
Focus-oriented fusion
supported
Contrast weighting and hard masks support focus stacks with a documented noise trade-off.[1][4]