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

I'm attaching a link to successful and an unsuccessful example in case anyone wants to have a go : https://www.dropbox.com/sh/1tyrv81r7d4l5xk/AABx_p295Jhgzwp2BycTik5_a?dl=0
Thank you very much.

Sincerely,

Verónica Muñoz Ramírez
PhD student - Université Grenoble Alpes
Grenoble Institute of Neuroscience
+33 (0) 6 48 46 76 33