tumourkit.segmentation.hovernet.misc.viz_utils.colorize

tumourkit.segmentation.hovernet.misc.viz_utils.colorize(ch, vmin, vmax)

Will clamp value value outside the provided range to vmax and vmin.