Dear experts,
I used CAT12 for a VBM study. On the segmentation step I choose to save Dartel's inverse and forward deformation fields.
Now I'm trying to use said deformation fields to transform the anatomical images to the template's space but the transformation is not successful in 25% of cases.
Do you have any ideas why ?
Most of the images that failed the procedure include a part of the neck, could this be it ? Do you have any suggestions to solve this issue ?
I'm using a pullback procedure with the forward field.
ichampdef=y_correctAnat.nii;
image=correctAntat.nii;
spm_jobman('initcfg');
matlabbatch{1}.spm.util.defs.comp{1}.def = {ichampdef};
matlabbatch{1}.spm.util.defs.out{1}.pull.fnames = {image};
matlabbatch{1}.spm.util.defs.out{1}.pull.savedir.saveusr = {'/path/'};
matlabbatch{1}.spm.util.defs.out{1}.pull.interp = 4;
matlabbatch{1}.spm.util.defs.out{1}.pull.mask = 1;
matlabbatch{1}.spm.util.defs.out{1}.pull.fwhm = [0 0 0];
matlabbatch{1}.spm.util.defs.out{1}.pull.prefix = 'd';
spm('defaults', 'FMRI');
spm_jobman('run', matlabbatch);
clear matlabbatch
Thank you very much.
Sincerely,