Opening .lof Leica files

fiji
bio-formats
Tags: #<Tag:0x00007fb878fd9f48> #<Tag:0x00007fb878fd9d90>

#1

Hello All,

Is the community aware that the new .lof file format from Leica is not able to open in FIJI?

This file type is generated when we autosave on our Leica SP8X, rather than saving the data at the end as a .lif.
Does anyone know when this file type will be supported on FIJI?

Many thanks,

Darren


#2

Hey @Darren_Thomson

Sorry for the late reply… How exactly are you opening the file in Fiji? Are you using Bio-Formats? If not, I’d suggest giving it a try… will be the best option for you at the moment.

There was a recent forum post regarding new release…

If you have further issues - please post a response. Hope this helps a bit!

eta :slight_smile:


#3

Hi @etarena
I’ve opened in with drag/drop and by importing in BioFormats and still no luck.
It’s a new file format created by Leica for autosaving, I have a pdf of the release notes from Leica and they told me that they sent all the info to Bioformats etc.

“New Extended Leica File:
 Extended Leica File: Leica-specific project data format in which the metadata and image data are stored separately. For each data object, both a binary file and a metadata file are written. The Extended Leica File can be used during image acquisition if the “Auto-Save” function is enabled (see next section). The format is compatible with image data and also other data objects.
Which image data type to choose when working with the new Extended Leica File?
 TIFF: Tagged Image File Format. Saves each individual image in a separate file. Suitable for black-and-white images and recommended for smaller volumes of data. Image data directly accessible by other programs
LOF: Leica Object File. Well suited for large data volumes. Serves also as back-up file format if the data object cannot be stored as TIFF.

The error I get when trying to upload in Bioformats:

loci.formats.FormatException: Invalid Memory Block: found magic bytes 298, expected 112
at loci.formats.in.LIFReader.initFile(LIFReader.java:437)
at loci.formats.FormatReader.setId(FormatReader.java:1399)
at loci.plugins.in.ImportProcess.initializeFile(ImportProcess.java:498)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:141)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:217)
at ij.IJ.runPlugIn(IJ.java:181)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:745)


#4

Ok then @Darren_Thomson … If I were you, I’d notify the Bio-Formats folks. You can go to their website here… or if you want to proceed and report a bug go here. I do not see the .lof file format from Leica listed in their supported formats list.

So it seems your best bet at this point is to try contacting them directly. They also have a forum and mailing lists - so you can just take this issue directly there.

Best of luck !!

eta


#5

Hi Darren,

did you find a solution to this problem?

I would like to open and analyze “.xlef” and “.lof” files with Fiji that are generated with a Digital Lightsheet (DLS) on the Leica TCS SP8 microscope. But no luck so far …

Thanks so much for your help!

Jakob


#6

Hi @Jakob

No there doesn’t seem to have been movement here.
However, if I remember from our demo, the DLS makes pyradimal files (compressed) which can be opened in FIJI?

You can also download the core version of LASX free and convert your lof into an lif (here you have to open the xlef, it doesnt see the lof file).

Its our headache at the moment also. So much time wasted batch-converting files.
Please go onto Bioformats as suggested by @etarena above and report your need for its attention (else it wont be actioned).

Best,

Darren


#7

Hi @Darren_Thomson,

Thank you very much for your prompt response and suggestion.

The setup over here is also via an autosave mechanism, since the files are fairly large (5 min imaging -> 20 GB). Thus, all I get are “.lof” and “.xlef”.

I then installed the free version of LAS X from Leica (http://www.leica-microsystems.com/products/microscope-software/details/product/leica-las-x-ls/). As you mentioned and as far as I know, this is currently the only available program that can read these cryptic “.lof” and “.xlef” files!

It turned out, however, that LAS X could not convert the file, around 400 GB, from “.xlef” to “.lif” because there was insufficient disk space on “C” [around 250 GB]. By default, LAS X is using a “Temp” directory on “C”. For large files this needs to be changed in “Configuration -> Memory Management -> Data Container Settings -> Folder on local Hard Disk” to something where there is sufficient space, e.g. “D”. - Perhaps this is helpful to others.

Also, I submitted a request to the Bio-Formats Forum and in the hope support for “.xlef” and “.lof” files will soon be implemented in Fiji.

Do you have a script or something similar for batch-converting .xlef files in .lif files? Or do you load them individually into LAS X and then convert one by one?

Thanks a lot!

Jakob


#8

Hi @Jakob

Watch, if you place your temp into the D: (a HDD), then you will crash the acquisisiton if you try to transfer anything to/from the D: . We’ve just purchased an SSD to bypass this problem.
Likely you didn’t have enough space for the lif (since it will write an new file).

Sorry no batch, just manual…

Please mention this to Leica also, so that they put it up in their priorities too.
If you use IMARIS also mention your need to them too. Power in numbers!

Good luck!

Darren


#9

Hi @Darren_Thomson,

the LAS X used for conversion is running on a server (S) that has a “C” (SSD, I guess), “D” (RAID), and “E” (RAID) drive. During acquisition LAS X is run from a computer (X) and the data is autosaved to the E drive on the server S. Thus, there are two machines, X and S, and two LAS X programes (and 5 drives: C, D, E -> Server S; A, B -> Computer X).

Do you think the problem that you mentioned could still be an issue in the setup described above?

I am in contact with Leica and Bitplane (Imaris) concerning this issue too. Power in numbers!

Thanks a lot!

Jakob


#10

Just received the following information from Bitplane (Imaris)


[…] there is a feature request for the LOF/XLEF file format (ID 9871) that my colleagues have created from your request back in December.
For the LOF the only known workaround is to save the file as LIF in the LAS X software.
The file format is quite new and we only have some information/documentation at the moment from January according to the comments in the feature request. Given that new file format importers are quite some work and from past implementations I would guess that this is something that could be included earliest in the next major release, that is slated for end of spring / beginning of summer. However, this planning is up to our product management and development.
In the meantime you would have to use the workaround and convert the files, maybe the Bioformats (ImageJ/Fiji) group comes up with an importer in the meantime as right now they also can’t import the files.
If there is a change in its status someone from support will contact you again.


#11

I was informed by IMARIS that there is now support for .lof files in IMARIS 9