DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sat, 2017-12-16, 15:43

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Creating SC Image
PostPosted: Mon, 2013-04-22, 10:22 
Offline

Joined: Mon, 2013-04-22, 09:52
Posts: 11
Hi,

I want to create a Secondary Capture Image by editing pixels of existing DICOM file and copying relevant attributes from it.

I am wondering how DCMTK can help me with that. For instance, is there a way to copy all attributes of a DICOM module or do attributes have to be copied one by one? Also, is DcmPixelData the highest level abstraction of the image (for editing purposes) or is there maybe a way to work with "Image Pixel" DICOM module some other way?


Top
 Profile  
 
 Post subject: Re: Creating SC Image
PostPosted: Wed, 2013-04-24, 08:24 
Offline
DCMTK Developer

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

you can copy a whole dataset by calling DcmDataset->clone(). Then change all required attributes.

HTH,
Michael


Top
 Profile  
 
 Post subject: Re: Creating SC Image
PostPosted: Fri, 2013-04-26, 10:29 
Offline

Joined: Mon, 2013-04-22, 09:52
Posts: 11
So either I copy attributes one by one or I copy all and delete excess attributes one by one (and of course, change few to make it SC Image).

Thank you!


Top
 Profile  
 
 Post subject: Re: Creating SC Image
PostPosted: Wed, 2013-05-08, 10:43 
Offline
DCMTK Developer

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


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users 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