vb_test_std_brain Make subject cortical surface from standard brain model by using spatial normalization file made by SPM vb_job_brain_model_std2sbj(proj_root,brain_parm) --- Input proj_root : root directory for output data file brain_parm : parameter structure - Input file (absolute path) brain_parm.std_brain : Standard brain file brain_parm.spm_normalization_file : Spatial normalization file (SPM *sn.mat) brain_parm.analyze_file: MRI T1 image file (Analyze/NIFTI) - Output file (relative path from proj_root) brain_parm.brain_file : brain_file brain_parm.area_file : area_file brain_parm.act_file : act_file Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 % vb_test_std_brain 0002 % 0003 % Make subject cortical surface from standard brain model 0004 % by using spatial normalization file made by SPM 0005 % 0006 % vb_job_brain_model_std2sbj(proj_root,brain_parm) 0007 % --- Input 0008 % proj_root : root directory for output data file 0009 % 0010 % brain_parm : parameter structure 0011 % - Input file (absolute path) 0012 % brain_parm.std_brain : Standard brain file 0013 % brain_parm.spm_normalization_file : Spatial normalization file (SPM *sn.mat) 0014 % brain_parm.analyze_file: MRI T1 image file (Analyze/NIFTI) 0015 % 0016 % - Output file (relative path from proj_root) 0017 % brain_parm.brain_file : brain_file 0018 % brain_parm.area_file : area_file 0019 % brain_parm.act_file : act_file 0020 % 0021 % Copyright (C) 2011, ATR All Rights Reserved. 0022 % License : New BSD License(see VBMEG_LICENSE.txt) 0023 0024 clear all 0025 0026 % data directory 0027 Mat_dir = [getenv('MATHOME') ]; 0028 std_dir = [Mat_dir '/Standard_brain/std_brain']; 0029 0030 % - Input file (absolute path) 0031 0032 % standard brain cortex model 0033 brain_parm.std_brain = [std_dir '/ch2_std.brain.mat']; 0034 brain_parm.analyze_file = [Mat_dir '/NH_SEF/NH_brain/3D.hdr']; 0035 brain_parm.spm_normalization_file = [Mat_dir '/NH_SEF/NH_brain/3D_sn.mat']; 0036 0037 proj_root = [Mat_dir '/NH_SEF/test'];; 0038 0039 % - Output file (relative path from proj_root) 0040 brain_parm.brain_file = 'test.brain.mat'; 0041 brain_parm.area_file = 'test.area.mat'; 0042 brain_parm.act_file = 'test.act.mat'; 0043 0044 vb_job_brain_model_std2sbj(proj_root,brain_parm); 0045 0046 vb_check_inflate_model(proj_root,brain_parm); 0047 %vb_check_brain_model(proj_root,brain_parm);