Create a new DICOM file in memory and send.

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
anilta
Posts: 60
Joined: Thu, 2014-04-10, 08:50

Create a new DICOM file in memory and send.

#1 Post by anilta »

Can i create a new DICOM image in memory (without storing them in disk) and send them to DICOM SCP?

GiordiX
Posts: 27
Joined: Fri, 2015-01-23, 15:36

Re: Create a new DICOM file in memory and send.

#2 Post by GiordiX »

I don't know what is the DICOM SP but I think yes. You need to create the dataset and you can send it through the network and after save the file in you hard disk. Or you can extract from the dataset the PixelData of the image, send this array and use it in your destination.

J. Riesmeier
DCMTK Developer
Posts: 2505
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Create a new DICOM file in memory and send.

#3 Post by J. Riesmeier »

To the OP: Sure, just create a new DcmDataset instance with all the data elements and use DcmStorageSCU::addDataset() et al. for sending this DICOM objects to the SCP (using C-STORE).

Post Reply

Who is online

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