storescu for large multiframes

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
hanna rotermund
Posts: 9
Joined: Wed, 2006-06-07, 10:50

storescu for large multiframes

#1 Post by hanna rotermund »

as already discussed in Mainz ( DICOM-Treffen) it would be great to have the possibility to send large multiframes which exceed memory

greetings, Hanna

Michael Onken
DCMTK Developer
Posts: 2054
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#2 Post by Michael Onken »

Hi Hanna,

at the moment there is no way to tell storescu to send data directly from disk instead of loading the file into memory. However, if you look at storescu's call to DIMSE_storeUser() which hands the dataset to the network code for sending, the same function has a parameter for sending a file instead. You could try extending storescu to use that parameter and tell us the outcome :-) From my first look at the code, it should be fairly easy changing the functionality in that regard.

I hope that helps...
Greetings Michael :-)

hanna rotermund
Posts: 9
Joined: Wed, 2006-06-07, 10:50

#3 Post by hanna rotermund »

Hi Michael,

sorry for the delay of time.
I changed the DIMSE_storeUser call into
(assoc, presID, &req, fname, NULL, NULL, NULL, ...
instead of
( assoc, presID, &req, dcmff.getDataset(),...) and
I get only the DICOM header on my server.

This happens with large images which cannot by loaded into memory.
( calling dcmdump --load-all fname does not load pixel data!)

What can I do?

Greetings Hanna :( :?

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1449
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#4 Post by Marco Eichelberg »

I would suggest that you first check out the latest DCMTK snapshot. If I remember correctly, this should already be able to send very large datasets, since an (somewhat experimental) patch enabling this functionality was checked into our CVS in November 2007.

Post Reply

Who is online

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