Convert Enhanced dicom into plain dicom #1705
Replies: 2 comments 3 replies
-
See my answer in #1691 - here is the gist of it: There is also no generic way to do this, as each SOP class has its own quirks, but most of it is indeed similar, e.g.
After that, some of the tags have to be removed or adapted, and new tags have to be added, which is mostly specific to the concreate SOP class and to your use case, so some configuration would be needed here, too. You also may want to compress the dataset, which may involve other libraries, as All in all, this is not a trivial thing to do and certianly does not belong directly into pydicom, though it would fit into |
Beta Was this translation helpful? Give feedback.
-
Just wanted to say I am a happy pydicom user and after having replaced an in-house multiframe-splitting module (and just found out the update module utterly failed - due to not testing it via enough modalities) I fully support pydicom NOT supporting this. 😂 For those that do not want to implement your own modules, you can check out the below few implementations:
for those that stopped by this page, for entertainment purposes - my barebones failed logic are provided in the gist below: |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
First let me thank you for the amazing you have done on pydicom, I really like it and use it regularly.
I was wondering if you plan on developing a functionality to convert enhanced DICOM format into plain DICOM format? I mean by that generating
n
DICOM files with one slice of the original DICOM file in each, with all the correct tags filled. I know that DCM4CHE proposes this functionality in Java, but I could not find the equivalent in Python. Adding this to pydicom would be great!Thanks!
Beta Was this translation helpful? Give feedback.
All reactions