Mask Generators panel

The Mask Generators panel is a feature that provides several methods for automatic mask generation. It allows users to generate masks automatically based on specific criteria or algorithms. These masks can then be used for various purposes, such as segmentation or selecting specific areas of interest (see more about masks)

Back to Index --> User Guide --> Panels

 

Contents

Common fields

There are several common fields that do not depend on type of the selected mask generator.

3. The Do it button:

 

Frangi Filter

Hessian based Frangi Vesselness filter, written by Marc Schrijver and Dirk-Jan Kroon. This function uses the eigenvectors of the Hessian to compute the likeliness of an image region to contain vessels or other image ridges, according to the method described by Frangi 1998, 2001.

Note, to work properly this function should be compiled. See details in System Requirements

Parameters:

  • Range, the range of sigmas used, default [1-6]
  • Ratio, step size between sigmas, default [2]
  • beta1, the Frangi correction constant, default [0.9]
  • beta2, the Frangi correction constant, default [15]
  • beta3, the Frangi vesselness constant which gives the threshold between eigenvalues of noise and vessel structure. A thumb rule is dividing the the greyvalues of the vessels by 4 till 6, default [500];
  • B/W threshold, defines thresholding parameter for generation of the Mask layer. When set to 0 results in the filtered instead of binary image.
  • Object size limit, after the run of the Frangi filter removes all 2D objects that are smaller than this value.
  • [✓] Black on white checkbox, if checked, detects black ridges on white background.

Morphological filters

Set of MATLAB based morphological filters.

Strel Filter

Generate mask based on morphological image opening and black-and-white thresholding. The function first performs morphological bottom-hat ([✓] Black on white is checked) or top-hat ([✓] Black on white is unchecked) filtering of the image. The top-hat filtering computes the morphological opening of the image (using imopen) and then subtracts the result from the original image. The result is then black and white thresholded with parameter in the B/W threshold edit box.

  1. Strel size, defines size of the structural element (disk type) for imtophat and imbothat filtering.
  2. The [✓] Fill checkbox, check it to fill holes in the resulted Mask image.
  3. B/W threshold, specifies parameter for the black and white thresholding.
  4. Size limit, limits the size of generated 2D objects so that objects smaller than this value are removed from the Mask during the filter run.
  5. The [✓] Black on white checkbox, when checked, the filter will use morphological bottom-hat filtering (imbothat). When unchecked - morphological top-hat filtering (imtophat).

Back to Index --> User Guide --> Panels