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

omero metadata info used in napari #79

Open
giovp opened this issue Feb 20, 2023 · 1 comment
Open

omero metadata info used in napari #79

giovp opened this issue Feb 20, 2023 · 1 comment

Comments

@giovp
Copy link

giovp commented Feb 20, 2023

general question, but what's the scope of support of omero metadata for this napari plugin? I'm thinking for instance of:

  • channel ID, saved in omero metadata labels that could set the napari layer name
  • channel color, saved in omero metadata color that sets the napari layer color

there might be more info on rendering that could be used by napari layers (I'd be curious to know which ones).
I think it'd be useful to have a functionality that parse omero metadata and set layer properties in napari accordingly.

@melonora
Copy link

melonora commented Feb 20, 2023

As far as I can tell most info could be used by Napari, if not by layers then by the LayerList.

active (in napari could mean 2 things): viewer.layers[].visible or viewer.layers.selection.active. (latter is whether it is the actively selected layer).
family: either viewer.layers[].interpolation2d or viewer.layers[].interpolation3d.
window: start and end I believe correspond to the contrast limits in napari.
In rdefs the projection can be set in napari as well.

Also you could say that if in rdefs model is set to color and there is a value for EmissionWave in Napari colormaps could be used. For example if the Emissionwave is cy3 this would correspond to orange, if DAPI then blue and so on.

If this were to be implemented then perhaps the easiest would be to use Enums.

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

2 participants