Commit 5f20f41
authored
New features robert (#75)
* 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
* fix py 3.9; remove error in test
---------
Co-authored-by: ga84mun <robert.graf@tum.de>1 parent 0bf3126 commit 5f20f41
File tree
5 files changed
+16
-18
lines changed- TPTBox
- core
- registration/deformable/_deepali
- unit_tests
5 files changed
+16
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1169 | 1169 | | |
1170 | 1170 | | |
1171 | 1171 | | |
1172 | | - | |
1173 | 1172 | | |
1174 | 1173 | | |
1175 | 1174 | | |
1176 | 1175 | | |
1177 | 1176 | | |
1178 | 1177 | | |
1179 | | - | |
1180 | | - | |
1181 | | - | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
| 1178 | + | |
1185 | 1179 | | |
1186 | 1180 | | |
1187 | 1181 | | |
| |||
1190 | 1184 | | |
1191 | 1185 | | |
1192 | 1186 | | |
1193 | | - | |
| 1187 | + | |
1194 | 1188 | | |
1195 | 1189 | | |
1196 | 1190 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
95 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
| |||
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
0 commit comments