Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Use colours provided by bg-atlasapi to render annotation labels #114

Open
alessandrofelder opened this issue Nov 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@alessandrofelder
Copy link
Member

alessandrofelder commented Nov 13, 2023

Is your feature request related to a problem? Please describe.
Some atlases, such as the Allen Mouse, provide colours for each of the regions of the annotations. We currently use these to colour the meshes, but not the annotation.

Describe the solution you'd like
We could use DIRECT colour mode for the napari labels layer to map the atlas colours to the annotation.

Describe alternatives you've considered
n/a

Additional context
Might be good to double-check rendering performance in napari if/when we implement this. See napari/napari#6397 - @Czaki kindly warned us that the fix for this may not help with DIRECT color mode.

@alessandrofelder alessandrofelder added the enhancement New feature or request label Nov 13, 2023
@Czaki
Copy link

Czaki commented Nov 13, 2023

the napari/napari#6439 is fix for direct color mode

@alessandrofelder
Copy link
Member Author

alessandrofelder commented Nov 13, 2023

Ah, even better, then :) thank you @Czaki !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants