Connection pair coordinate file parm.conn_file parm.atlas_file parm.brainfile Vmni{n} : vertex 3D coordinate for n-th connections (MNI-mm) 2014-11-10 Masa-aki Sato Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [Vmni] = load_connection_dti(parm); 0002 % Connection pair coordinate file 0003 % parm.conn_file 0004 % parm.atlas_file 0005 % parm.brainfile 0006 % Vmni{n} : vertex 3D coordinate for n-th connections (MNI-mm) 0007 % 0008 % 2014-11-10 Masa-aki Sato 0009 % 0010 % Copyright (C) 2011, ATR All Rights Reserved. 0011 % License : New BSD License(see VBMEG_LICENSE.txt) 0012 0013 load(parm.conn_file, 'Vtracks', 'Index_to', 'Index_from'); 0014 0015 Data.Vc = Vtracks; 0016 Data.I_to = Index_to; 0017 Data.I_from= Index_from; 0018 0019 [V, id] = reduce_connection(Data, parm); 0020 0021 [Vc, Nc] = cell_to_mat(V); 0022 0023 %return 0024 0025 [Vmni , IMGinfo] = trans_subj_mni_coord(Vc,parm); 0026 0027 Vmni = mat_to_cell(Vmni,Nc);