[ome-devel] OMERO.figure limitations

William Moore will at lifesci.dundee.ac.uk
Wed Oct 29 23:40:13 GMT 2014


Hi Christophe,

 Since OMERO.figure does not feature a tiled image viewer, it only works with
single planes of the whole image at a time.
Therefore, this limits the size of images that can be loaded.

However, there is no strict limit on the maximum size that can be used.
We can load entire planes larger than the "Big Image" threshold where images
become tiled in OMERO.

Currently, I've chosen an arbitrary limit of 5000 x 5000 pixels (or equivalent) since 4k x 4k images
seemed to work OK.
This is hard-coded, E.g. in the 1.0.0 release it's at:

https://github.com/will-moore/figure/blob/develop/static/figure/js/figure-1.0.0.js#L2621

if (data.size.width * data.size.height > 5000 * 5000) {
    alert("Image '" + data.meta.imageName + "' is too big for OMERO.figure");
    return;
}

You could try to increase this limit in figure/static/figure/js/figure-1.0.0.js
to see if 5000 x 10000 image planes can be loaded.

Perhaps you can try this first…

Log in to the web client and find an example image of 10000 x 5000 pixels.
Then edit <your-server> and <image-id> in this url
to load an entire plane.
  <your-server>/webgateway/render_image/<image-id>/0/0/

This will give you some idea of the performance of this.
If performance is not too bad, then feel free to increase the limit above,
although bear in mind that performance will be worse at locations with lower bandwidth.


To fully support large tiled images in OMERO.figure, we'd need a proper tile-based
image viewer. But this would be quite a lot of work.

One alternative is for your users to draw rectangle ROIs on their big images in Insight 
(ROIs of 3000 x 3000 or less) then use the script:  
util script > Images From ROIs 
to create new images based on those regions. These can then be imported into OMERO.figure.

 Hope that helps,

   Will.



On 29 Oct 2014, at 17:32, Christophe TREFOIS <christophe.trefois at uni.lu> wrote:

> Dear all,
>  
> Does anybody know the limitation in terms of pixel size of OMERO.figure ?
>  
> Our researchers love this new tool but sometimes use stitched images which can be around 10.000 x 5.000 pixels which doesn’t seem to work with OMERO.figure.
>  
> Can this setting be changed anywhere?
>  
> Best,
>  
> ................................................................................
> 
> Dr. Christophe TREFOIS, Dipl.-Ing.
> Doctor in Biology
> 
> Senior Technical Specialist
> UNIVERSITÉ DU LUXEMBOURG
>  
> LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
> Campus Belval | House of Biomedicine
> 7, avenue des Hauts-Fourneaux
> L-4362 Esch-sur-Alzette
> T +352 46 66 44 6124
> F +352 46 66 44 6949
> www.uni.lu/lcsb
>  
> This message is confidential and may contain privileged information.
> It is intended for the named recipient only.
> If you receive it in error please notify me and permanently delete the original message and any copies.
>  
> _______________________________________________
> ome-devel mailing list
> ome-devel at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20141029/8fa7da4b/attachment.html>


More information about the ome-devel mailing list