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 'Label' inference to reading with ndev-reader #141

Open
TimMonko opened this issue Dec 27, 2024 · 0 comments
Open

add 'Label' inference to reading with ndev-reader #141

TimMonko opened this issue Dec 27, 2024 · 0 comments

Comments

@TimMonko
Copy link
Owner

TimMonko commented Dec 27, 2024

Most likely, infer from something opinionated like 'labels', 'masks', etc., in metadata (likely BioImage.channel_names) that something is a labels layer, and instead add as a layer label. Also, add a default opacity (likely 70%, to match napari default) to these added labels.

Consider also that something like a uint image with a max of 1 represents a binary image, and read as a labels. Not sure if a data-approach can be used for others, since both labels and images share the same dtypes frequently -- maybe u/int32/64 are safe?

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