Commit 0cdec83
authored
Split transform (#4153)
* Redesign whole slide image reading (#4107)
* Redesign BaseWSIReader, WSIReader, CuCIMWSIReader
Signed-off-by: Behrooz <[email protected]>
* Add unittests for WSIReader
Signed-off-by: Behrooz <[email protected]>
* Add image mode for output validation
Signed-off-by: Behrooz <[email protected]>
* Update docs
Signed-off-by: Behrooz <[email protected]>
* Update references to new WSIReader
Signed-off-by: Behrooz <[email protected]>
* Remove legacy WSIReader
Signed-off-by: Behrooz <[email protected]>
* Update unittests
Signed-off-by: Behrooz <[email protected]>
* Update docs
Signed-off-by: Behrooz <[email protected]>
* sort imports
Signed-off-by: Behrooz <[email protected]>
* Clean up imports
Signed-off-by: Behrooz <[email protected]>
* Update docstrings
Signed-off-by: Behrooz <[email protected]>
* Update docs and docstrings
Signed-off-by: Behrooz <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix a typo
Signed-off-by: Behrooz <[email protected]>
* Remove redundant checking
Signed-off-by: Behrooz <[email protected]>
* Update read and other methods
Signed-off-by: Behrooz <[email protected]>
* Update wsireader to support multi image and update docstrings
Signed-off-by: Behrooz <[email protected]>
* Make workaround for CuImage objects
Signed-off-by: Behrooz <[email protected]>
* Add unittests for multi image reading
Signed-off-by: Behrooz <[email protected]>
* Update a note about cucim
Signed-off-by: Behrooz <[email protected]>
* Update type hints and docstrings
Signed-off-by: Behrooz <[email protected]>
* Implement Split transform
Signed-off-by: Behrooz <[email protected]>
* Add unittests
Signed-off-by: Behrooz <[email protected]>
* Update formatting
Signed-off-by: Behrooz <[email protected]>
* Implement SplitDict
Signed-off-by: Behrooz <[email protected]>
* Add unittests for SplitDict
Signed-off-by: Behrooz <[email protected]>
* Add docs
Signed-off-by: Behrooz <[email protected]>
* Remove images from docs
Signed-off-by: Behrooz <[email protected]>
* Address all comments
Signed-off-by: Behrooz <[email protected]>
* Add example and size check
Signed-off-by: Behrooz <[email protected]>
* Update docs
Signed-off-by: Behrooz <[email protected]>
* Revert references to new wsireader
Signed-off-by: Behrooz <[email protected]>
* Add missing comma
Signed-off-by: Behrooz <[email protected]>1 parent d69c5ee commit 0cdec83
File tree
6 files changed
+331
-0
lines changed- docs/source
- monai/transforms
- spatial
- tests
6 files changed
+331
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
740 | 747 | | |
741 | 748 | | |
742 | 749 | | |
| |||
1506 | 1513 | | |
1507 | 1514 | | |
1508 | 1515 | | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
1509 | 1523 | | |
1510 | 1524 | | |
1511 | 1525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
314 | 315 | | |
315 | 316 | | |
316 | 317 | | |
| |||
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
345 | 349 | | |
346 | 350 | | |
347 | 351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
2462 | 2464 | | |
2463 | 2465 | | |
2464 | 2466 | | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
| 2471 | + | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
| 2510 | + | |
| 2511 | + | |
| 2512 | + | |
| 2513 | + | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
| 2518 | + | |
| 2519 | + | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
| 2529 | + | |
| 2530 | + | |
| 2531 | + | |
| 2532 | + | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
| 2544 | + | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
| 2551 | + | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
132 | 136 | | |
133 | 137 | | |
134 | 138 | | |
| |||
2149 | 2153 | | |
2150 | 2154 | | |
2151 | 2155 | | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
| 2189 | + | |
2152 | 2190 | | |
2153 | 2191 | | |
2154 | 2192 | | |
| |||
2169 | 2207 | | |
2170 | 2208 | | |
2171 | 2209 | | |
| 2210 | + | |
| 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 | + | |
| 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 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
0 commit comments