-
Notifications
You must be signed in to change notification settings - Fork 15
/
alineate_MEAN_withafni.sh
executable file
·38 lines (25 loc) · 2.7 KB
/
alineate_MEAN_withafni.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
echo "fange an"
master=MEAN_no_touch.nii
echo "es wird alles an $master ausgerichted"
3dQwarp -allineate -blur 0 0 -base $master -source MEAN_right.nii -prefix warped_MEAN_right.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_right_WARP.nii -source VASO_right.nii -prefix warped_VASO_right.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_right_WARP.nii -source BOLD_right.nii -prefix warped_BOLD_right.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_right_WARP.nii -source T1_right.nii -prefix warped_T1_right.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_right_WARP.nii -source dVASO_right.nii -prefix warped_dVASO_right.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_right_WARP.nii -source dBOLD_right.nii -prefix warped_dBOLD_right.nii -overwrite
3dQwarp -allineate -blur 0 0 -base $master -source MEAN_left.nii -prefix warped_MEAN_left.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_left_WARP.nii -source VASO_left.nii -prefix warped_VASO_left.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_left_WARP.nii -source BOLD_left.nii -prefix warped_BOLD_left.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_left_WARP.nii -source T1_left.nii -prefix warped_T1_left.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_left_WARP.nii -source dVASO_left.nii -prefix warped_dVASO_left.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_left_WARP.nii -source dBOLD_left.nii -prefix warped_dBOLD_left.nii -overwrite
3dQwarp -allineate -blur 0 0 -base $master -source MEAN_no_touch.nii -prefix warped_MEAN_no_touch.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_no_touch_WARP.nii -source VASO_no_touch.nii -prefix warped_VASO_no_touch.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_no_touch_WARP.nii -source BOLD_no_touch.nii -prefix warped_BOLD_no_touch.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_no_touch_WARP.nii -source T1_no_touch.nii -prefix warped_T1_no_touch.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_no_touch_WARP.nii -source dVASO_no_touch.nii -prefix warped_dVASO_no_touch.nii -overwrite
3dNwarpApply -nwarp warped_MEAN_no_touch_WARP.nii -source dBOLD_no_touch.nii -prefix warped_dBOLD_no_touch.nii -overwrite
echo "und tschuess"
#the following does not perform well
#3dWarpDrive -base MEAN_no_touch.nii -cubic -input MEAN_right.nii -prefix warp_drive_touch.nii -bilinear_general -overwrite