Is your feature request related to a problem? Please describe.
Currently, atlas annotations display as a labels layer with the default colourmap, but some atlases contain a predefined colour for each region. It would be nice if users had the option to display the annotations with the built-in colours.
Describe the solution you'd like
By default (?, see alternatives) annotations are displayed with the atlas' colour map when they are added to the napari viewer.
Describe alternatives you've considered
Would we need a switch to allow users to use the napari default map: some atlases don't have a good colour map?
Additional context
Zulip discussion related to this, with sample code
From memory, I expect code changes to go in NapariAtlasRepresentation.add_to_viewer function, maybe with a helper function to figure out the colourmap.
Is your feature request related to a problem? Please describe.
Currently, atlas annotations display as a labels layer with the default colourmap, but some atlases contain a predefined colour for each region. It would be nice if users had the option to display the annotations with the built-in colours.
Describe the solution you'd like
By default (?, see alternatives) annotations are displayed with the atlas' colour map when they are added to the napari viewer.
Describe alternatives you've considered
Would we need a switch to allow users to use the napari default map: some atlases don't have a good colour map?
Additional context
Zulip discussion related to this, with sample code
From memory, I expect code changes to go in
NapariAtlasRepresentation.add_to_viewerfunction, maybe with a helper function to figure out the colourmap.