knip
knip copied to clipboard
Image Viewer: Label values of 0 are indistinguishable from empty labels
In the Image Viewer node, labelings that have a label value of [0] (that you get e.g. when using a Create Labeling aggregation and using an Integer column for the labels) are shown in white and are indistinguishable from the EmptyLabel white background. Also, overlapping labels [0; 1] are indistinguishable from label [1].
The Randomize Label Colors function doesn't change the white color of 0 labels.
In the Interactive Segmentation View, everything works as expected (even without using an Image column), i.e. 0 labels have random colors.
Unfortunately I can't reproduce this bug.
What I did:
- Add a label with Interactive Annotator.
- Use Label Transformer and set label to 0. (probably still a string label)
- Crop label with Segment Cropper.
- Use GroupBy and create a labeling with inttype labels.
Result in Image Viewer:

Ok, I tried to build an example workflow and encountered yet another related bug.
Here's my workflow: Label 0 Bug.zip
When I use Annotator > Feature Calculator > GroupBy with Integer labels, the labeling with value 0 extends to the full image dimensions:

When joining labels with offsets from other sources, I get the behavior described in the above post:

Wow! That is "fascinating". I will investigate. Thanks for reporting.
Any news on this?
The issue is still the same with KNIME Image Processing 1.6.1.201806190602.
@tibuch did you ever get around to investigating this? 😉 😆