-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Describe the Bug
Export a DICOM SEG in OHIF, and then run dciodvfy or dcmdump.
You will see
246: (0002,0010) UI #20 [1.2.840.10008.1.2.1] TransferSyntaxUID
...
23632: (7FE0,0010) OW #-1 PixelData
23644: >(FFFE,E000) #4 [0\0] Item
23656: >(FFFE,E000) #20480 [0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
44144: >(FFFE,E000) #20480 [0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
64632: >(FFFE,E000) #20480 [0\0\0\0\0\0\0\0\0\0\0\0\0-1-1-1\7\0\0\0\0\0\0\0
85120: >(FFFE,E000) #20480 [0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
105608: >(FFFE,E000) #20480 [0\0\0\0\0\0\0\0\0\0\0\0\0\0-8-1\511\0\0\0\0\0\0
126096: >(FFFE,E000) #20480 [0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
146584: >(FFFE,E000) #8192 [0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
154784: (FFFE,E0DD) #0 SequenceDelimitationItem
as the pixel data, which is encapsulated pixel data, and is complete garbage for storing as this is unencapsulated.
The dcmjs fix:
Steps to Reproduce
Save a segmentation on OHIF, downloading it
The current behavior
Creates "encapsulated" garbage data.
The expected behavior
Creates correct data on save
System Information
NA