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

Make function to match napari's labels colormap in shapes #168

Open
jni opened this issue Apr 13, 2022 · 0 comments
Open

Make function to match napari's labels colormap in shapes #168

jni opened this issue Apr 13, 2022 · 0 comments

Comments

@jni
Copy link
Owner

jni commented Apr 13, 2022

The 3D visualisation tutorial uses the spectral colormap together with random path labels to get a categorical visualisation. However, it would be convenient to make the categorical colormap match the napari labels colormap. One way to achieve this might be:

  • create the path feature table (skan.summarize)
  • add a column that uses napari's low_discrepancy_image to map the path_id + 1 to the same float that napari is using
  • use the napari labels colormap directly on the shapes layer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant