New directory per study

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
bjsusel
Posts: 5
Joined: Thu, 2007-05-10, 08:22

New directory per study

#1 Post by bjsusel »

Hello,
I have siemens syngo system in mri and dcmtk in linux debian server.
I want to archive studies in dcmtk.
I configured syngo to send completes studies do dcmtk.
It works but syngo sends all studies (dicom files) to one directory in dcmtk.
Index file is larger than 32 MB and I can't view studies in windows viewers (for example: efilm).
Is there a possibility to set in dcmtk to create new directory per study?
________
Cl90
Last edited by bjsusel on Fri, 2011-02-11, 15:24, edited 1 time in total.

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

#2 Post by Michael Onken »

Hi,

Please try the "--sort-conc-studies" option of storescp. This option starts a new directory for each study it storescp receives. In order to accomplish that, storescp always compares the study of the the file it currently receives with the study of the last file received. Therefore you have to send all images of a study one after another without any objects belonging to a different study in between.

You can also add an additional timeout (option --eostudy-timeout) that always "closes" a directory after receiving no images during the specified time interval. This is especially useful for options like --rename-on-eostudy which start operating after receiving a complete study.

Regards,
Michael

bjsusel
Posts: 5
Joined: Thu, 2007-05-10, 08:22

#3 Post by bjsusel »

Thank you. It works.
I have another question.
Is it possible to insert in the name of directory or name of files number of the study?
________
Vaporizer Forums
Last edited by bjsusel on Fri, 2011-02-11, 15:24, edited 1 time in total.

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

#4 Post by Michael Onken »

I do not fully understand your option request but I guess so far the answer is "No" :? All naming options are documented in the manual page for storescp, which also is available online.

Regards,
Michael

Post Reply

Who is online

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