tumourkit.segmentation.hovernet.misc.viz_utils.random_colors

tumourkit.segmentation.hovernet.misc.viz_utils.random_colors(N, bright=True)

Generate random colors.

To get visually distinct colors, generate them in HSV space then convert to RGB.