My free MRIcro software will stack a series of 3D volumes into a single 4D
Analyze format file. You will want to download the latest version and then
choose the "Convert 3D files to 4D..." from the File menu. You can download
MRIcro from:
http://www.psychology.nottingham.ac.uk/staff/cr1/mricro.html
However, I agree with Alle Meije: you should think twice about whether you
really need a single 4D file. Unless you have software that only reads 4D
files, it seems nicer to stick with multiple 3D files with their
personalised .mat files (at least with the current version of SPM).
At 09:03 28/11/2000 +0100, Alle Meije Wink wrote:
>Dear Florian,
>
> > Is there an SPM or Matlab procedere to reconvert several 3D Studies
> > (all in Analyze Format) from the same Patient to one large 4D Studie ?
> > Surley this seems trivial for Matlbab programmers, but before I'm forced to
> > write a routine on my own I want to ask you.
> > Maby this Problem is solved from someone else.
>Are you sure you want to do this? It's just as easy to use 3D images
>whose names all start with the same string. Unless the standalone 3D
>images don't make much sense (as in 4D PET images), I think you're
>better off using separate images.
>
>If you ARE sure, take a look at spm_read_vols.m (which supports the
>reading of 4D images) and spm_write_vol.m (which is only for 3D images).
>It shouldn't be too difficult to write a routine spm_write_vols as well.
>
>Good luck,
>Alle Meije
>
__________________________________________
Dr. Chris Rorden
Department of Psychology
University of Nottingham
Nottingham NG7 2RD, UK
Tel: +44 [0]115-951-5294
Fax: +44 [0]115-951-5324
http://www.psychology.nottingham.ac.uk/staff/cr1/
|