Commit b54c78d
committed
Enhance image conversion logic in MonaiBundleInferenceOperator
- Improved handling of different dimensional outputs during image conversion to maintain DICOM pixel data arrangement.
- Added specific cases for 2D and 3D images to ensure correct axis handling and data type conversion.
Signed-off-by: Victor Chang <[email protected]>1 parent 94eafcd commit b54c78d
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
966 | 966 | | |
967 | 967 | | |
968 | 968 | | |
969 | | - | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
970 | 981 | | |
971 | 982 | | |
972 | 983 | | |
| |||
0 commit comments