How can I access coronal pixel data from a MRMLCorePython.vtkMRMLDiffusionWeightedVolumeNode object in a python slicer extension module?
I’m creating a numpy array based on axial diffusion dicom pixel data, e.g.
{code}
np_dwi_array, flip_angles = dicom_util.read_dicomdir(inputDirectory)
outputDWIVolume.SetIJKToRASMatrix(vtk.vtkMatrix4x4())
slicer.util.updateVolumeFromArray(outputDWIVolume, np_dwi_array)
{code}
I’d like to access the coronal pixel data arrays to do region of interest finding analysis on. It is easier to do this analysis on the coronal orientation, even though the original scan data is in the axial orientation. The coronal images are displayed in slicer so I figure it should be programmatically accessible as well.
Thanks