-
Notifications
You must be signed in to change notification settings - Fork 30
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
Tiling threshold max projection bytes #349
Tiling threshold max projection bytes #349
Conversation
This is a small boost to the threshold to include a commonly found image size to allow those images to be z-projected
https://merge-ci.openmicroscopy.org/web/webclient/img_detail/138051/?dataset=24051 (user3) has a dimension of |
The default We need to test setting of a higher values for |
That does not match |
OK, sorry - I forgot to say that it still has to be below the max_projection_bytes threshold, which is quite a low cut-off for images that are 2048 x 2048, as discussed at #341 (comment) So, if we leave the |
This pull request has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/z-projection-disabled-big-images/26125/7 |
retested, it works as expected |
See IDR/deployment#322 (comment) for a compatibility issue with OMERO.server 5.6.0 |
This pull request has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/z-projection-disabled-in-viewers-for-big-images/54181/2 |
This pull request has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/maximum-intensity-projection-feature-in-omero-web/54392/2 |
Fixes #341.
This boosts the "Big Image" (use tiles) threshold in iviewer from 2k * 2k to
2048 * 2048
.Also, it makes iviewer respect the value of the server config:
omero config set omero.pixeldata.max_projection_bytes
.So, if you boost this value on the server, iviewer will use that value, instead of needing to also update the corresponding config of
omero.web.iviewer.max_projection_bytes
in iviewer.To test, an image should be enabled for projection in iviewer IF...
With default settings:
1024 * 1024 * 256
bytes (e.g. 1 channel 8-bit image of X, Y, Z: 2048 * 2048 * 64) AND...X * Y
must be below2048 * 2048
.If
omero.pixeldata.max_projection_bytes
setting is doubled to1073741824
(1024 * 1024 * 512 * 2
):X * Y
must be below2048 * 2048
.If
omero.web.iviewer.max_projection_bytes
setting is set to LESS thanomero.pixeldata.max_projection_bytes
then this lower threshold will be used:X * Y
must be below2048 * 2048
.