dcmjs icon indicating copy to clipboard operation
dcmjs copied to clipboard

SR support with Cornerstone 3D - multi-frame DICOM files

Open md-prog opened this issue 2 years ago • 1 comments

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

md-prog avatar Oct 04 '22 17:10 md-prog

Thanks for reporting. Yes, adding all multiframe SOPClasses to the list would be good.

pieper avatar Oct 04 '22 18:10 pieper