Creates transparent overlays from pasted images or the result of a filter operation.
This ImageJ plugin filter applies an Alpha Channel immediately after a paste or filter operation. The output is a blend of the original and the result of the filter/paste operation preceding the call of this plugin, with the weight of the filtered/pasted image given by an 'alpha channel' image.
After running 'Alpha Channel', what looks like a transparent overlay is actually part of the image and not a separate layer!
Note that one could also use an alpha channel image with sharp edges (binary image) and create the soft edges by a nonzero value of 'Smooth Radius'
Range of Alpha Channel defines the range of the alpha channel pixels (not taking any value calibration into account). In other words, the filtered/pasted image is transparent if the alpha channel is 0 and fully opaque if the alpha channel is 100% of 'range'. Use a range larger than the actual pixel range to make the filtered/pasted image transparent even in places where the alpha channel reaches its maximum value.
The alpha channel can be modified before applying it:
increases the area by up to 20 pixels. Enter a negative number to shrink it. See Process>Filters>Show Circular Masks
for the kernel sizes as a function of this value.
Use this plugin immediately after the filter or paste operation.
When using this plugin, it is advisable to have the “Keep multiple undo buffers” option enabled in Edit>Options>Memory & Threads. Otherwise it can happen too easily that the undo buffer (where the previous version of the image is stored) becomes lost, e.g. if you bring the alpha channel or any other image to the foreground before running this plugin. If this happens, the plugin won't work any more.
After running this plugin, undo still reverts to the state before the previous filter or paste operation.
Back to top
into the ImageJ plugins folder or a subfolder thereof. Make sure that you name the downloaded file ”Alpha_Channel.java”; uppercase/lowercase matters.