zdavatz / gdt2dicom

Convert a gdt file and an image folder to a dicom file
GNU General Public License v3.0
0 stars 1 forks source link

Create a GUI for gdt2dcom #55

Closed zdavatz closed 1 month ago

zdavatz commented 3 months ago
  1. In the GUI you have be able to select the path for the input gdt file.
  2. In the GUI you have to be able to set the output path for the worklist file.
  3. The GUI should poll the gdt Dir for a new file. If a new files is there convert it to a .wl file.
  4. Input filename is always: epat.gdt
  5. Once the epat.gdt file has been processed move it out of the way to processed dir.
  6. You should be able to set 10 individual path pairs in case a client has several devices, we need to be able to handle up to 10 worklist dirs.
  7. Creating the worklist file you have to set the AE-title, modality in the GUI for every path combination.
  8. Use dcmmodify to set the values:
    dcmodify" -i "(0040,0100)[0].(0008,0060)=US" "$($_.FullName)"
    dcmodify" -i "0032,1060=echonas" "$($_.FullName)"
zdavatz commented 3 months ago
  1. The DICOM Worklist Dir is the base path for all worklists.
  2. The AEtitle is always the directory name of the worklist output Dir. A .lockfile has to be created in each WL directory.
  3. Setting the AEtitle always automatically creates the WL directory with a .lockfile.
  4. Port number can be chosen as you want.
  5. Clicking add worklist creates another worklist with the empty fields.
  6. Clicking start worklist server starts the worklist server.
  7. The worklist server is started with these options: wlmscpfs -v -d -dfr -dfp /home/viavena/dicom/ 1025
  8. Clicking start Cstore Server starts the cstore server.
  9. If the Cstore Server is running and the JPEG Output Dir is selected, then always the best image is extracted from the DICOM file and stored in the JPEG folder using dcmj2pnm +oj +Wm +Fa 184.dcm lio.jpg. All extracted JPEG image names have to start with patientid_.

gdt2dicom_GUI