You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As explained by @will-moore the web client doesn't support raw pixel access, but we can still obtain the rendered images for some application. I think that's relatively easy to support.
Basically, in the web client every image has an image id, and use that id we can obtain the rendered image.
For example here: http://idr.openmicroscopy.org/webclient/?show=project-1501 If we inspect on the thumbnail image, we can obtain an image id like this: id="image-96765", we can take the number 96765, and convert it into an image URL: http://idr.openmicroscopy.org/webgateway/render_image/96765/0/0/
Previously, this URL won't work in ImageJ.JS because it has no file extension, but I just submitted a PR to fix it by inferring the file extension from HTTP header: imjoy-team/imagej.js#51
The root cause I believe is that omero server doesn’t provide a http interface for accessing the raw pixel.
However, if you can make changes to the OMERO server, experimental support can be enabled. Basically, I think you will need to install https://github.com/ome/omero-ms-zarr and https://github.com/will-moore/omero-imjoy in the OMERO server.
This feature is proposed by Claire on image.sc: https://forum.image.sc/t/open-an-image-from-omero-in-imagej-js/47747
As explained by @will-moore the web client doesn't support raw pixel access, but we can still obtain the rendered images for some application. I think that's relatively easy to support.
Basically, in the web client every image has an image id, and use that id we can obtain the rendered image.
For example here: http://idr.openmicroscopy.org/webclient/?show=project-1501 If we inspect on the thumbnail image, we can obtain an image id like this:
id="image-96765"
, we can take the number96765
, and convert it into an image URL:http://idr.openmicroscopy.org/webgateway/render_image/96765/0/0/
Previously, this URL won't work in ImageJ.JS because it has no file extension, but I just submitted a PR to fix it by inferring the file extension from HTTP header: imjoy-team/imagej.js#51
So now this will work: https://ij.imjoy.io/?open=http://idr.openmicroscopy.org/webgateway/render_image/96765/0/0/
What do you think @mutterer ? I guess we should also consider supporting different omero sites other than openmicroscopy.org.
The text was updated successfully, but these errors were encountered: