We need to change certain tag values in treatment plan files. If a tag is in a deeply nested sequence, for example, and its length is changed, will the "automatic data correction" feature adjust other tag values associated with the sequence length, if necessary?
David
Using dcmodify.exe and "automatic data correction"
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2048
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi David,
what kind of "tag values associated with the sequence length" do you mean? If you think of automatic group length or item length correction, the the answer is yes. The dcmdata routines automatically recalculate such values when writing the file.
If you mean other values, please give me a hint, so I can help you.
Regards,
Michael
what kind of "tag values associated with the sequence length" do you mean? If you think of automatic group length or item length correction, the the answer is yes. The dcmdata routines automatically recalculate such values when writing the file.
If you mean other values, please give me a hint, so I can help you.
Regards,
Michael
-
- DCMTK Developer
- Posts: 2048
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
No Problem:-)
I just saw, that you could have meant the explicit option "automatic data correction" from dcmodifys input options. This option (enabled per default) does some extra correction on tag values as said in dcobject.h:
/** This flags defines whether automatic correction should be applied to input
* data (e.g. stripping of padding blanks, removal of blanks in UIDs, etc).
* Default is enabled.
*/
Group lengths and stuff can be controlled additionally through "group length encoding"-, "length encoding in sequences and items"- and "data set trailing padding"-options.
Regards,
Michael
I just saw, that you could have meant the explicit option "automatic data correction" from dcmodifys input options. This option (enabled per default) does some extra correction on tag values as said in dcobject.h:
/** This flags defines whether automatic correction should be applied to input
* data (e.g. stripping of padding blanks, removal of blanks in UIDs, etc).
* Default is enabled.
*/
Group lengths and stuff can be controlled additionally through "group length encoding"-, "length encoding in sequences and items"- and "data set trailing padding"-options.
Regards,
Michael
We are using and can build DCMTK 3.5.3.
dcmodify.exe in this version does not have many of the command line flags as indicated in the current docs at <<http://support.dcmtk.org/docs/dcmodify.html>>, which I assume is about version 3.5.4. Does the old version of dcmodify.exe also support automatic recalculation of group and items lengths?
David
dcmodify.exe in this version does not have many of the command line flags as indicated in the current docs at <<http://support.dcmtk.org/docs/dcmodify.html>>, which I assume is about version 3.5.4. Does the old version of dcmodify.exe also support automatic recalculation of group and items lengths?
David
-
- OFFIS DICOM Team
- Posts: 1437
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest