Export images from DICOM images

Hi, I’m having some problems reading a dicom file. I wish to find a certain image from the dicom file. The image came from the sagittal(yellow) slice, and the coordinate has the smallest absolute value. (What I mean by ‘the coordinate’ is shown in this picture:)

image

Then I want to display it in 2D slice, get it’s array and save it as a jpg file. (later I’m going to use that image to help with diagnose)
I looked this up but couldn’t find the way of doing this. Can anyone help with this problem!

Thanks for your time!

Hi -

The slice views are in patient space (https://www.slicer.org/wiki/Coordinate_systems) but you can look at the DataProbe to see the voxel indices (ijk space). If you imported the data through the DICOM module then the InstanceUIDs for the slices will be stored as attributes of the volume node (available via python but also you can see them in the Data module).