-
Notifications
You must be signed in to change notification settings - Fork 7
Wrong window
metadata in projected image?
#941
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
Comments
If I manually edit the 2D-image metadata, and use the same window start/end/min/max as the 3D one, then I see the image correctly. |
Possibly relevant: Is it expected that in https://github.com/fractal-analytics-platform/ngio/blob/6bf7c0e54b5c4d40a0025075c50389879d174a03/src/ngio/images/image.py#L478 we are not deriving the |
window
metadata in projected image?
Not deriving the window property sounds like a bug to me. I think the 2 valid options would be to derive the window property or to recalculate based on percentiles. I'd favor the derive approach. Setting it to full range will make things appear black on our typical underexposed microscopy images (even though the data in there likely is still correct) |
The bug is going to be resolved with an upstream ngio fix. |
closed with #943 |
See also https://github.com/fractal-analytics-platform/fractal-deployments/issues/116#issuecomment-2812444135.
I have these two plates:
created with v1.5.0a2.
I ran
$ pip install "napari[all]" "napari-ome-zarr"
And then
3D image
2D image
Here are the napari
--verbose
outputs.3D image
2D image:
And here is the diff of the image zattrs:
The text was updated successfully, but these errors were encountered: