-
Notifications
You must be signed in to change notification settings - Fork 67
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 ome-zarr support #315
Comments
Currently, yes. I'll post something when it moves. |
@joshmoore thanks! |
Supporting ome-zarr or have a general way to interact with remote multi-resolution data would be awesome. I had some discussion with others about potential way to display huge volume with itk-vtk-viewer from Python with imjoy-rpc, one potential solution is to support precomputed pyramid with zarr (as implemented in vizarr, but also for 3D). Looking forward to this feature. |
The spec has now moved to https://github.com/ome/ngff (rendered at: https://ngff.openmicroscopy.org/latest/) |
Hi @thewtex. We were looking to start exploring the viewer for opening lightsheet data in OME-Zarr and ran across #343 & #176. A few questions:
Hope all is well. |
Hi @joshmoore ! Thanks for the questions, and comments! Yes #343 comprises a major refactoring that relates to multi-scale supported; it will be merged at the end of this week. This will initially support multi-scale support for large in-browser-memory images. However, I will immediately begin work to address #176, zarr, client-side backend support. I will provide an initial example link, but your feedback on both the zarr support and the viewer features will be highly appreciated! The refactoring is aiming for compatibility with OME-Zarr and the ome-zarr label features. But, I am sure that your participation would improve both the standard compatibility and viewer features. Looking forward to working with you! Stay safe and well. |
@thewtex Wondering what left to support ome-zarr format? |
We have to support the different dimension order / memory layout of ome-zarr (contiguous channels) in addition to the current support, (interleaved channels). I will implement this after adding support for selection of a region of interest. |
@sbesson has also been working on the next batch of v0.4 data that will get pushed to EBI's S3. (As so often, largely blocked by naming discussions. 😉) It is likely to contain at least some of @constantinpape's samples from https://github.com/ome/ome-ngff-prototypes |
#465 Starts support of 0.4 |
Great work @PaulHax ! I am wondering whether I can use it already through the ImJoy API (i.e. the setImage function)? What's the format? Can I pass a zarr store? I would like to test it in jupyter lite so we can view large zarr files in the browser. |
Thank you @oeway .
The viewer then loads the entire least detailed image. If the frame rate is high enough, the viewer may continue fetching more detailed images. |
@PaulHax Can we allow passing a store object (with |
Ah, yes. Passing a "Store" object with a |
Great! Looks like the store object is detected and the viewer shows the control UI, however it gives me Full browser log: Here is how to reproduce:
|
@PaulHax Great, thanks for the quick fix! Looking forward to the multi-channel support too. |
@thewtex BTW, any timeline for the multi-channel support? Really excited about the progress here! |
@oeway love to see the imjoy/jupyterlite demo! multi-channel support is expected within the next two weeks. |
Sounds great! Looking forward. BTW, I just tried the jupyterlite demo again, and it seems the latest itk-vtk-viewer doesn't show the zarr image anymore. To reproduce, the ImJoy flavor of jupyterlite now support loading notebooks from URL, so one can click a like like this to see the itk-vtk-viewer NGFF demo: https://jupyter.imjoy.io/lab/index.html?load=https://gist.github.com/oeway/4a3ec3866eae199f982b8b81bf72a3a8&open=1 |
Hi @oeway , I tried, and seemed to get the same output (without the channel support), The issue I ran into was |
Hi @thewtex Thanks for testing it. I did run individually, however, I still don't see the image: |
Thank you, after reloading, I get the latest version! However, there seems to be an issue with the display: Try it here with Chrome: https://jupyter.imjoy.io/lab/index.html?load=https://gist.github.com/oeway/4a3ec3866eae199f982b8b81bf72a3a8&open=1 |
Hey, @thewtex It's working! Now it's actually comes nicely together! (It seems still dim though, is the fix deployed?) I am now using zarr+ZipStore to access a remote zipped NGFF file served from an S3 server (with the possibility to add authentication using presigned URL), completely in Pyodide/JupyterLite. Try it here: https://jupyter.imjoy.io/lab/index.html?load=https://gist.github.com/oeway/391b4352ea57b5682366ce3dc2fa9174&open=1 |
With #499 , released in 13.0.0, the 2D multi-component rendering is now addressed! 🎉 🌮 h/t @PaulHax Verified by clearing the cache with your example @oeway 👍 We now have a good test suite demonstrating support for a number of OME-NGFF-Zarr images, so closing. If new issues are discovered, let's create new issues to start fresh threads. Thanks! |
🎉 Looking forward to passing out the likes of https://kitware.github.io/itk-vtk-viewer/app/?image=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.1/6001241.zarr&rotate=false to people 😄 |
FYI: @thewtex the following link does not give me the but only 2 channels in the UI: Oh, wait, it's working after waiting for a while, never mind. |
Current state of the spec is here, @joshmoore?:
https://github.com/ome/omero-ms-zarr/blob/master/spec.md
The text was updated successfully, but these errors were encountered: