-
Notifications
You must be signed in to change notification settings - Fork 12
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
Use plugins to save ROIs to OMERO #20
Comments
Having looked at this a bit more, I see that the main issue is that a newly created Shapes or Labels layer won't have any OMERO Image:ID metadata associated with it, so that the plugin won't know where to save the ROIs. Maybe that's what @tlambert03 meant with "it may not be immediately straightforward at the moment". The way that the current One alternative is that the omero reader plugin could return extra Any thoughts? |
The alternative would be for the layer saver to be able to detect the image(s) which the layer is on, get it's metadata, and see that it should be saved to OMERO ??
I would have thought with #16 we'd have IDs for images opened from the tree. |
Yeah exactly. I have a local branch where I had started to implement writer plugins for ROIs, and realized that the current code was making the assumption that we only ever had a single image open, and that it had been loaded via the plugin. That's what prompted the #14 (comment) that led to #16. I'd like to do this in as general of a way as possible ... meaning you should be able to load a naive image (not from OMERO), create a new layer with annotations, and then save them to OMERO. but that of course requires a lot more user input than the napari plugin architecture is capable of collecting at the moment. We can attack this from the napari side as well, but in the meantime, I was envisioning "cheating" a bit and opening a GUI that would prompt the user to complete any missing information such as which open Image to associate the ROI with (and if that image is not already on OMERO, save it to a user-specified destination on OMERO... or if we have some images with IDs in their metadata from #16, we can offer those in a dropdown) This would be similar to what I'm doing with the reader plugin here. Note that if you run It's a fair amount of work to create those GUIs, but I think I have a clear view of how it could all work in a general way. We should start with #16 though (even if it's just |
Also want to point out that in addition to the |
This is referring to npe1 hook specs, so we should consider closing. In terms of scope, I think initially the biggest bang for the buck--at least for the users I support--is annotating or editing annotations of images already in OMERO, rather than arbitrary images -- I'll make an issue for this approach. |
See #17 (review)
Use
napari_write_shapes
andnapari_write_labels
writer plugins to allow saving ROIs to OMERO.This has the advantage that we don't need to clutter the UI with "Save to OMERO" buttons and it will be available without having to launch with
$omero napari view
The text was updated successfully, but these errors were encountered: