-
Notifications
You must be signed in to change notification settings - Fork 46
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
bridge to MoBIE #412
Comments
This should already be possible with https://github.com/ome/napari-ome-zarr. But we could write something around this that makes it easier to navigate the MoBIE project structure.
Yep, we would need to add this functionality.
I think it would be best to have a separate MoBIE napari plugin that supports both of the points you described above. We are currently working on a proper plugin design for micro-sam: https://github.com/computational-cell-analytics/micro-sam/tree/dev. This is part of the revision and my focus right now. |
Great! That's exactly what I have in mind as well. I will dig a bit into designing napari plugins (this would be my first), so if you can provide some rudimentary guidance from your experience going beyond the existing tutorials, that would be amazing. |
The best starting point for the plugin is the cookiecutter repo: https://github.com/napari/cookiecutter-napari-plugin For the plugin, I think we should create three widgets (maybe there's more, but this is what I can think of right now)
I would start implementing it for local data only, we can think of remote projects later. |
I'm happy to help with this too @martinschorb. I've made a couple of small napari plugins, so possibly can be useful there for you too 😄 |
Hi again, I would need some advice on the following points:
|
@GenevieveBuckley is this still the recommended way? |
My plugin now supports loading OME-Zarr sources from a MoBIE project. Now, I like to use one resulting image layer and do some segmentation using micro-sam. However, when I load the annotator, I have to provide an image file. And in the selector OME-Zarr is not supported as it specifically expects a file. Also, if I understand napari's label layers correctly, their size depends on the active layer. Therefore adding an imported OME-Zarr layer later will not work as the image dimensions don't fit. Is there an elegant way to get micro-sam working in these cases? How does it treat multi-scale image layers? |
Hi @martinschorb , |
Hi @martinschorb, |
Hi @constantinpape , you can use the "Select MoBIE repository" button to open any OME-Zarr from S3, even without a local MoBIE project folder. This results in a multiscale napari image layer (using the napari-ome-zarr plugin). I tend to use https://github.com/mobie/clem-example-project -> hela -> EM-overview for testing. |
Hi @martinschorb , So I started looking into this and implemented the first approach for dealing with multiscale image layers in #590. |
I think so? I'm not aware of any substantial changes since that time, but I also have not been keeping track of updates, etc. |
@martinschorb #590 is working for 2d multiscale data now! I still need to test it for 3d data, but will probably only have time for that later next week. But you can already check it out and see if this connects to the MoBIE plugin as expected. |
Hi,
we would be very keen in using micro-sam in conjunction with MoBIE.
Where would be good points for coding linkages for:
Would you implement this in a separate napari plugin or right here?
The text was updated successfully, but these errors were encountered: