Skip to content

[Bug] OHIF 3.12 release candidate is creating invalid DICOM seg objects #5779

@wayfarer3130

Description

@wayfarer3130

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions