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
When I try to convert the pixel data from a RT Dose dicom to an image or an ndarray I get the following error: Error(InvalidBitsAllocated { backtrace: Backtrace(())) })
I have followed the examples described here and as a test file I have used this dicom: https://github.com/dicompyler/dicompyler-core/blob/master/tests/testdata/example_data/rtdose.dcm
The error appears in version 0.1.5 of dicom_pixeldata whether or not I enable the gcmrs feature.
The text was updated successfully, but these errors were encountered:
The given RT dose image uses 32-bit pixel values, which is currently not supported by the DICOM-rs pixeldata crate. A known alternative to this is to fetch the pixel data manually from the object abstraction, but I would love to support this seamlessly though!
I will take this issue as a tracker for the functionality.
Enet4
changed the title
Error while converting pixel data to ndarray or image
Error while converting 32-bit pixel data to ndarray or image
Jan 27, 2023
When I try to convert the pixel data from a RT Dose dicom to an image or an ndarray I get the following error:
Error(InvalidBitsAllocated { backtrace: Backtrace(())) })
I have followed the examples described here and as a test file I have used this dicom: https://github.com/dicompyler/dicompyler-core/blob/master/tests/testdata/example_data/rtdose.dcm
The error appears in version 0.1.5 of dicom_pixeldata whether or not I enable the gcmrs feature.
The text was updated successfully, but these errors were encountered: