0001
0002
0003
0004
0005
0006 clear all
0007
0008
0009 Mat_dir = [getenv('MATHOME') ];
0010
0011 std_brain = [Mat_dir '/Standard_brain/std_brain/ch2_std.brain.mat'];
0012
0013
0014 analyzefile = [Mat_dir '/NH_SEF/NH_brain/3D.hdr'];
0015 snfile = [Mat_dir '/NH_SEF/NH_brain/3D_sn.mat'];
0016
0017
0018 [V, F] = vb_load_cortex(std_brain);
0019
0020 V = V*1000;
0021
0022
0023 [V,F,xx] = vb_get_cortex_surf_from_std(std_brain,snfile);
0024
0025
0026 [Bs, Vdim, Vsize] = vb_load_analyze_to_right(analyzefile);
0027 Vana = vb_spm_right_to_analyze_right(V, Vdim, Vsize);
0028
0029
0030 vb_plot_head_mask(Bs,[],'z',Vana,F.F3L,Vana,F.F3R);
0031 figure
0032 vb_plot_head_mask(Bs,[],'x',Vana,F.F3L,Vana,F.F3R);
0033
0034 return