Hey T,
There are a couple of things you need to make sure you do to get Enfuse cranking with your alpha channels. First, you need to save your source images in a format that supports alpha channels (TIFF, PNG, TARGA). If you are taking your source images into Photoshop and adding an alpha there, remember to check the appropriate box to tell Photoshop to save the alpha channel! This is sometimes overlooked and can drive one crazy when trying to troubleshoot.
Next, consider using the command line version of Enfuse - it is really pretty straightforward, and in its most basic form you simply enter at the command line something like:
enfuse [Input_image_01] [Input_image_02] [Input_image_N] -o [output_image.extension]
Here is an example of the Terminal verbiage in OS X's Terminal:
KT-Laptop:dxo6 kirkt$ enfuse-openmp /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0002enfuse.tif /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0007enfuse.tif /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0010enfuse.tif -o default.tif
enfuse: info: input image "/Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0002enfuse.tif" does not have an alpha channel;
enfuse: info: assuming all pixels should contribute to the final image
enfuse: info: input image "/Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0007enfuse.tif" does not have an alpha channel;
enfuse: info: assuming all pixels should contribute to the final image
enfuse: info: input image "/Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0010enfuse.tif" does not have an alpha channel;
enfuse: info: assuming all pixels should contribute to the final image
enfuse: info: loading next image: /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0002enfuse.tif 1/1
enfuse: info: loading next image: /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0007enfuse.tif 1/1
enfuse: info: loading next image: /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0010enfuse.tif 1/1
Note that Enfuse tells you that it did not detect any alpha channels in the input images, so all pixels will be considered in the operation. "Enfuse-openmp" is a multiprocessor aware version of enfuse.
Here is the image set I used in this example:
Here is the result of the above, default Enfusion:
Note that the overall result is bright, but you can see detail in the outside trees in the window. I could tinker with the various Enfuse parameters to adjust the exposure, contrast and saturation emphasis in the blend, but for this example, we will just accept the defaults.
Now, let's say that I don't want that detail in the window area, taken from the darkest exposure - say I want the window portal to appear blown out (for whatever reason). So, I will create an alpha channel in the darkest exposure that I will paint black in the window area (to reject those pixels from consideration in the blend) and white everywhere else. This will force Enfuse to use pixels for that area from the lighter exposures, where that area is blown.
The red mask shows you the area that I created and filled with black to reject the window pixels. Here is the resulting alpha mask:
I saved this TIFF as a new version of the darkest exposure, this time with the alpha included. Now if I rerun Enfuse but use the alpha-equipped darkest exposure, here is what happens in the Terminal:
KT-Laptop:dxo6 kirkt$ enfuse-openmp /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0002enfuse-alpha.tif /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0007enfuse.tif /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0010enfuse.tif -o alphaout.tif
enfuse: warning: /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0002enfuse-alpha.tif: wrong data type 7 for "RichTIFFIPTC"; tag ignored
enfuse: info: input image "/Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0007enfuse.tif" does not have an alpha channel;
enfuse: info: assuming all pixels should contribute to the final image
enfuse: info: input image "/Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0010enfuse.tif" does not have an alpha channel;
enfuse: info: assuming all pixels should contribute to the final image
enfuse: info: loading next image: /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0002enfuse-alpha.tif 1/1
enfuse: info: loading next image: /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0007enfuse.tif 1/1
enfuse: info: loading next image: /Users/kirkt/Desktop/EnfuseTest/dxo6/_MG_0010enfuse.tif 1/1
and here is the resulting image:
Note the window area is now blown, as I desired.
Hope this helps.
kirk