We're Hiring!

Fail to open a large image in OMERO with ImageJ

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Fail to open a large image in OMERO with ImageJ

Postby Kouichi_C_Nakamura » Tue Jun 12, 2018 5:09 pm

Using OMERO.insight for ImageJ, I tried to edit a large image (1.2 GB) in OMERO server, but the opening process failed with the error message "An error occurred while loading the image."

Opening another smaller image in the same dataset was successful.

Memory setting for ImageJ 24439 MB and should be big enough.


In the Console of ImageJ, the following messages were found.

Code: Select all
Parsing credentials
Logging in
Populating metadata
Parsing credentials
Logging in
Populating metadata
Parsing credentials
Logging in
Populating metadata


Any idea of what's wrong here?

Thanks in advance.

Cheers,
Kouichi
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Re: Fail to open a large image in OMERO with ImageJ

Postby Dominik » Wed Jun 13, 2018 10:30 am

Hi,

I don't think the size should be a problem. Can you get a more informative output when you set the "Debug" option in ImageJ? If not, would it be possible to get the file ( https://www.openmicroscopy.org/qa2/qa/upload/ ), then I could try replicate/debug the problem.

Regards,
Dominik
User avatar
Dominik
Team Member
 
Posts: 149
Joined: Mon Feb 10, 2014 11:26 am

Re: Fail to open a large image in OMERO with ImageJ

Postby Kouichi_C_Nakamura » Wed Jun 13, 2018 2:12 pm

Debug mode of ImageJ gave me exactly the same message as before.

I tried to download the image from OMERO.web, but it failed twice.

So I tried to upload the original from my local hard drive using your link. But although it says "1 file uploaded", I don't have any link or notification.

'Fused_imagej.tif' is the file name. Can you find it?
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Re: Fail to open a large image in OMERO with ImageJ

Postby Dominik » Thu Jun 14, 2018 11:16 am

Hi Kouichi,

sorry, I didn't get the file (think there were some issues with the storage system yesterday). Could you please upload it again? I still can't replicate the issue with other example files unfortunately.

Cheers,
Dominik
User avatar
Dominik
Team Member
 
Posts: 149
Joined: Mon Feb 10, 2014 11:26 am

Re: Fail to open a large image in OMERO with ImageJ

Postby Kouichi_C_Nakamura » Thu Jun 14, 2018 12:15 pm

It says '1 file uploaded.' again.

'Fused_imagej.tif' is the file name. Can you find it?
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Re: Fail to open a large image in OMERO with ImageJ

Postby mtbc » Fri Jun 15, 2018 9:41 am

Dear Kouichi,

I am sorry for the hassle but can you try one more time? This week there were file storage issues here at Dundee that now appear to be resolved and our current QA file uploading app is poor at reporting errors. I just tried uploading a 1.2GB-ish file from outside Dundee and it arrived fine so with luck yours will too. If even a third try is unlucky then I'd see about getting somebody to get you credentials for uploading to us via FTP instead as we definitely want to investigate your issue. In the meantime we certainly appreciate your patience with these technical glitches.

Cheers,
Mark
User avatar
mtbc
Team Member
 
Posts: 282
Joined: Tue Oct 23, 2012 10:59 am
Location: Dundee, Scotland

Re: Fail to open a large image in OMERO with ImageJ

Postby Kouichi_C_Nakamura » Fri Jun 15, 2018 9:51 am

I've done that again. ;)
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Re: Fail to open a large image in OMERO with ImageJ

Postby Kouichi_C_Nakamura » Sun Jul 01, 2018 1:46 pm

Any luck with the large image? I still can't do it.

By the way, I prepared that image by using Fiji's Stitching and saved as a standard TIFF.

I also tested one of the source tile images and opening it via OMERO.insight-ImageJ was successful. So, it may be related to Fiji's Stitching, if the size is not an issue.
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Re: Fail to open a large image in OMERO with ImageJ

Postby Kouichi_C_Nakamura » Mon Jul 02, 2018 11:18 am

I 've done further tests.

I've confirmed a single tile image (~32 MB) can be opened by OMERO.insight-ImageJ.

Instead of stitching the whole ~50 tiles, I stitched 6 tiles using FIji's Stitching. Saved them as TIFF or OME.TIFF (~140 MB each).

Contrary to my expectation, I was able to open both of them by OMERO.insight-ImageJ.

So it can possibly be a size issue.

My Fiji's memory allocation

Maximum memory: 24439 MB
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Re: Fail to open a large image in OMERO with ImageJ

Postby Dominik » Mon Jul 02, 2018 2:29 pm

Hi Kouichi,

thanks again for the upload. I imported the file on one of our testing servers and then tried to open it with the ImageJ Plugin. I had the same error. The detailed log showed that the Ice.MessageSizeMax was exceeded (that's a server setting, default is 250mb). It looks like the plugin tries to load a too big chunk of the data. Unfortunately I haven't found a workaround yet (e. g. if this property could be overwritten by a client setting, etc.).

Kind Regards,
Dominik
User avatar
Dominik
Team Member
 
Posts: 149
Joined: Mon Feb 10, 2014 11:26 am

Next

Return to Developer Discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron