Hello,
Thank you for making this data publicly available. I'm trying to access the radiology volumes in .nii format. They seem to have an unsigned char (or unit16) datatype, hence the intensity values range from 0 to 65535. The rescale slope & intercept have values 1 & 0, respectively. How should I go about converting them to CT Hounsfield units for radiomic analysis?
Created by pmutha Hello, I encountered the same problem. How did you solve it? Solution provided by the first author via email:
Simply convert the datatype of the image to signed int16
image = sitk.ReadImage('CT.mha')
image = sitk.GetArrayFromImage(image)
**image = np.int16(image)**
Drop files to upload
Radiology volume datatype and conversion to HU units? page is loading…