0001 function define = vb_define_file(define, vbmeg_dir)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 if ~exist('vbmeg_dir', 'var'), vbmeg_dir = ''; end
0017
0018 define.FILE_MNI_ICBM152_HDR = fullfile(vbmeg_dir, 'standard_brain/mni_icbm152_t1_tal_nlin_asym_09c.hdr');
0019 define.FILE_MNI_ICBM152_IMG = strrep(define.FILE_MNI_ICBM152_HDR, '.hdr', '.img');
0020 define.FILE_MNI_ICBM152_BRAIN = fullfile(vbmeg_dir, 'standard_brain', 'mni_icbm152_t1_tal_nlin_asym_09c_20000', 'mni_icbm152_t1_tal_nlin_asym_09c_20000.brain.mat');
0021 define.FILE_MNI_ICBM152_AREA = strrep(define.FILE_MNI_ICBM152_BRAIN, '.brain.mat', '.area.mat');
0022 define.FILE_MNI_ICBM152_ACT = strrep(define.FILE_MNI_ICBM152_BRAIN, '.brain.mat', '.act.mat');
0023
0024 define.FILE_MNI_BETMASK_HDR = fullfile(vbmeg_dir, 'functions/tool_box/atlas2vb_dir/MNI_atlas_templates/betmask.hdr');
0025 define.FILE_MNI_BETMASK_IMG = strrep(define.FILE_MNI_BETMASK_HDR, '.hdr', '.img');
0026
0027 define.FILE_STD_BRAIN_MASK_MAT = fullfile(vbmeg_dir, 'functions/tool_box/atlas2vb_dir/MNI_atlas_templates/brain_mask.mat');
0028 define.FILE_STD_BRAIN_CORTEX = fullfile(vbmeg_dir, 'functions/tool_box/atlas2vb_dir/MNI_atlas_templates/ch2_std.brain.mat');