I have question about the OMERO APIs …
When I use the call “…/webgateway/render_roi_thumbnail/xxx/” I’m sometimes told the ROI is too large to generate a thumbnail – I’m returned an “Error Image”.
However, when I call “…/webgateway/render_image_region/51/0/0/?q=0.5®ion=17196,16908,1680,1584” – being the coordinates of an actual ROI – this returns a large image, typically a screen full.
So my questions are these:
1. How can I predetermine whether a thumbnail of a ROI will be too large to be generated? (ie. Is it possible to know in advance somehow, when “render_roi_thumbnail” isn’t going to work?)
2. How can I generate a thumbnail of certain sub-area of an image? (ie. Can I scale down the returned image from “render_image_region”?)
Any suggestions gratefully received!
Mike W
PS. Some background;
I’m trying to evolve our Workbench, being grid of thumbnails of whole images, to become a grid of thumbnails of whole images, AND thumbnails of ROIs from the image selected for that cell. The Pathologist would typically like to see a grid of Tumours (ROIs) for easy comparison.