Skip to content
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

Scaler not scaling all dimensions #262

Open
FIrgolitsch opened this issue Mar 15, 2023 · 1 comment
Open

Scaler not scaling all dimensions #262

FIrgolitsch opened this issue Mar 15, 2023 · 1 comment

Comments

@FIrgolitsch
Copy link

When using writer.image_write the default "nearest" scaling method only scales the x and y axes (when given zxy axes). Gaussian and Laplacian scale the axes, but as mentioned in Issue #254 other methods than "nearest" aren't working. Is there any way to specify which axes to scale? I tried passing coordinate transforms to the method but that didn't work either.

@will-moore
Copy link
Member

Thanks for the feedback.
I'm afraid the non-scaling of Z is due to the fact that historically, many OME and similar tools have considered "big" pyramid images to be a stack of 2D planes, rather than a 3D volume, so the number of Z planes is the same at all resolutions.
E.g. bioformats2raw generates pyramids not downsampled in Z, OMERO API and viewers too, and for OME-NGFF viewing in e.g. vizarr

Some users may want to preserve this behaviour while others will certainly want nD scaling.

There are other scaling issues - I think #254 is the other issue you mentioned, so we need to properly review the scaling API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants