Home > functions > template > vb_set_brain_parm_test.m

vb_set_brain_parm_test

PURPOSE ^

Set parameters for brain model

SYNOPSIS ^

function brain_parm = vb_set_brain_parm_test(Test_ID)

DESCRIPTION ^

 Set parameters for brain model
   brain_parm = vb_set_brain_parm_test(Test_ID)

 2005-08-09 Taku Yoshioka
 2005-08-10 Masa-aki Sato


 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 = vb_set_brain_parm_test(Test_ID)
0002 % Set parameters for brain model
0003 %   brain_parm = vb_set_brain_parm_test(Test_ID)
0004 %
0005 % 2005-08-09 Taku Yoshioka
0006 % 2005-08-10 Masa-aki Sato
0007 %
0008 %
0009 % Copyright (C) 2011, ATR All Rights Reserved.
0010 % License : New BSD License(see VBMEG_LICENSE.txt)
0011 
0012 SBI     = [getenv('MATHOME') '/SBIdata-new/'];
0013 MRI_ID  = '100008d';
0014 
0015 %
0016 % --- Standard parameters
0017 %
0018 
0019 %
0020 % Input file(absolute path)
0021 %
0022 
0023 % BrainVoyager case
0024 brain_parm.BV_left_file       = [SBI 'matlab/brain/BVl100008d.srf'];
0025 brain_parm.BV_right_file      = [SBI 'matlab/brain/BVr100008d.srf'];
0026 brain_parm.BV_left_infl_file  = [SBI 'matlab/brain/BVl100008d_2_inf1000.srf'];
0027 brain_parm.BV_right_infl_file = [SBI 'matlab/brain/BVr100008d_2_inf1000.srf'];
0028 
0029 % FreeSurfer case
0030 brain_parm.FS_left_file       = [SBI 'matlab/brain/lh.smoothwm.asc'];
0031 brain_parm.FS_right_file      = [SBI 'matlab/brain/rh.smoothwm.asc'];
0032 brain_parm.FS_left_infl_file  = [SBI 'matlab/brain/lh.inflated.asc'];
0033 brain_parm.FS_right_infl_file = [SBI 'matlab/brain/rh.inflated.asc'];
0034 brain_parm.FS_left_curv_file  = [SBI 'matlab/brain/lh.curv.asc'];
0035 brain_parm.FS_right_curv_file = [SBI 'matlab/brain/rh.curv.asc'];
0036 
0037 brain_parm.analyze_file = [SBI 'mri/100008D/' sprintf('x%s.hdr', ...
0038                                                   MRI_ID)];
0039 brain_parm.spm_normalization_file = [];
0040 
0041 %
0042 % Output file(relative path from proj_root)
0043 %
0044 brain_parm.brain_file  = ['brain/' sprintf('%s%s.brain.mat', MRI_ID, Test_ID)];
0045 brain_parm.area_file   = ['brain/' sprintf('%s%s.area.mat', MRI_ID, Test_ID)];
0046 brain_parm.act_file    = ['brain/' sprintf('%s%s.act.mat', MRI_ID, Test_ID)];
0047 
0048 %
0049 % --- Advanced parameters
0050 %  Do not change, unless you understand the meaning of the parameters!!
0051 %
0052 
0053 % Maximum radius for neighbor search
0054 brain_parm.R_max = 18e-3; % 18mm
0055 
0056 % Total Vertex number after reduction(Priority:Nvertex>reduce_ratio)
0057 brain_parm.Nvertex = 20000;
0058 
0059 % Reduce ratio for BV surface data
0060 brain_parm.reduce_ratio = 0.1;
0061 
0062 % Division number of z axis in matching between BV and MRI points
0063 brain_parm.N_step = 50;
0064 
0065 % Display progress for this steps
0066 brain_parm.display = 200;

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005