@staticmethod
    def vtkImageData_numpy_array(vtkImageData_node):
        shape = list(vtkImageData_node.GetDimensions())
        shape.reverse()
        return vtk.util.numpy_support.vtk_to_numpy(vtkImageData_node.GetPointData().GetScalars()).reshape(shape)
        # shape = list(vtk_node.GetImageData().GetDimensions())
        # shape.reverse()
        # arr = vtk.util.numpy_support.vtk_to_numpy(vtk_node.GetPointData().GetScalars()).reshape(shape)
        # spacing = list(vtk_node.GetSpacing())
        # spacing.reverse()
        # origin = list(vtk_node.GetOrigin())
        # origin.reverse()
        # return arr, spacing, origin
Sends a retrieval notification email.
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/CIP_Common/CIP/logic/SlicerUtil.py/SlicerUtil.vtkImageData_numpy_array--crossover with--dataset/ETHPy150Open google/cauliflowervest/src/cauliflowervest/server/handlers/__init__.py/AccessHandler.SendRetrievalEmail