I’ve encountered an issue that I was hoping to solve with orthanc, no luck so far.
3rd party MRI site (not willing to adapt) is handing out MRI studies as multiframe instances (single DICOM instance for entire stack of pictures, “Volume”).
Orthanc is being able to convert Transfer Syntax and change compression if a modality needs, in the project I need to rebuild the multiframe instance to a set of single-frame instances, in orded to get compatibility with a single, yet critical Q/R connected DICOM node.
I’m aware of existance of gdcmtar, emf2sf, duncat, and dcmulti, none of them worked so far, not even talking about being (end)user-friendly.
What are Your experiences here? Maybe gdcm with gdcmtar could be integrated with orthanc via the gdcm plugin?
It might be easiest and quickest to create a script that gets called when a new series is stored to check if it a multiframe instance and then convert it to a series of single frame instances, possible removing the original if having both is an issue.
I have a bash script that does the conversion. Currently it used GDCM’s gdcmtar and DCMTK’s dcmodify to handle this (I think I can replace dcmodify with something from GDCM to handle updating the UIDs but haven’t taken the time to do that).
As far as I’m concerned, I would create a Python plugin that would internally use the pydicom library to reconstruct a series of single-frame instances.