how can I create DcmDataset with tags and values in it?

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
deepujames
Posts: 19
Joined: Wed, 2005-02-09, 08:44

how can I create DcmDataset with tags and values in it?

#1 Post by deepujames »

Hi
I couldn't find any methods with DcmDataset class which can put a tag and its value to Dataset object created.
If I dont want to load dataset from a part5 encoded file.
how can I assign dcmTag into dataset one after another?

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

See the second example in the "dcmdata" documentation. The putAndInsertXXX() methods are inherited from class DcmItem.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 1 guest