mlexchange / mlex_highres_segmentation

A Dash interface for ML-based segmentation of user-annotated large multi-dimensional image data
Other
5 stars 4 forks source link

Colormap for segmented results needs to respect user selections #169

Closed Wiebke closed 8 months ago

Wiebke commented 8 months ago

Currently, the segmentation overlay uses a default colormap, this needs to instead be a list of the colors of the user-chosen classes.

https://github.com/mlexchange/mlex_highres_segmentation/blob/26a8dcb8b6a6258f3a1d93b59d90e03a0ed3ba99/callbacks/image_viewer.py#L134-L136