Commit 0bf3126
authored
Updates (#74)
* add remove_to_label_for_cc_filter
* add remove_to
* add itk global_cord support
* add referecne for loading POI (POI.load)
* enable loading via Path
* add set_above_3_point_plane
* make an internal function to make vert-seg
* do not corp when empty instead of failing
* fix issue with empty images and cropout
* bug fixes
* ruff
* remove deprecated function
* x
* move assert_affine ot has_grid to avoid duplicat code in NII and POI
* add is_segmentation_in_border
* add support for itk_cords in Global poi
* add new POI definition
* add saving, refactor point reg
* prepare save and load global coords with POI
* enable selection of cuda,mps and cpu for reg
* refactor move save load poi in its separate file
* add save / load for global POI
* bug fix saving
* change default Enum for POI
* ruff
---------
Co-authored-by: ga84mun <robert.graf@tum.de>1 parent 88c4c1a commit 0bf3126
File tree
20 files changed
+1059
-673
lines changed- TPTBox
- core
- internal
- poi_fun
- registration
- deformable
- _deepali
- ridged_points
- segmentation/nnUnet_utils
- spine/snapshot2D
- unit_tests
20 files changed
+1059
-673
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
98 | | - | |
99 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
100 | 110 | | |
101 | 111 | | |
102 | 112 | | |
103 | 113 | | |
104 | 114 | | |
105 | 115 | | |
106 | | - | |
| 116 | + | |
107 | 117 | | |
108 | 118 | | |
109 | 119 | | |
| |||
121 | 131 | | |
122 | 132 | | |
123 | 133 | | |
124 | | - | |
| 134 | + | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
| |||
251 | 261 | | |
252 | 262 | | |
253 | 263 | | |
254 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
255 | 270 | | |
256 | 271 | | |
257 | 272 | | |
258 | 273 | | |
259 | 274 | | |
260 | 275 | | |
261 | 276 | | |
262 | | - | |
263 | | - | |
264 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
265 | 280 | | |
266 | 281 | | |
267 | 282 | | |
268 | | - | |
| 283 | + | |
269 | 284 | | |
270 | 285 | | |
271 | 286 | | |
| |||
275 | 290 | | |
276 | 291 | | |
277 | 292 | | |
| 293 | + | |
| 294 | + | |
278 | 295 | | |
279 | 296 | | |
280 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
238 | | - | |
| 237 | + | |
239 | 238 | | |
240 | 239 | | |
241 | 240 | | |
| |||
696 | 695 | | |
697 | 696 | | |
698 | 697 | | |
699 | | - | |
700 | | - | |
701 | | - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
702 | 701 | | |
703 | 702 | | |
704 | 703 | | |
| |||
1427 | 1426 | | |
1428 | 1427 | | |
1429 | 1428 | | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
1430 | 1450 | | |
1431 | 1451 | | |
1432 | 1452 | | |
| |||
1618 | 1638 | | |
1619 | 1639 | | |
1620 | 1640 | | |
1621 | | - | |
1622 | | - | |
| 1641 | + | |
1623 | 1642 | | |
1624 | 1643 | | |
1625 | 1644 | | |
| |||
0 commit comments