diff --git a/src/python/dicomifier/bruker_to_dicom/modules/image.py b/src/python/dicomifier/bruker_to_dicom/modules/image.py index 8b5d18b..27cec06 100644 --- a/src/python/dicomifier/bruker_to_dicom/modules/image.py +++ b/src/python/dicomifier/bruker_to_dicom/modules/image.py @@ -94,8 +94,7 @@ def get_pixel_data(data_set, generator, frame_index): numpy.cumprod([x[0] for x in volume_groups])[-1], -1, data_set["PIXELDATA"].shape[-1]), "A") - for index in numpy.ndindex(view.shape[:-2]): - view[index, :] = view[index][::-1, :] + view = view.flip(axis=1) # Mark slice order as normal data_set["VisuCoreDiskSliceOrder"] = ["disk_normal_slice_order"]