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, 07:19

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue, 2010-05-18, 11:28 
Offline

Joined: Tue, 2010-05-18, 11:19
Posts: 1
Hi to all, I need help for my software's write. I've used DCMTK tools as guideline.
My intent is to change the element PixelData.
I use ImageMagick to convert a dicom file in a jp2 file ( jpeg 2000 ) ( the conversion is ok ).
I change pixelData after read the jp2 file in memory.
finally i change transfer syntax with jp2' one ( supported by dicom ).
I save file but i can't see it. Do i have to edit my dcm structure ( edit other elements or edit some tags ).
i need help pls!

Thanks you very much!


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 2010-05-25, 20:44 
Offline
ICSMED DICOM Services
ICSMED DICOM Services

Joined: Fri, 2004-10-29, 21:38
Posts: 2217
Location: Oldenburg, Germany
Look into the source code of dump2dcm or xml2dcm (current snapshot) and search for "putOriginalRepresentation" in order to get an idea how to fill the pixel sequence with items from external files. Of course, you could also use dcmdump on an existing compressed DICOM image with option --write-pixel, replace the referenced raw file(s) which contain(s) the pixel items and then call dump2dcm.


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Bing [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:  
cron
Powered by phpBB® Forum Software © phpBB Group