| genre | Scale |
| status | stable |
| author | Horst Hahn |
| package | MeVisLab/Standard |
| dll | MLGeometry1 |
| definition | MLGeometry1.def |
| see also | BitMorphology, IntervalThresh |
| keywords | bone, segmentation, bit, morphology, watershed, transformation, mask |
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).
Note: this module does not work with floating point datatypes.
| Apply: Trigger |
| Auto: Bool |
| Background (inBG): Integer |
| Background (outBG): Integer |
| Datatype: Enum |
| Mode (inMode): Enum |
| Mode (outMode): Enum |
| Output Object Min.: Integer |
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. |
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. |