-
Notifications
You must be signed in to change notification settings - Fork 4
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
Handle downsampling to_multiscales with channel dimension #125
Comments
Came here to report the 4D issue with a 'channel' dimension 'c'. Tried out ngff-zarr because I saw your post in the ome-zarr-py issues! My 2-channel 4D image has shape (2, 70, 1024, 1024). @will-moore, do you have some example code that fixes the 4D case with dims=['c', 'z', 'y', 'x']). The trace I get includes the warning
|
@will-moore @cudmore thanks for the report! Please test #126
If there are real use cases that we do not support, we can add tests/implementations for them. I wrote the tests against the generated data. I tried to verify on real data with napari, ome_zarr download https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0101A/13457539.zarr
napari --plugin napari-ome-zarr ./13457539.zarr But I just get blackness: What am I doing wrong? CC @joshmoore |
I tried:
This opens the image in ome-ngff-validator which tells me |
The download issue is fixed with the PR at ome/ome-zarr-py#419 (review)
|
@will-moore @cudmore #126 has been pushed to PyPI in |
I was trying to downsample data that has a 'c' dimension...
I was trying to fix _downsample_itkwasm and made some progress with the 4D channel example above but the 5D example was too much for me!
I was also wondering about future support of n-dimensional data, since OME-Zarr will soon allow any number of dimensions?
I was trying an approach of slicing 5 dimensions down to just 3 dimensions before downsampling, but this would need more work to handle n-dimensions:
e.g.
Thanks!
The text was updated successfully, but these errors were encountered: