Export red slice as array with specific zoom


I want to extract the image of the red slice as seen in the visualisation. That is, with the corresponding zoom and dimension. I don’t need the dicom file, just the array of values in HU.
How can I do this?


I think that this script will do what you want:
Get reformatted image from a slice viewer as numpy array