mask_outline_overlay#

omnipose.utils.mask_outline_overlay(img, masks, outlines, mono=None)[source]#

Apply a color overlay to a grayscale image based on a label matrix. mono is a single color to use. Otherwise, N sinebow colors are used.