Unhandled exit code when loading Nifti with SimpleITK in python
问题 I am trying to load .nii.gz files using SimpleITK in python using PyCharm. Ideally, ITK has a NIFTI class and I followed these tutorials, so I presume SimpleITK has a wrapper for NIFTI class in ITK. The issue is I get a weird exit code which has no documentation (as per google) like this Process finished with exit code -1073741819 (0xC0000005) The code is as simple as it gets : import numpy as np import SimpleITK as sitk image = sitk.ReadImage(filename) imageSize = image.GetSize() I also