You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/lungsegment/virtualenv/medic/lib/python3.7/site-packages/pylidc/Scan.py", line 644, in to_volume
for x in images
File "/home/lungsegment/virtualenv/medic/lib/python3.7/site-packages/pylidc/Scan.py", line 644, in <listcomp>
for x in images
File "/home/lungsegment/virtualenv/medic/lib/python3.7/site-packages/pydicom/dataset.py", line 1716, in pixel_array
self.convert_pixel_data()
File "/home/lungsegment/virtualenv/medic/lib/python3.7/site-packages/pydicom/dataset.py", line 1435, in convert_pixel_data
self._convert_pixel_data_without_handler()
File "/home/lungsegment/virtualenv/medic/lib/python3.7/site-packages/pydicom/dataset.py", line 1545, in _convert_pixel_data_without_handler
raise last_exception
File "/home/lungsegment/virtualenv/medic/lib/python3.7/site-packages/pydicom/dataset.py", line 1525, in _convert_pixel_data_without_handler
self._do_pixel_data_conversion(handler)
File "/home/lungsegment/virtualenv/medic/lib/python3.7/site-packages/pydicom/dataset.py", line 1554, in _do_pixel_data_conversion
arr = handler.get_pixeldata(self)
File "/home/lungsegment/virtualenv/medic/lib/python3.7/site-packages/pydicom/pixel_data_handlers/numpy_handler.py", line 317, in get_pixeldata
.format(actual_length, padded_expected_len)
ValueError: The length of the pixel data in the dataset (524285 bytes) doesn't match the expected length (524288 bytes). The dataset may be corrupted or there may be an issue with the pixel data handler.
This error encounter when I try to convert LIDC-IDRI-0401 to numpy array
The text was updated successfully, but these errors were encountered:
It loads OK for me. Perhaps one of the DICOM files is corrupted as the exception message from pydicom suggests. Maybe try redownloading 0401 to see if the error persists?
This error encounter when I try to convert
LIDC-IDRI-0401
to numpy arrayThe text was updated successfully, but these errors were encountered: