Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Retrieving dicom pictures with weasis via cli

68 views
Skip to first unread message

Jörg Meiforth

unread,
May 9, 2024, 9:52:56 AM5/9/24
to dcm4che
Hello,
this is my first post here, so first of all greetings and thanks to all, who help and discuss here.

I am running a older PACS-server which understands C-MOVE. I installed weasis and configured the dicom nodes. I am able to use the GUI to search the pacs-server, retrieve the files and display them.

My question is: After searching the server, I get a result list, where I check the studies I need and push the button "import and close". Then I think weasis internally does something like "get the dicom files with study-id 342 from server xy and show them". 

Is it possible to achive this with a command line argument (without the pacs-web-connector)? Like "weasis --AEServer ARCHIV --StudyID 342 --show --..." (surely it will be more complex, but that would be no problem).

I have all the needed data ready (AE-Titels, Ports, StudyID, Date, ...), so I don't need the search function of weasis (in most cases), only the retrieve and show part.

If someone could hint me, if this is possible and where I have to look for or how to construct the cli-argument I would be thankful (I searched the weasis documentation - but I didn't find something, where to start and if it is possible - or I didn't understand it.).

Thanks in advance

Jörg

Nicolas Roduit

unread,
May 13, 2024, 4:56:11 PM5/13/24
to dcm4che
No, command protocols are web protocols only (url, wado or dicomweb).

C-MOVE isn't really suitable for this, as many implementations require the viewer's AETitle to be known, and the server can also limit the caller's lP. 

Jörg Meiforth

unread,
May 23, 2024, 3:22:59 PM5/23/24
to dcm...@googlegroups.com
Sorry for my late reply, have a lot of work to do.

Do I understand your answer correctly, that Weasis retrieves the images internally with C-MOVE but the cli arguments are only for the web protocols (that my server does not understand). 

So I could/should/would need to create a local SCU, retrieve the images with a script (i.e. from the pydicom-Package) and then open the files with a Weasis cli command locally.

Greetings

Jörg

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/CM6FEGNyTg4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/9f2ed72f-c948-4e3a-b5ff-c03a9afa90c9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages