Another way is to use NIfTI, where .mat files are usually not required (except for 4D data). This may not be quite what you are after though. best regards, -John On Monday 30 June 2008 22:38, Jan Gläscher wrote: > 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