Fraser Smith wrote:
> I have data taken across 3 days for the same subject, and one of the
> days has a different voxel size than the others in one dimension.
> I want to put all the data together and am wondering how best to do this
> (what stage of analysis etc).
Hi Fraser,
I'd probably just ignore the dimensions, as SPM will write out the
spatially-normalised images with a common voxel size and bounding box.
If you do want to resample the different day's data to have the same
voxel sizes and overall image dimensions as the other data -- as a
first step (useful I guess for a native space analysis, or if other
non-SPM tools are involved) then you could use my resize_img,
world_bb, and voxsize functions:
http://www.cs.ucl.ac.uk/staff/g.ridgway/vbm/resize_img.m
http://www.cs.ucl.ac.uk/staff/g.ridgway/vbm/world_bb.m
http://www.cs.ucl.ac.uk/staff/g.ridgway/vbm/voxsize.m
In particular, if you run resize_img, pick the different image, and
then when prompted for the voxel sizes, enter voxsize and you can pick
one of the consistent images; similarly when prompted for bounding box
enter world_bb.
Hope that helps (if you decide to do things this way...)
Ged.
|