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

Add page describing data types of labels layers and their implications #361

Open
jni opened this issue Feb 29, 2024 · 0 comments
Open

Add page describing data types of labels layers and their implications #361

jni opened this issue Feb 29, 2024 · 0 comments
Labels
content Ideas for new or improved content

Comments

@jni
Copy link
Member

jni commented Feb 29, 2024

📚 New content request

While discussing napari/napari#6695 in the PR party we noted that users might not know the implications of that setting, and in general the implications of using different data types for the labels layers. Specifically:

  • the bit depth determines the memory usage, and can result in an 8x difference in RAM usage
  • in napari in particular, uint8 and uint16 have much better performance when slicing/refreshing because of implementation details
  • but bit depth also limits the maximum label number

Once this page is done, ideally, we would add a link to it in the description of the new labels dtype preference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Ideas for new or improved content
Projects
Development

No branches or pull requests

1 participant