We're Hiring!

Fail to show correct LUTs when opening .lif files from Leica

Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats
Please note:
Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats

If you are having trouble with image files, there is information about reporting bugs in the Bio-Formats documentation. Please send us the data and let us know what version of Bio-Formats you are using. For issues with your code, please provide a link to a public repository, ideally GitHub.

Fail to show correct LUTs when opening .lif files from Leica

Postby ching » Mon Jan 15, 2018 7:09 am

Hi,

After updating Fiji or ImageJ, wrong LUTs will be shown when opening .lif images with BioFormats.

All channels show the same color as that from the first channel if more than one channel are in one image.

https://imgur.com/a/lGQpY

I have no idea whether it is caused by updating the imageJ or by Bio-Formats. I tried to find an answer within
ImageJ forum but got no response. Hopefully, your team could give us some assistance. Thanks!

ching
ching
 
Posts: 6
Joined: Thu Mar 23, 2017 3:01 am

Re: Fail to show correct LUTs when opening .lif files from L

Postby dgault » Mon Jan 15, 2018 12:40 pm

Hi Ching,

We haven't made any recent updates to that particular format so it may be due to the options used in the importer. In the Bio-Formats Importer window what option is selected for Colour Mode?

Also if you have a sample file showing this problem you can upload it to https://www.openmicroscopy.org/qa2/qa/upload/ and I can further test the issue.

David Gault
User avatar
dgault
Team Member
 
Posts: 208
Joined: Fri Aug 14, 2015 2:56 pm

Re: Fail to show correct LUTs when opening .lif files from L

Postby ching » Mon Jan 15, 2018 2:02 pm

Thanks for the reply David,
I have uploaded a test.lif to the place you mentioned. Please have a look at it.

We have used the "Default" color mode In the Bio-Formats Importer window no matter which version of ImageJ
or Bio-Formats package was used. We currently need to set the color mode as "Colorized" in order to get the
correct channel LUTs after updating the Fiji or ImageJ.

Best,
ching
ching
 
Posts: 6
Joined: Thu Mar 23, 2017 3:01 am

Re: Fail to show correct LUTs when opening .lif files from L

Postby dgault » Mon Jan 15, 2018 4:07 pm

Thank you Ching, we successfully received the file you uploaded. I shall test it to see what has changed between the Default and Colorised modes.

David Gault
User avatar
dgault
Team Member
 
Posts: 208
Joined: Fri Aug 14, 2015 2:56 pm

Re: Fail to show correct LUTs when opening .lif files from L

Postby dgault » Tue Jan 16, 2018 3:20 pm

As a follow up to this investigation. I have been able to reproduce the issue using the sample file provided.

With an older ImageJ version the file opens by default with each channel displaying a separate colour. Replacing the Bio-Formats jars with more recent releases produces the same behaviour (version used was 1.51h from 30 May 2017 FIJI, final Java 6 version)

With a later ImageJ version (1.51n) the QA file opens with the same colour in each channel. Replacing the Bio-Formats version with previous versions does not affect the behaviour. Changing the colour mode in the Bio-Formats importer to Colourised does however display the correct colours for each channel.

This issue appears to be a change in how the default colour mode is handled between the Java6 FIJI and Java8 FIJI. I have opened a Trello card to further investigate if any changes are required in the Bio-Formats plugin to the default behaviour. https://trello.com/c/8BQ2ViRo/212-fiji- ... olour-mode
User avatar
dgault
Team Member
 
Posts: 208
Joined: Fri Aug 14, 2015 2:56 pm

Re: Fail to show correct LUTs when opening .lif files from L

Postby ching » Mon Feb 26, 2018 2:54 am

Hi David,

Is the new version of bio-formats-5-8-0 still not able to show the correct LUTs when opening the .lif images?

Best,
ching
ching
 
Posts: 6
Joined: Thu Mar 23, 2017 3:01 am

Re: Fail to show correct LUTs when opening .lif files from L

Postby dgault » Mon Feb 26, 2018 11:20 am

Hi Ching,

Im afraid we did not have a fix for this particular issue in the latest 5.8.0 release. This week we will be evaluating and prioritizing cards on the Trello board including https://trello.com/c/8BQ2ViRo/212-lif-c ... g-metadata for upcoming releases.
User avatar
dgault
Team Member
 
Posts: 208
Joined: Fri Aug 14, 2015 2:56 pm


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: No registered users and 0 guests