This is an old revision of the document!
morphologicalOperations
Usage
This logic applies mathematical morphology operators onto the data. As input, a (stack of) binary or grayscale image(s) is possible. The respecitve effect of each operator is described below.
Example
Here, a very specific example should be given/described. In the future, this can be supported by screenshots etc.. For the moment, give an example easy enough for the user to understand, but specific enough to elaborate why a given parameter is a good set for this very situation.
Operators
Closing
Dilation
The basic effect of Dilation is to enlarge boundaries of regions of foreground pixels (1's). Thus areas of foreground pixels grow in size and wholes within those regions shrink. A typical kernel used during Dilation consists of a 3×3 mask containing all 1’s. However, every other size and pattern may be used.
Erosion
Erosion performs the mathematical morphology operator called Erosion. It must be applied to a binary or grayscale image. Its basic effect is to shrink boundaries of regions of foreground pixels (1's). Thus areas of foreground pixels shrink in size and wholes within those regions grow.
Erosion
Parameters | Description |
---|---|
Input image format | This value can either be set to binary or grayscale. Choose according to the input data format. |
binary | Sets the input format to binary (only 0 and 1 as values). |
grayscale | Sets the input format to floating point grayscale. |
Input | Description |
---|---|
input1 | Stack of input images, binary or grayscale are accepted if the corresponding format is chosen. |
input2 | This input holds the kernel used during the morphology operator. |
Output | Description |
---|---|
output | Images after application of the operation. |
Concept
In this paragraph, the “HOW a logic works under the hood” and WHY someone should use it can be elaborated with higher detail. Describes a scenario in an image processing workflow where this logic can be used to solve the resulting problem. Also, wikipages, publications or anything else describing the theory behind an algorithm should be linked here, if applicable.