Hi all,
I’m getting the error “GlSlice: Trying to set a Slice containing NaN.” while trying to open a 3D image with ImFusion. The specifications are resolution: 192x192x148, file type: .nii.gz, spacing 1.0mm. The image is opening successfully in Slicer (slicer.org), and can be successfully read via the Python SimpleITK library (simpleitk.readthedocs.io).
The image is created from a NumPy array, and saved using the SimpleITK Python library. Other images using the same technique load fine in ImFusion.
The NumPy array contains no NaNs when it is saved. Similarly, after re-loading the saved image in Python, no NaNs are found. The range of unique values is:
array([-1020., -1017., -1014., ..., 1558., 1602., 1608.], dtype=float32)
Has anyone encountered the same error, or the least found a working solution?
My ImFusion version is 2.27.1.
Many thanks,
Abdullah