Home > vbmeg > demo > tutorial_for_vbmeg2 > advanced > fiber_tracking.m

fiber_tracking

PURPOSE ^

Execute fiber tracking

SYNOPSIS ^

function fiber_tracking(p)

DESCRIPTION ^

 Execute fiber tracking

 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 fiber_tracking(p)
0002 % Execute fiber tracking
0003 %
0004 % Copyright (C) 2011, ATR All Rights Reserved.
0005 % License : New BSD License(see VBMEG_LICENSE.txt)
0006 
0007 disp(mfilename);
0008 
0009 % Set input files
0010 dmri_root = fullfile(p.proj_root, p.dmri_dirname);
0011 parcel_dir = fullfile(dmri_root, p.parcels_dirname);
0012 
0013 % Set output files
0014 work_dir = fullfile(dmri_root, p.fiber_track_dirname);
0015 mif_file = fullfile(work_dir, p.fiber_mif_file);
0016 mask_file = fullfile(work_dir, p.fiber_mask_file);
0017 anatmat_file = fullfile(work_dir, p.anat_matrix_file);
0018 
0019 % Fiber tracking and create Anatomical Matrix
0020 dmri_fiber_track_prob(mif_file, parcel_dir, mask_file, anatmat_file, p.process_host, p.Nworker);
0021

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