Dear Dennis,
You can change the voxel size of an image like this:
https://en.wikibooks.org/wiki/SPM/How-to#How_to_change_the_voxel_size_of_an_image.3F
If you want to resample your mask image to match the size and resolution
of another (reference) image, you can do this:
spm_reslice({'reference.nii','mask.nii'},struct('mean',false,'which',1,'interp',0));
Best regards,
Guillaume.
On 01/11/16 15:26, Dennis Hernaus wrote:
> Dear SPM experts,
>
> I would like to change the matrix size of a mask image. Is there a straightforward way to accomplish this (without going back to the original analyses and outputting a different matrix size)? Any help would be greatly appreciated.
>
> many thanks,
>
> Dennis Hernaus, PhD
> University of Maryland, School of Medicine.
> Dept. of Psychiatry
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|