lamyj/dicomifier

DICOM-to-NIfTI fails on images with BitsStored%8 !=0

lamyj opened this issue · 0 comments

lamyj commented

CT scans typically use BitsStored=12 and BitsAllocated=16. The test in image.py should be on BitsAllocated instead of BitsStored, and the data should be masked by 2**BitsStored-1.