-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from khanlab/coiled-example
threshold-based segmentation, coiled for N4/thresholding, BIDS app CLI, gubra and marmoset template,
- Loading branch information
Showing
42 changed files
with
10,801 additions
and
736 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rerun-triggers: mtime |
Binary file not shown.
Binary file not shown.
136 changes: 136 additions & 0 deletions
136
spimquant/resources/MBMv3/atlas_MBM_cortex_vPaxinos.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
0 background 150 150 150 0 | ||
1 A1/A2 7 8 64 0 | ||
2 A10 179 100 217 0 | ||
3 A11 165 95 172 0 | ||
4 A13L 14 228 236 0 | ||
5 A13M 51 172 123 0 | ||
6 A13a 100 103 118 0 | ||
7 A13b 28 132 190 0 | ||
8 A14C 238 200 155 0 | ||
9 A14R 225 60 213 0 | ||
10 A19DI 146 204 208 0 | ||
11 A19M 99 49 13 0 | ||
12 A23V 0 191 175 0 | ||
13 A23a 13 211 56 0 | ||
14 A23b 2 229 144 0 | ||
15 A23c 132 131 187 0 | ||
16 A24a 189 196 167 0 | ||
17 A24b 37 108 71 0 | ||
18 A24c 237 99 183 0 | ||
19 A24d 27 241 237 0 | ||
20 A25 58 184 104 0 | ||
21 A29a-c 216 74 146 0 | ||
22 A29d 160 100 160 0 | ||
23 A30 174 115 171 0 | ||
24 A31 195 172 232 0 | ||
25 A32 60 4 178 0 | ||
26 A32V 167 133 133 0 | ||
27 A35 122 26 55 0 | ||
28 A36 8 95 46 0 | ||
29 A3a 70 225 112 0 | ||
30 A3b 231 133 195 0 | ||
31 A45 42 139 15 0 | ||
32 A46D 59 75 44 0 | ||
33 A46V 185 153 120 0 | ||
34 A47L 186 52 116 0 | ||
35 A47M 133 127 171 0 | ||
36 A47O 190 250 213 0 | ||
37 A4ab 23 140 132 0 | ||
38 A4c 65 137 171 0 | ||
39 A6DC 102 237 98 0 | ||
40 A6DR 122 178 222 0 | ||
41 A6M 161 197 114 0 | ||
42 A6Va 55 199 103 0 | ||
43 A6Vb 11 134 164 0 | ||
44 A8C 69 165 51 0 | ||
45 A8aD 189 185 209 0 | ||
46 A8Av 166 192 88 0 | ||
47 A8b 36 165 102 0 | ||
48 A9 187 87 130 0 | ||
49 dummylabel49 230 195 13 0 | ||
50 AI 154 249 209 0 | ||
51 AIP 231 42 21 0 | ||
52 Apri 148 131 133 0 | ||
53 dummylabel53 82 111 230 0 | ||
54 AuA1 0 107 19 0 | ||
55 AuAL 20 186 75 0 | ||
56 AuCL 18 243 45 0 | ||
57 AuCM 241 117 122 0 | ||
58 AuCPB 96 130 21 0 | ||
59 AuML 152 110 37 0 | ||
60 AuR 245 32 45 0 | ||
61 AuRM 20 97 209 0 | ||
62 AuRPB 205 53 17 0 | ||
63 AuRT 238 11 43 0 | ||
64 AuRTL 238 224 176 0 | ||
65 AuRTM 187 159 152 0 | ||
66 dummylabel66 34 230 119 0 | ||
67 DI 89 187 234 0 | ||
68 dummylabel68 51 179 40 0 | ||
69 dummylabel69 145 207 212 0 | ||
70 Ent 240 249 98 0 | ||
71 FST 215 5 25 0 | ||
72 GI 157 124 190 0 | ||
73 Gu 147 21 113 0 | ||
74 dummylabel74 145 217 128 0 | ||
75 Ipro 104 62 82 0 | ||
76 LIP 49 52 55 0 | ||
77 dummylabel77 71 22 174 0 | ||
78 dummylabel78 202 220 134 0 | ||
79 MIP 111 207 71 0 | ||
80 dummylabel80 176 32 98 0 | ||
81 MST 34 167 186 0 | ||
82 dummylabel82 216 207 134 0 | ||
83 OPAl 216 58 65 0 | ||
84 OPro 72 168 10 0 | ||
85 OPt 187 205 219 0 | ||
86 dummylabel86 89 85 95 0 | ||
87 PE 195 13 121 0 | ||
88 PEC 51 98 229 0 | ||
89 PF 140 58 19 0 | ||
90 PFG 135 166 22 0 | ||
91 PG 53 78 129 0 | ||
92 PGM 100 205 225 0 | ||
93 Pga-IPa 191 200 241 0 | ||
94 dummylabel94 112 207 155 0 | ||
95 dummylabel95 45 105 196 0 | ||
96 PaIL 214 128 134 0 | ||
97 PaIM 252 19 159 0 | ||
98 dummylabel98 53 82 119 0 | ||
99 dummylabel99 133 72 20 0 | ||
100 Pir 194 103 140 0 | ||
101 dummylabel101 33 232 134 0 | ||
102 dummylabel102 14 92 248 0 | ||
103 ProM 242 93 177 0 | ||
104 ProSt 49 177 96 0 | ||
105 ReI 39 126 55 0 | ||
106 S2E 216 214 74 0 | ||
107 S2I 251 158 185 0 | ||
108 S2PR 99 211 181 0 | ||
109 S2PV 179 18 249 0 | ||
110 dummylabel110 66 134 238 0 | ||
111 STR 123 101 9 0 | ||
112 TE1 170 183 113 0 | ||
113 TE2 204 197 166 0 | ||
114 TE3 51 68 239 0 | ||
115 TEO 152 110 38 0 | ||
116 TF 237 30 183 0 | ||
117 TFO 137 158 71 0 | ||
118 TH 7 8 200 0 | ||
119 TL 134 230 110 0 | ||
120 TLO 100 68 175 0 | ||
121 TPO 71 122 174 0 | ||
122 TPPro 128 130 190 0 | ||
123 Tpro 213 211 56 0 | ||
124 TPt 14 128 136 0 | ||
125 dummylabel125 110 113 118 0 | ||
126 V1 122 126 155 0 | ||
127 V2 12 209 104 0 | ||
128 V3 112 109 4 0 | ||
129 V3A 155 99 103 0 | ||
130 V4 170 105 171 0 | ||
131 V4T 30 100 119 0 | ||
132 V5 100 104 208 0 | ||
133 V6 11 34 64 0 | ||
134 V6A 130 190 113 0 | ||
135 VIP 27 18 64 0 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Gubra AutoF template | ||
Modified from: https://github.com/Gubra-ApS/LSFM-mouse-brain-atlas | ||
|
||
(posted files did not have correct header information (voxel size), was not in similar physical space to ABAv3, and had a different label mapping. This corrects by using the below c3d commands for spacing reslicing, and a python script to remap the labels. Note: the rigid transform was found using itksnap (align by center, then MI rigid reg) | ||
|
||
e.g.: | ||
``` | ||
c3d gubra_template_olf.nii.gz -spacing 0.025x0.025x0.025mm -o gubra_template_olf_spacing.nii.gz | ||
c3d ../../ABAv3/P56_Atlas.nii.gz gubra_template_olf_spacing.nii.gz -reslice-itk ../../gubra/gubra_withspacing_to_aba_rigid_itk.txt -o ../../gubra/gubra_template_olf_spacing_reslice.nii.gz | ||
c3d -int 0 gubra_template_olf_spacing_reslice.nii.gz gubra_ano_olf_spacing_remap.nii.gz -reslice-itk gubra_withspacing_to_aba_rigid_itk.txt -o gubra_ano_olf_spacing_remap_reslice.nii.gz | ||
``` |
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
spimquant/resources/gubra/gubra_withspacing_to_aba_rigid_itk.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#Insight Transform File V1.0 | ||
#Transform 0 | ||
Transform: MatrixOffsetTransformBase_double_3_3 | ||
Parameters: 0.9999998057710713 -0.0002197796696958088 -0.0005256684084527258 0.00021575284727777427 0.9999707352656585 -0.007648191524472518 0.0005273339125645778 0.007648076704510192 0.9999705800196018 235.7528966315556 316.94457485358885 -159.1717420834618 | ||
FixedParameters: 0 0 0 |
Oops, something went wrong.