[Insight-users] bioformat reader problem

Matthias Noll Werbungfuermich at gmx.de
Mon Jul 2 08:23:59 EDT 2012


Hi all,

I am trying to use the bioformat reader from openmicroscopy.org with itk 4.1.0 to read .ome.tiff files. The compilation of both itk and reader works fine. But I encounter two general problems.

1. The reader who is an java wrapped external dll does not register itself with the ObjectFactoryBase, as it should. I have set the ITK_AUTOLOAD_PATH correctly to the dll location of the reader. Also the dll is loadable since all dependencies are found. (I checked this manually using the windows function LoadLibrary(libname)) This leads me to the next problem.

2. If I use an older itk version e.g. 3.2.0, the reader immediately registers after the base readers. The problem here is, that the factory determines that the file to read is a .tiff file. But, the standard tiff reader cannot process tiled images which results in an error. Therefore the bioformats reader should read the .ome.tiff file but he does not since the .tiff reader already tried a readout and failed. It seems that I have to unregister the tiff reader somehow or decrease it's priority. But if I got this to work I would have to use itk 3.2.0. In general I would prefer to use itk 4.1.0.

Any ideas on how to solve my problem?
Thanks for any suggestions, your help is greatly appreciated.
Matthias


More information about the Insight-users mailing list