organoid_tracker.core.image_coloring module

organoid_tracker.core.image_coloring.get_colormap(name: Optional[str]) Colormap

Load a colormap by name. If the name is not in the allowed list, the gray colormap will be returned.

Note that these colormaps can be different from the built-in Matplotlib colormaps. For example, “green” returns a colormap that goes from black to pure green (#00FF00), while Matplotlib’s “Greens” colormap goes from white to another shade of green.

organoid_tracker.core.image_coloring.get_segmentation_colormap() Colormap

Get the colormap for segmentation masks.