[ome-devel] Support for different ECAT7 version, patch and sample data
Torsten Stöter
torsten.stoeter at lin-magdeburg.de
Tue Jan 31 13:04:14 GMT 2017
Dear OME developers,
I'd like to submit a tiny patch to allow reading different versions of
ECAT7 files.
It appears, that ECAT7 comes in three versions with differing magic
strings "MATRIX7[012]v", while the rest of the file may just be handled
in the same way for all versions. Manually modifying the magic string
from "MATRIX70v" to "MATRIX72v" in our data allowed us to load it
correctly. Hence, I changed the ECAT7Reader to accept all three magic
strings as valid ECAT7 files.
For referecence, see how ECAT7 is read in SPM:
https://github.com/neurodebian/spm12/blob/master/spm_ecat2nifti.m
Please find both patch and sample data attached.
Best regards
Torsten Stöter
--
Torsten Stöter
Leibniz Institute for Neurobiology
Brenneckestr. 6
39118 Magdeburg
Germany
Tel: ++49 (0)391 62639-2171
Fax: ++49 (0)391 62639-2589
http://www.lin-magdeburg.de/cni
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ecat7Reader.java.diff
Type: text/x-patch
Size: 292 bytes
Desc: not available
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20170131/51d50815/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecat7-ver70-testfile.v.7z
Type: application/x-7z-compressed
Size: 596247 bytes
Desc: not available
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20170131/51d50815/attachment.7z>
More information about the ome-devel
mailing list