Dear Phil,
John Ashburner wrote a script (see attachment) that I think does the trick,
but if I remember correctly it also resamples to a different voxels size.
You might want check and adapt the code if necessary.
Cheers,
Jan
Philip R. Baldwin wrote:
>
> Dear SPMers,
>
> What is the simplest way to use an image file (.hdr and .img) and its
> transformation file (.mat) and resample it to an image file (.hdr and
> .img), where no auxiliary .mat file is still necessary?
>
>
> Best, Phil
>
--
Jan Gläscher, Ph.D. Div. Humanities & Social Sciences
+1 (626) 395-3898 (office) Caltech, Broad Center, M/C 114-96
+1 (626) 395-2000 (fax) 1200 E. California Blvd
[log in to unmask] Pasadena, CA 91125
|