Hello everyone:
i want to modify a tag value in a sequence using dcmodify ,after reading the documents of dcmtk,i still can not write the correct commandline to modify the tag value.please help me.Thanks in advance
How to modify the value of a tag in a sequence
Moderator: Moderator Team
-
- Posts: 70
- Joined: Thu, 2007-08-30, 02:01
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
-
- DCMTK Developer
- Posts: 2051
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi,
it is possible, see the online documentationfor examples, e. g. use
You can mix up Dictionary Names and tags - for the tag (0008,1111) you could also use the Dictionary Name "ReferencedPerformedProcedureStepSequence" instead.
Regards,
Michael[/quote]
it is possible, see the online documentationfor examples, e. g. use
Code: Select all
dcmodify -m "(0008,1111)[0].PatientsName=NewName" yourfile.dcm
Regards,
Michael[/quote]
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 1 guest