-
Notifications
You must be signed in to change notification settings - Fork 0
/
U_fiber_View.m
20 lines (13 loc) · 951 Bytes
/
U_fiber_View.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function U_fiber_View(UFA_Output,view_choice)
% AUTHOR : Gaoxing Zheng
% Institution: Zhongshan Hospital, Fudan University
% EMAIL CONTACT: [email protected]
% DATE: 2022-04-14
if contains(view_choice,'whole_brain')
unix(['mrview -load ',UFA_Output, '/T1/T1w2dwispace.nii.gz',' -imagevisible true -tractography.load ',UFA_Output,'/DWI/Tracking/*.tck -mode 2']);
% unix(['mrview -load ',UFA_Output, '/WMH_extraction/subjects/QC/QC_final_native/*.nii.gz',' -imagevisible true -tractography.load ',UFA_Output,'/DWI/Tracking/*.tck -mode 2']);
elseif contains(view_choice,'U_fiber')
unix(['mrview -load ',UFA_Output, '/T1/T1w2dwispace.nii.gz',' -imagevisible true -tractography.load ',UFA_Output,'/U_fibers/U_fibers.tck -mode 2']);
% unix(['mrview -load ',UFA_Output, '/T1/T1w2dwispace.nii.gz',' -imagevisible true -tractography.load ',UFA_Output,'/WMA_clustering_SWM/U_fiber_tractography.tck -mode 2']);
end
end