Threshold (Auto)
This method performs an automatic gray value segmentation. The function calculates the two minimums in the individual channels in the gray value histogram of the input image (Input) and uses these for the segmentation.
|
Parameter |
Description |
|
|---|---|---|
|
Method |
Only visible if Show All is activated. |
|
|
- |
Otsu |
For all possible threshold values, the Otsu method calculates the variance of intensities on each side of the respective threshold. It minimizes the sum of the variances for the background and the foreground. |
|
- |
Maximum Peak |
Separates background and foreground pixels at the maximum value of the histogram. |
|
- |
Iso Data |
The threshold value lies in the middle between two maximums in the histogram. |
|
- |
Triangle Threshold |
The threshold value is calculated from the sum of the average and three times the sigma value of the histogram distribution. |
|
- |
Three Sigma Threshold |
|
|
Parameter |
Description |
|---|---|
|
Create Binary |
Activated: The resulting image is a binary image. Pixels within the calculated gray level range are set to the maximum gray value (white), whilst pixels outside it are set to the gray value 0. Deactivated: The resulting image is of the same type as the input image. Pixels within the calculated gray level range are set to the original gray value. Pixels outside it are set to 0. |
|
Invert Result |
Activated: Inverts the effect of the function. The segmented regions will be given the value 0, and all other pixels the gray value white or the gray value/color of the input image. |