I use dcmdump.exe (called with params -q +E -M +L +W) to create a dicom text file that can be modified in a text editor and then use dump2dcm.exe to make a dicom file again. But this does not work for tags (OW, OB, OF) that are not written to a file by the "+W" parameter and are too big to be loaded.
So my question / request is if all not loaded binary data could be written to disk - not only pixel data?
dcmdump, dump2dcm to handle all binary data by external file
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2549
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: dcmdump, dump2dcm to handle all binary data by external
The option --write-pixel only refers to the Pixel Data element as the name suggests and the documentation says.
Also the dump2dcm tool only supports the "=<filename>" syntax for OB/OW elements and pixel items (internal type).
The tool xml2dcm should also support other VRs when reading binary data from an external file...
Also the dump2dcm tool only supports the "=<filename>" syntax for OB/OW elements and pixel items (internal type).
The tool xml2dcm should also support other VRs when reading binary data from an external file...
Re: dcmdump, dump2dcm to handle all binary data by external
So can I then make a feature request to implement handing of all binary data by using an external file (dcmdump and dump2dicom)?
-
- DCMTK Developer
- Posts: 2549
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: dcmdump, dump2dcm to handle all binary data by external
Thank you for the proposal. I just added this "feature request" to our (longish) internal to-do list.
However, please be warned that it usually takes quiet a long time for a feature like this to be implemented
(not because of its complexity but because of its low priority and our limited time).
Also see this blog posting: http://blog.jriesmeier.com/2013/03/how- ... the-dcmtk/
However, please be warned that it usually takes quiet a long time for a feature like this to be implemented
(not because of its complexity but because of its low priority and our limited time).
Also see this blog posting: http://blog.jriesmeier.com/2013/03/how- ... the-dcmtk/
Re: dcmdump, dump2dcm to handle all binary data by external file
hello, I am trying to do the same thing so it would be nice to help out and give me the exact commands in how you converted a dicom to raw and back lossless way.Potti wrote: ↑Tue, 2014-11-11, 22:12 I use dcmdump.exe (called with params -q +E -M +L +W) to create a dicom text file that can be modified in a text editor and then use dump2dcm.exe to make a dicom file again. But this does not work for tags (OW, OB, OF) that are not written to a file by the "+W" parameter and are too big to be loaded.
So my question / request is if all not loaded binary data could be written to disk - not only pixel data?
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot] and 1 guest