as already discussed in Mainz ( DICOM-Treffen) it would be great to have the possibility to send large multiframes which exceed memory
greetings, Hanna
storescu for large multiframes
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2054
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
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
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
-
- Posts: 9
- Joined: Wed, 2006-06-07, 10:50
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
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
-
- OFFIS DICOM Team
- Posts: 1449
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest