Load neighbour data of the brain file. --- function [nextDD,nextIX] = vb_load_cortex_neighbour(brainfile) --- Input brainfile: .brain.mat file --- Output nextDD{n} : Distance to neighbour points at n-th vertex nextIX{n} : Indices of neighbour points at n-th vertex 2005-08-19 Taku Yoshioka --- Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [nextDD,nextIX] = vb_load_cortex_neighbour(brainfile) 0002 % Load neighbour data of the brain file. 0003 % --- 0004 % function [nextDD,nextIX] = vb_load_cortex_neighbour(brainfile) 0005 % 0006 % --- Input 0007 % brainfile: .brain.mat file 0008 % --- Output 0009 % nextDD{n} : Distance to neighbour points at n-th vertex 0010 % nextIX{n} : Indices of neighbour points at n-th vertex 0011 % 0012 % 2005-08-19 Taku Yoshioka 0013 % --- 0014 % 0015 % Copyright (C) 2011, ATR All Rights Reserved. 0016 % License : New BSD License(see VBMEG_LICENSE.txt) 0017 0018 load(brainfile,'nextDD','nextIX'); 0019