DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sun, 2017-12-17, 03:20

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue, 2017-10-10, 11:03 
Offline

Joined: Tue, 2017-10-10, 09:44
Posts: 8
I used MdfDatasetManager::modifyOrInsertFromFile to insert a file into a dicom tag. Now I want to retrieve the file from the tag. Is it possible to do it? Which class and function should I use for this?


Top
 Profile  
 
PostPosted: Tue, 2017-10-10, 18:18 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1650
Location: Oldenburg, Germany
Hi,

you can use the related DcmItem methods, see details in the API documentation. If you inserted binary data (e.g. image data), you might try the findAndGetUint8Array() method. In general all the findAndGet...() methods list the DICOM data types (VRs) they work for. The dcmdata API start page shows how to open a file and get a value in general.

Best,
Michael


Top
 Profile  
 
PostPosted: Wed, 2017-10-11, 06:25 
Offline

Joined: Tue, 2017-10-10, 09:44
Posts: 8
Hi
Michael Onken wrote:
Hi,

you can use the related DcmItem methods, see details in the API documentation. If you inserted binary data (e.g. image data), you might try the findAndGetUint8Array() method. In general all the findAndGet...() methods list the DICOM data types (VRs) they work for. The dcmdata API start page shows how to open a file and get a value in general.

Best,
Michael


It worked. Thanks a lot Michael.

Regards
Hafiz


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

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


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group