|
Bugzilla – Bug 555 |
Axis mixup when opening *.lsm through imglib |
Last modified: 2013-01-24 19:52:10 CST |
| ⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
Thanks for uploading the sample file! A little debugging shows that this works correctly in Fiji: -- snip -- import loci.formats.ChannelFiller; import loci.formats.ChannelSeparator; import loci.formats.ImageReader; import loci.formats.services.OMEXMLServiceImpl; r = new ImageReader(); r = new ChannelFiller(r); r = new ChannelSeparator(r); r.setMetadataStore( new OMEXMLServiceImpl().createOMEXMLMetadata() ); r.setId("/home/gene099/fiji/spim_TL71_Angle150.lsm"); print("z: " + r.getSizeZ() + ", t: " + r.getSizeT()); -- snap -- It prints: z: 151, t: 1 However, Tobias reported in a private Chat that the corresponding Java class shows the opposite in Eclipse. So I think it might be an old Bio-Formats .jar in his class path. Continuing to investigate.