[ome-devel] Introducing format reader into OMERO

Paul van Schayck paul at vanschayck.nl
Fri Dec 16 12:34:54 GMT 2016


Dear all,

I'm working with a FEI Scios microscope (SEM, scanning electron
microscopy) with software (called FEI MAPS) outputting stitched images
of about 20k by 20k pixels. Unfortunately, it does not do this in any
defined format. It does this in files called .raw with the image size
specific in the filename. These are unsigned 16 bit little endian
files with no header. For viewing purposes we would like to import
them into OMERO.

So I've written this reader to support reading the format in
BioFormats and thus OMERO. The code can be found here [1]. This is
working, and after updating both the .jars on the importer side and
the server side (taking the right bioformats version to fork from into
consideration), we can now view the pyramided files in OMERO.

But I've got a couple of questions and maybe remarks about this:

- Do you see any issues with the code at the moment?

- Right now, I let users rename the extension from .raw file to
.scios. I use this then to let Bioformats discover the format reader
(isThisType method). Would it be possible to write an isThisType()
which could do this on the contents of the file, instead of the
extension?

- It's quite a hassle to having to update both the server side .jars
and the client side OMERO importer jars. Just updating the server side
is not enough, as the importer will already complain about not knowing
the format. Having to provide your own distribution of the clients is
troublesome. Why can't the importer be agnostic to the formats tried
to be imported?

Thanks,

Paul van Schayck

[1] https://github.com/M4I-nanoscopy/bioformats/commit/d441b019635214a7e0b2b9213d789bcabe817f15


More information about the ome-devel mailing list