Segment T1 image. Resultant gray matter file will be used in making leadfield. Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function segment_T1(p) 0002 % Segment T1 image. 0003 % Resultant gray matter file will be used in making leadfield. 0004 % 0005 % Copyright (C) 2011, ATR All Rights Reserved. 0006 % License : New BSD License(see VBMEG_LICENSE.txt) 0007 0008 disp(mfilename); 0009 0010 % Set input file 0011 mri_file = fullfile(p.proj_root, p.t1_dirname, ['m' p.struct_name '.nii']); 0012 0013 % Segment T1 image 0014 vb_sn_and_graymatter_file_create(mri_file)