Extended minima/maxima

Detects extended minima or maxima in a specified input image.

Description

Detects extended minima or maxima in a specified input image.

As described in the MorphoLibJ documentation: "Extended maxima are defined as a connected region containing elements such that the difference of the value of each element within the region with the maximal value within the region is lower than the tolerance, and such that the neighbors of the regions all have values smaller than the maximum within the region minus the tolerance. This definition allows the identification of larger extrema, that better takes into account the noise within the image. The extended minima are defined in a similar way, and are efficiently used as pre-processing step for watershed segmentation.".

This module uses the plugin "MorphoLibJ".

Parameters

ParameterDescription
Input imageImage from workspace to apply extended minima operation to.
Apply to input imageWhen selected, the post-operation image will overwrite the input image in the workspace. Otherwise, the image will be saved to the workspace with the name specified by the "Output image" parameter.
Output imageIf "Apply to input image" is not selected, the post-operation image will be saved to the workspace with this name. This image will be 8-bit with binary logic determined by the "Binary logic" parameter.
Minima/maximaControls whether the module will detect minima or maxima in the input intensity image
DynamicThis parameter specifies the maximum permitted pixel intensity difference for a single minima. Local intensity differences greater than this will result in creation of more minima. The smaller the dynamic value is, the more minima will be created. As the dynamic value increases, minima will increase in size.
ConnectivityControls which adjacent pixels are considered:
  • "6" Only pixels immediately next to the active pixel are considered. These are the pixels on the four "cardinal" directions plus the pixels immediately above and below the current pixel. If working in 2D, 4-way connectivity is used.
  • "26" In addition to the core 6-pixels, all immediately diagonal pixels are used. If working in 2D, 8-way connectivity is used.
Binary logicControls whether objects are considered to be white (255 intensity) on a black (0 intensity) background, or black on a white background.
Enable multithreadingProcess multiple 3D stacks simultaneously. Since the extended minima operation is applied on a single 3D stack at a time, multithreading only works for images with multiple channels or timepoints (other stacks will still work, but won't see a speed improvement). This can provide a speed improvement when working on a computer with a multi-core CPU.