0001
0002
0003
0004
0005
0006
0007 clear all
0008
0009 proj_root = [getenv('MATHOME') '/Retino_TY'];
0010 MRI_ID = 'Retino_TY';
0011
0012
0013 brainfile = [proj_root '/' MRI_ID '.brain.mat'];
0014 analyzefile = [proj_root '/3d.hdr'];
0015
0016
0017 headsave{1} = [proj_root '/test_head1.head.mat'];
0018 headsave{2} = [proj_root '/test_head2.head.mat'];
0019 headsave{3} = [proj_root '/test_head3.head.mat'];
0020
0021
0022 Para.brain_file = brainfile;
0023 Para.analyze_file = analyzefile;
0024
0025
0026 Para.tangent_rate = 0.3;
0027 Para.mask_ratio = 0.5;
0028 Para.mask_threshold = 0.3;
0029
0030 Para.vstep = 1 ;
0031 Para.Nvertex = 3000;
0032
0033 Para.Nloop = 200;
0034 Para.Nlast = 10;
0035 Para.plot_mode = 1;
0036
0037
0038 Para.Radius = [3 3];
0039 vb_job_smooth_head(headsave{1}, headsave{2}, Para);
0040
0041
0042 Para.Radius = [2 2];
0043 vb_job_smooth_head(headsave{2}, headsave{3}, Para);
0044
0045
0046 vb_plot_slice_head(headsave,analyzefile,brainfile);
0047