How can I do a Query/Retrieve in JAVA?

爱⌒轻易说出口 提交于 2019-12-08 05:57:41

问题


I need to acces to the DicomObjects that are stored in a DCM4CHEE PACS using JAVA (NetBeans).

So far, I think that I have to use the class DCMqr from DCM4CHE library, but I can't find any example and I don't know how to use it.


回答1:


The dcm4che toolkit usage doc for dcmqr is available here

The toolkit has a dcmqr class which provides all of the functionality to do a C-FIND or C-MOVE from a DCM4CHEE PACS (or any other DICOM compliant PACS).

Simply pass the AE Title, host and port and possibly other options to the DcmQR main method.




回答2:


  1. You have to include the dcm4che jar-files in your source-path (eg.g commons.cli jar, core jar, net-jar and others Y
  2. You have to call the dcm4che Q/R like dcmqr.main(argst) where argst is as String Array with your parameter like argst[0]="Port" argst[1]="server"


来源:https://stackoverflow.com/questions/10140652/how-can-i-do-a-query-retrieve-in-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!