-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnii_jpg.sh
77 lines (61 loc) · 8.78 KB
/
nii_jpg.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// tr
python nii_to_jpg.py --nii_file InfNet/Dataset/tr_im.nii --filename_prefix tr --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/tr_im.nii --filename_prefix tr --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/tr_mask.nii --filename_prefix tr --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/GT/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/tr_mask.nii --filename_prefix tr --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Prior/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/tr_mask.nii --filename_prefix tr --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/GT/ --save_type png
// rp
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/1.nii --filename_prefix rp_1 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/2.nii --filename_prefix rp_2 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/3.nii --filename_prefix rp_3 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/4.nii --filename_prefix rp_4 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/5.nii --filename_prefix rp_5 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/6.nii --filename_prefix rp_6 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/7.nii --filename_prefix rp_7 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/8.nii --filename_prefix rp_8 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/9.nii --filename_prefix rp_9 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/1.nii --filename_prefix rp_1 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/2.nii --filename_prefix rp_2 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/3.nii --filename_prefix rp_3 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/4.nii --filename_prefix rp_4 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/5.nii --filename_prefix rp_5 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/6.nii --filename_prefix rp_6 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/7.nii --filename_prefix rp_7 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/8.nii --filename_prefix rp_8 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Imgs/ --save_type jpg
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_im/9.nii --filename_prefix rp_9 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Imgs/ --save_type jpg
//rp_1_mask
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/1.nii --filename_prefix rp_1 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/GT/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/1.nii --filename_prefix rp_1 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Prior/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/1.nii --filename_prefix rp_1 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/GT/ --save_type png
//rp_2_mask
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/2.nii --filename_prefix rp_2 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/GT/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/2.nii --filename_prefix rp_2 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Prior/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/2.nii --filename_prefix rp_2 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/GT/ --save_type png
//rp_3_mask
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/3.nii --filename_prefix rp_3 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/GT/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/3.nii --filename_prefix rp_3 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Prior/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/3.nii --filename_prefix rp_3 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/GT/ --save_type png
//rp_4_mask
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/4.nii --filename_prefix rp_4 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/GT/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/4.nii --filename_prefix rp_4 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Prior/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/4.nii --filename_prefix rp_4 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/GT/ --save_type png
//rp_5_mask
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/5.nii --filename_prefix rp_5 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/GT/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/5.nii --filename_prefix rp_5 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Prior/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/5.nii --filename_prefix rp_5 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/GT/ --save_type png
//rp_6_mask
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/6.nii --filename_prefix rp_6 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/GT/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/6.nii --filename_prefix rp_6 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Prior/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/6.nii --filename_prefix rp_6 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/GT/ --save_type png
//rp_7_mask
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/7.nii --filename_prefix rp_7 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/GT/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/7.nii --filename_prefix rp_7 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Prior/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/7.nii --filename_prefix rp_7 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/GT/ --save_type png
//rp_8_mask
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/8.nii --filename_prefix rp_8 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/GT/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/8.nii --filename_prefix rp_8 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Prior/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/8.nii --filename_prefix rp_8 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/GT/ --save_type png
//rp_9_mask
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/9.nii --filename_prefix rp_9 --output_folder InfNet/Dataset/TrainingSet/LungInfection-Train/GT/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/9.nii --filename_prefix rp_9 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/Prior/ --save_type png --is_binary True
python nii_to_jpg.py --nii_file InfNet/Dataset/rp_msk/9.nii --filename_prefix rp_9 --output_folder InfNet/Dataset/TrainingSet/MultiClassInfection-Train/GT/ --save_type png