Voronoi-Otsu-Labeling on binary images
The Voronoi-Otsu-Labeling algorithm can also be used on binary images, leading to similar results like the binary watershed in ImageJ. It splits roundish objects in case they stick together.
To demonstrate this, we start wit a binary image.
|
nsbatwm made image
shape | (254, 256) |
dtype | int32 |
size | 254.0 kB |
min | 0 | max | 1 |
|
We now apply Voronoi-Otsu-Labeling to the binary image.
|
nsbatwm made image
shape | (254, 256) |
dtype | int32 |
size | 254.0 kB |
min | 0 | max | 67 |
|
Exercise
Below you see the result of the Watershed in ImageJ. How do you need to modify the label_image
result above to turn it again into a binary image like the result of ImageJ?
|
shape | (254, 256) |
dtype | uint8 |
size | 63.5 kB |
min | 0 | max | 255 |
|