[gate-users] STIR code for handling LMF data

Kris Thielemans kris.thielemans at csc.mrc.ac.uk
Tue Aug 10 17:54:56 CEST 2004


Dear all

I'm attaching the preliminary code for getting LMF files read by STIR. It's
released under LGPL.

You'll see that there are plenty comments starting with TODO, which need
work. I'll be happy to advise, but not much more I'm afraid. However, the
code is really fairly small, so I don't think it is too difficult to get it
working.

Note that once you have this sorted out, STIR will be able to write
sinograms for you and any data format that STIR supports (Interfile 4.0 and
ECAT7 right now), and will also be able to do list mode reconstructions
soon.

You should extract all this into your STIR directory, and then create a
STIR/local/extra_dirs.mk file as discussed in the User's guide. Then do

make EXTRA_OPT="-I /somelocation/" BUILD=debug listmode_utilities

where /somelocation is such that /somelocation/LMF/lmf.h exists.

We'll then need some way to modify CListModeData::read_from_file to check if
it's an LMF file. At the moment, you could just forget about that check of
course, and assume that it always is such a file.


All the best

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LMF.zip
Type: application/x-zip-compressed
Size: 5373 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20040810/65b6b3a2/attachment.bin>


More information about the Gate-users mailing list