We're Hiring!

VSI Pyramidal File format

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.

Re: VSI Pyramidal File format

Postby sbesson » Wed Apr 20, 2016 3:06 pm

Hi Oli,

So I've been playing around and no regression is making it any faster. So I deeply apologize for thinking the problem lies within BioFormats.


No worries at all. Regressions do tend to slip through cracks and flagging them early is welcome. Thanks for taking the time to check earlier versions.

The one called Fast gets parsed in 0.36 s and the thumbnail I need opens in 1.76 s (470x761 px)
The one called Slow gets parsed in 2.14 s and the thumbnail I need opens in 8.54 s (513x81 px)
The one called Very Slow gets parsed in 22.04 s and the thumbnail I need opens in 91.24 s (580x100 px)


Thanks for uploading the files and providing us the metrics. We can certainly reproduce similar variation factors against the same files locally.

So could it be that Olympus changed something in the way they store their files that makes the reading go through some other path that takes longer? Can yu uploaded, a notable difference we can see between the files is the Production Version, namely 2.4 for thou find a difference between the first and second files that would justify this 4x loss in speed?


Looking at the metadata for the files yoe Fast.vsi and 2.7 for the two slow files. Looking at our own representative VSI data using for testing, we only have datasets produced with Product Version 2.6 and under. So it all looks like the performance degradation is specific to files generated by a recent version of the Olympus Software.

We need more investigation to determine whether this could be due to a different file format, compression level etc In the meantime, could you confirm the metadata and the pixel data read by Bio-Formats is actually correct albeit slow?

Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm

Re: VSI Pyramidal File format

Postby Oli » Thu Apr 21, 2016 6:23 am

Dear Sebastien,

Thank you for the support. I can confirm that the pixel data is loaded properly, albeit slowly. Metadata seems OK as well (We use the "Microscope Device Model #1"Metadata field to check whether it's a color or BW camera).

Best

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

Re: VSI Pyramidal File format

Postby dgault » Thu Apr 21, 2016 1:49 pm

Hi Oli,

I have been able to spend more time analysing the timings of the file reader today. It appears that the time delay is being spent attempting to read a tag value within the file which we do not recognise. I have opened a code PR https://github.com/openmicroscopy/bioformats/pull/2365 to skip attempting to read any values which we do not support. This should reduce the load times of the files without affecting any of the existing metadata.

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

Previous

Return to User Discussion [Legacy]

Who is online

Users browsing this forum: No registered users and 1 guest