| genre | Morphology |
| status | stable |
| authors | Horst Hahn, Sven Hansen, Wolf Spindler |
| package | MeVisLab/Standard |
| dll | MLKernel |
| definition | MLKernel.def |
| see also | SeparateBits, Convolution, ExtendedConvolution, Rank, KernelEditor, Morphology, LoG, StandardDeviation |
| keywords | dilation, erosion, opening, open, closing, close, minimum, maximum, enhance, kernel, input, filter, interval, sphere, spherical, structure, element, parallel, bone |
The module BitMorphology implements dilation and erosion filters that act separately on single bits.
With such operation, 8, 16, or 32 independent objects can be modified simultaneously based on a binary representation as stored in the respective data bit.
Note: These operations are not applicable to floating point data.
The influence of certain objects to the filtering itself can be avoided by excluding the corresponding voxels from the kernel.
An implementation of the operations opening and closing can be achieved by using two morphology filters performing an erosion and then a dilation, respectively dilation and then a erosion.
| Border Handling: Enum | KernelY: Integer |
| External Kernel: String | KernelZ: Integer |
| Fill Value: Double | Make kernel spherical: Bool |
| is: String | Num. Elements: Integer |
| KernelC: Integer | referenceExtentMode: Enum |
| KernelT: Integer | Use: Enum |
| KernelU: Integer | Use External Kernel: Bool |
| KernelX: Integer |
Defines the border handling mode.
See Border Handling in Kernel Operations for details.
Values:
| Title | Name |
|---|---|
| No Pad | NoPad |
| Pad Src Fill | PadSrcFill |
| Pad Dst Fill | PadDstFill |
| Pad Dst Fill With Orig | PadDstFillWithOrig |
| Pad Src Undefined | PadSrcUndefined |
| Pad Dst Undefined | PadDstUndefined |
| Pad Src Clamp | PadSrcClamp |
Sets the fill value for certain Border Handling modes.
Sets the x-extent of the kernel.
Sets the y-extent of the kernel.
Sets the z-extent of the kernel.
Sets the c-extent of the kernel.
Sets the t-extent of the kernel.
Sets the u-extent of the kernel.
If checked, the used kernel is a spherical kernel, not a rectangular one.
Sets an external kernel as a string.
Use the module KernelEditor for editing the kernel or set the kernel by scripting.
If checked, the optionally attached External Kernel is used.
Shows information about the used kernel.
Shows the number of kernel elements.
Defines the used filter.
Values:
| Title | Name | Description |
|---|---|---|
| Id | Id | The filtered area is just copied. Note that the border handling is still performed. |
| Bit Dilation | BitDilation | For all kernel elements a bit wise OR operation is performed on the corresponding image values. This is equivalent to a dilation on all bits separately from each other. |
| Bit Erosion | BitErosion | For all kernel elements a bit wise AND operation is performed on the corresponding image values. This is equivalent to an erosion on all bits separately from each other. |