when trying to load a DICOM that was processed with the GDCM library, cornerstone.loadImage throws the following TypeError:
TypeError: e.elements.x00281201 is undefined
The problem is that this error is not handled within the promise that loadImage returns. If this error occurs, the promise never seems to resolve or reject.
Here's some more information about the file that causes the error. It can be found among the example files for the pydicom library.
gdcm-US-ALOKA-16.dcm (from GDCM)
Little endian implicit
Segmented 16-bit Palette Color LUT Data
Modified to remove original patient name and ID from Pixel Data
Hi everyone,
when trying to load a DICOM that was processed with the GDCM library,
cornerstone.loadImage
throws the following TypeError:The problem is that this error is not handled within the promise that
loadImage
returns. If this error occurs, the promise never seems to resolve or reject.Here's some more information about the file that causes the error. It can be found among the example files for the pydicom library.
Steps to reproduce
1) Obtain gdcm-US-ALOKA-16.dcm 2) Upload the file to the hosted WADOImageLoader reference implementation 3) Check your browser console.
Cheers, Lewe