Home > vbmeg > functions > tool_box > dynamics_movie > test_fig > basic_tool > get_mni_coord.m

get_mni_coord

PURPOSE ^

SYNOPSIS ^

function [Vmni_from,Vmni_to] = get_mni_coord(conn_file,brainfile)

DESCRIPTION ^

 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    [Vmni_from,Vmni_to] = get_mni_coord(conn_file,brainfile)
0002 %
0003 % Copyright (C) 2011, ATR All Rights Reserved.
0004 % License : New BSD License(see VBMEG_LICENSE.txt)
0005 
0006 Vmni = vb_load_cortex(brainfile, 'MNI');
0007 
0008 load(conn_file);
0009 % Index_to :結合の終点となる頂点でのインデックス情報
0010 % Index_from:結合の起点となる頂点でのインデックス情報
0011 
0012 % Vmni_to :結合の終点となる頂点MNI座標
0013 % Vmni_from:結合の起点となる頂点MNI座標
0014 Vmni_to   = Vmni(Index_to,:)'*1000;
0015 Vmni_from = Vmni(Index_from,:)'*1000;

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