Hi,
I'm having a few relatively large string-based labeling images that I would like to scale down for saving and further analysis. As far as I can tell there is no "Labeling Resizer" node, and the Image Resizer doesn't work on labelings.
I tried chaining the Labeling to Image, Image Resizer and Image to Labeling nodes, but unfortunately this will change the labels back to arbitrary numbers that I cannot relate to the original labels. I can think of two ways to achieve my goal:
- Change the labeling back to a numbered labeling: the Label Transformer node doesn't allow to go this way, does it?
- Save a mapping of (string labels=>numbers) while converting to an image. The Labeling to Image node doesn't have this option.
Any hints how I can achieve this?
Thx,
Jan