Skip to content

Commit 511c85c

Browse files
committed
Update CallSPM12segmentation.m
- SPM12 now outputs forward deformation field (needed for normalizing voxel masks to MNI space)
1 parent 294a991 commit 511c85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CallSPM12segmentation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function CallSPM12segmentation(anatimage)
3737
matlabbatch{1}.spm.spatial.preproc.warp.affreg = 'mni';
3838
matlabbatch{1}.spm.spatial.preproc.warp.fwhm = 0;
3939
matlabbatch{1}.spm.spatial.preproc.warp.samp = 3;
40-
matlabbatch{1}.spm.spatial.preproc.warp.write = [0 0];
40+
matlabbatch{1}.spm.spatial.preproc.warp.write = [0 1];
4141

4242
spm_jobman('run',matlabbatch);
4343

0 commit comments

Comments
 (0)