Update utils.py
Browse files
utils.py
CHANGED
|
@@ -71,7 +71,7 @@ def convert_dicom_zip_to_nifti(zip_file):
|
|
| 71 |
|
| 72 |
# Extract middle axial slice
|
| 73 |
mid = volume.shape[2] // 2
|
| 74 |
-
slice_2d = volume[:, :, mid
|
| 75 |
|
| 76 |
# Rotate to correct display orientation
|
| 77 |
slice_2d = np.rot90(slice_2d)
|
|
|
|
| 71 |
|
| 72 |
# Extract middle axial slice
|
| 73 |
mid = volume.shape[2] // 2
|
| 74 |
+
slice_2d = volume[:, :, mid]
|
| 75 |
|
| 76 |
# Rotate to correct display orientation
|
| 77 |
slice_2d = np.rot90(slice_2d)
|