dcmjs
dcmjs copied to clipboard
SR support with Cornerstone 3D - multi-frame DICOM files
When saving an SR onto a multi-frame DICOM file, the frame number information are not being saved at all.
The reason is that dcmjs
tries to detect multi-frame feature of a DICOM file, purely by sopClassID, and as we don't have all possible sopClassIDs in the comparison routine, measurement SRs are not working properly with many multi-frame DICOM files.
https://github.com/dcmjs-org/dcmjs/blob/914b3dccd1a9e9fd19f2ac94be6e02a82a6316ec/src/adapters/Cornerstone3D/MeasurementReport.js#L289
https://github.com/dcmjs-org/dcmjs/blob/914b3dccd1a9e9fd19f2ac94be6e02a82a6316ec/src/normalizers.js#L56
Thanks for reporting. Yes, adding all multiframe SOPClasses to the list would be good.