You can copy this sort of information using spm_get_space.
M=spm_get_space('image1.nii'); % Read the information from the header of image 1
spm_get_space('image2.nii',M); % Write it to the header of image 2
On 26 August 2011 17:59, Brain Apprentice <[log in to unmask]> wrote:
> I am trying to multiply a Analyze image with a DARTEL normed image in the ImCalc module of SPM8. The dimensions are the same but the voxel size and origin are different.
> Is there a way to temporarily suspend the voxel size and origin checking when running ImCalc?
> Is there a way to map voxel size and origin from the DARTEL image to the Analyze image?
> Thank you in advance for any help or tips you can offer.