We're Hiring!

VSI Files Channel Order

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.

VSI Files Channel Order

Postby Oli » Wed Apr 19, 2017 10:05 am

Hi all,

A new magical problem most likely specific to VSI and hot Olympus saves their data has come up recently.

We were testing different compression formats available to the VSI container and found something.

When saving images acquired with an RGB camera with 'No Compression' on the software, we find that the channel order is different when opening it using Bioformats.

It appears that they are opened ad B->G->R and not R->G->B, which lead to a lot of strange confusion, seeing as most formats when saving multichannel images from RGB cameras use the order R->G->B. And when the white balance is well made on the images, it is hard to notice that there is a problem, depending on the stainings.

I've added a dataset which contains a jpeg-compressed example (Opens as RGB as per the jpeg standard) and the uncompressed dataset, which opens as BGR.
http://qa.openmicroscopy.org.uk/qa/feedback/17694/

Again I am not saying that this is a problem with BioFormats but I would appreciate help with the following points.

1. How can I find out using BioFormats Macro Extensions, what kind of compression was used on the dataset?
2. Ideally, would there be a way for Bioformats to understand this particularity and adjust the LUTs accordingly?

Thank you very much for your time!

Oli
Oli
 
Posts: 71
Joined: Mon Nov 29, 2010 4:57 pm

Re: VSI Files Channel Order

Postby dgault » Thu Apr 20, 2017 3:00 pm

Hi Oli,

Firstly thank you gain for the uploaded sample files as they are very useful for debugging and further developing the readers.

I was able to do some initial debugging on the files you provided and I can see the effect you mentioned with regards the channel orders. For the 2 files provided Bio-Formats recognises the compressed file as being of type JPEG and the uncompressed file as being type RAW. Unfortunately there is not currently a macro extension to retrieve these values.

With regards the second question, we would absolutely like to be able to resolve this and update the reader, in order to do this we would need to know if this behaviour was consistent for all uncompressed files or if there was any existing metadata or tags within the file that would allow Bio-Formats to recognise the ordering.

David Gault
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 1 guest

cron