Focus stack
Focuses a Z-stack into a single plane using the StackFocuser Fiji plugin.
Description
Focuses a Z-stack into a single plane using the StackFocuser Fiji plugin. Best focus position is determined at each 2D pixel location, with the final image being comprised of the pixels from the slice with the best focus at that location. Each channel and timepoint is focused separately. Prior to application, the focus map can be median filtered to remove outliers. Height maps can be stored and used in additional "Focus stack" instances, thus allowing height maps to be edited prior to use.
Uses the StackFocuser plugin created by Mikhail Umorin (source code downloaded on 06-June-2018).
Parameters
Parameter | Description |
Input image | Image stack from the workspace which will be focused into a single plane. |
Output focused image | Output focused image which will be added to the workspace. This image will have the same number of channels and timepoints as the input image, but will always only have a single Z-slice. |
Add height map image to workspace | When selected, the height map image will be added to the workspace with the name specified by "Output height image". Since the height map image can be used as an input to the "FocusStack" module, the height map can be edited prior to being used to generate a focused image. |
Output height image | If "Add height map image to workspace" is selected, the height map will be added to the workspace with this name. The height map image has a single slice and equal number of channels and timepoints to the input image. The value of each pixel corresponds to the best-focused Z-position of the input stack. Slice indices are zero-indexed (i.e. first slice has an index of 0). |
Use existing height image | When selected, the height map image will be loaded from the workspace ("Input height image" parameter) rather than being calculated based on the input image. |
Input height image | The name of the height map image in the workspace if the height map has been pre-determined. |
Range | If calculating a new height image ("Use existing height image" parameter isn't selected), the best focus slice at each pixel will be based on pixel intensities within this range (specified in pixel units). |
Smooth height map | When selected, the height map will be passed through a 2D median filter (range specified by "Range" parameter) to remove outliers. |