Dear Rita,
that's right. If you want to create a NIfTI mask image from a VOI.mat file, you can try the following:
load SPM.mat
load VOI_xxx.mat
XYZ = round(SPM.xVol.iM*[xY.XYZmm;ones(1,size(xY.XYZmm,2))]);
spm_write_filtered(1,XYZ,SPM.xVol.DIM,SPM.xVol.M,'','img_VOI_xxx.nii');
Best regards,
Guillaume.
From: SPM (Statistical Parametric Mapping) <[log in to unmask]> on behalf of Rita Elena Loiotile <[log in to unmask]>
Sent: 28 May 2015 07:03
To: [log in to unmask]
Subject: [SPM] VOI EigenvariateHi,Am I correct that a nifti image of VOIs is not created if one uses the GUI, but is created if one uses the batch module? If so, is there a pretty easy way to create the niftis in the GUI or in matlab?
Thanks!Rita