SeparateBits¶
-
MLModule
¶ genre Scale
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLVolumetry
definition MLVolumetry.def see also BitMorphology
,IntervalThreshold
keywords bone
,segmentation
,morphology
,watershed
,transformation
,mask
Purpose¶
The module SeparateBits
analyzes the input image according to all occuring gray levels. Each gray level is then transformed to a power of 2.
With such operation, segmentation masks that are encoded as different gray levels in an integer image are split on separate bits. Accordingly, the segmentation masks can be morphologically modified using the BitMorphology
module (Dilation, Erosion, and by sequential use of two operators also Opening and Closing).
Details¶
Note: this module does not work with floating point datatypes.
Parameter Fields¶
Field Index¶
Apply : Trigger |
Auto : Bool |
Background (inBG) : Integer |
Background (outBG) : Integer |
Datatype : Enum |
Mode (inMode) : Enum |
Mode (outMode) : Enum |
Output Object Min. : Integer |
Visible Fields¶
Background (inBG)¶
Background (outBG)¶
Output Object Min.¶
Mode (inMode)¶
-
name:
inMode
, type:
Enum
, default:
normal
, deprecated name:
InputMode
¶ Defines the criterion how the membership of a voxel is determined.
Values:
Title | Name | Description |
---|---|---|
normal | normal | Each gray value that occurs in the input histogram (except Background ) are treated as objects |
bit separate (LSB) | bit separate (LSB) | If multiple bits are set, the least significant bit (LSB) decides on the object membership. |
bit separate (MSB) | bit separate (MSB) | If multiple bits are set, the most significant bit (MSB) decides on the object membership. |
Mode (outMode)¶
-
name:
outMode
, type:
Enum
, default:
bit separate
, deprecated name:
OutputMode
¶ Defines the coding of the output voxel values.
Values:
Title | Name | Description |
---|---|---|
sequential | sequential | Different input gray levels are coded sequentially starting from Output Object Min. . |
bit separate | bit separate | Different input gray levels are coded as sequential powers of 2: 1, 2, 4, 8, etc. This mode assures that only one bit is set in each voxel. |