(napari is so useful I’m finding a third platform to ask questions)
viewer.add_labels in the normal way to view segmentations etc., and the random colors work nicely. However, I also want to use it to overlay lines (as a specific color) onto the image. The lines are actually a binary image, and so (I think) I can choose between:
viewer.add_imagewhich allows me to choose a colormap, but then I have to play around with opacity etc to see the image beneath the
viewer.add_labels, which draws the lines nicely, without worrying about opacity of the
0elements, but I have to shuffle colors to get one that works for me.
Is there a way of using
viewer.add_labels view a single “label” and specify the color (or another way to get what I need)?