[ome-devel] ScanR importer bit representation

Rubén Muñoz ruben.munoz at embl.de
Thu Nov 26 17:27:03 GMT 2009


Hello Melissa,
Your ScanR importer has loaded tons of datasets in our premises. We  
are concerned that ScanR software is storing signed bit images, but  
part of the code reads:

     reader = new MinimalTiffReader();
     reader.setId(tiffs[0]);
     int sizeX = reader.getSizeX();
     int sizeY = reader.getSizeY();
     int pixelType = reader.getPixelType();

I cannot say how ScanR tells the sample bit representation, in this  
lab we are used to convert the images from int16 to uint16 before  
processing them, actually thats the way we keep on doing this.

Will be more convenient if the importer would store the proper value,  
but I also would like to ask your opinion, since you are the expert.

A different question would be if the 'real' number of bits used have a  
place in OMERO metada, for example for many microscopes this is 12 bits.

Regards,

--
Rubén Muñoz
European Molecular Biology Laboratory





More information about the ome-devel mailing list