Home > vbmeg > standard_brain > vb_set_icbm152.m

vb_set_icbm152

PURPOSE ^

Make Standard brain file.

SYNOPSIS ^

function [brain_parm, proj_root] = vb_set_icbm152(Nvertex)

DESCRIPTION ^

 Make Standard brain file.
 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function    [brain_parm, proj_root] = vb_set_icbm152(Nvertex)
0002 % Make Standard brain file.
0003 % Copyright (C) 2011, ATR All Rights Reserved.
0004 % License : New BSD License(see VBMEG_LICENSE.txt)
0005 
0006 %
0007 % --- Pervious check
0008 %
0009 if nargin ~= 1
0010     error('Nvertex is a required parameter.');
0011 end
0012 
0013 
0014 global vbmeg_inst;
0015 
0016 % ID for MNI-ICBM152
0017 std_id = 'mni_icbm152_t1_tal_nlin_asym_09c';
0018 
0019 std_file = vbmeg_inst.const.FILE_MNI_ICBM152_HDR;
0020 
0021 std_dir   = vb_get_file_parts(std_file);
0022 fs_dir    = fullfile(std_dir, 'FreeSurfer', std_id, 'private');
0023 
0024 % brain dir
0025 proj_root = fullfile(std_dir, ['mni_icbm152_t1_tal_nlin_asym_09c_', num2str(Nvertex)]);
0026 
0027 % dirctory
0028 brain_parm.std_id    = std_id;
0029 brain_parm.std_dir   = std_dir;
0030 brain_parm.fs_dir    = fs_dir;
0031 
0032 
0033 % image file
0034 brain_parm.analyze_file = fullfile(std_dir, [std_id '.hdr']);
0035 
0036 % brain file
0037 output_file = [std_id, '_', num2str(Nvertex)];
0038 brain_parm.brain_file  = [output_file '.brain.mat'];
0039 brain_parm.area_file     = [output_file '.area.mat' ];
0040 brain_parm.act_file      = [output_file '.act.mat'  ];
0041 
0042 brain_parm.area_aal      = [output_file '_aal.area.mat' ];
0043 brain_parm.act_aal       = [output_file '_aal.act.mat'  ];
0044 
0045 brain_parm.area_brodmann = [output_file '_brodmann.area.mat' ];
0046 brain_parm.act_brodmann  = [output_file '_brodmann.act.mat'  ];
0047 
0048 brain_parm.area_dktatlas = [output_file '_DKTatlas.area.mat' ];
0049 brain_parm.act_dktatlas  = [output_file '_DKTatlas.act.mat'  ];
0050 
0051 brain_parm.area_destrieux = [output_file '_Destrieux.area.mat' ];
0052 brain_parm.act_destrieux  = [output_file '_Destrieux.act.mat'  ];
0053 
0054 brain_parm.area_yeo2011_17networks = [output_file '_Yeo2011_17Networks.area.mat' ];
0055 brain_parm.act_yeo2011_17networks  = [output_file '_Yeo2011_17Networks.act.mat'  ];
0056 
0057 brain_parm.area_yeo2011_7networks = [output_file '_Yeo2011_7Networks.area.mat' ];
0058 brain_parm.act_yeo2011_7networks  = [output_file '_Yeo2011_7Networks.act.mat'  ];
0059 
0060 brain_parm.area_hc_mmp1 = [output_file '_HCP_MMP1.area.mat' ];
0061 brain_parm.act_hc_mmp1  = [output_file '_HCP_MMP1.act.mat'  ];
0062 
0063 % FreeSurfer file
0064 brain_parm.FS_left_file         = [fs_dir '/bem/lh.smoothwm.asc'];
0065 brain_parm.FS_right_file        = [fs_dir '/bem/rh.smoothwm.asc'];
0066 brain_parm.FS_left_infl_file    = [fs_dir '/bem/lh.inflated.asc'];
0067 brain_parm.FS_right_infl_file   = [fs_dir '/bem/rh.inflated.asc'];
0068 brain_parm.FS_left_curv_file    = [fs_dir '/bem/lh.curv.asc'];
0069 brain_parm.FS_right_curv_file   = [fs_dir '/bem/rh.curv.asc'];
0070 
0071 brain_parm.FS_left_sphere_file  = [fs_dir '/bem/lh.sphere.reg.asc'];
0072 brain_parm.FS_right_sphere_file = [fs_dir '/bem/rh.sphere.reg.asc'];
0073 
0074 brain_parm.FS_left_label_file  = [fs_dir '/label/lh.cortex.label'];
0075 brain_parm.FS_right_label_file = [fs_dir '/label/rh.cortex.label'];
0076 
0077 brain_parm.FS_sphere_key = 'sphere.reg';
0078 
0079 
0080 brain_parm.R_max = 0.018;
0081 brain_parm.Nvertex = Nvertex;
0082 brain_parm.N_step = 50;
0083 brain_parm.display = 200;
0084 brain_parm.keyword = '';
0085 brain_parm.comment = '';

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005