The NIfTI headers contain a bunch of fields that are not fully supported
within SPM5. SPM can read the fields, but does not write them (or sticks in
default values). After we have made the full switch from the spm_vol
utilities, and move to the nifti utilities, then we can start to deal with
all fields. Because SPM currently involves over 300,000 lines of code, then
changing everything over can take a while.
Best regards,
-John
On Tuesday 08 July 2008 10:08, Dr. Karsten Mueller wrote:
> Dear Colleagues,
>
> we are using Realign and Unwarp (spm_realign.m, spm_uw_estimate.m, and
> spm_uw_apply.m) with 4D-NIfTI data which gives very nice results.
>
> However, these m-routines seem to change the NIfTI-header. Before
> starting the realignment, our header shows
>
> time_units ms
> pixdim4 2000.0000000000
>
> which is correct. After using realign and unwarp, the NIfTI header shows
>
> time_units s
> pixdim4 1.0000000000
>
> This might be a problem when further programs are using the repetition
> time from the NIfTI header.
>
> With best wishes,
> Karsten
|