简体   繁体   English

如何在 JAVA 中进行查询/检索?

[英]How can I do a Query/Retrieve in JAVA?

I need to acces to the DicomObjects that are stored in a DCM4CHEE PACS using JAVA (NetBeans) .我需要存取权限的DicomObjects存储在一个DCM4CHEE PACS使用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.到目前为止,我认为我必须使用DCM4CHE库中的类DCMqr ,但我找不到任何示例,也不知道如何使用它。

The dcm4che toolkit usage doc for dcmqr is available here dcmqr 的 dcm4che 工具包使用文档可在此处获得

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).该工具包有一个dcmqr 类,它提供从 DCM4CHEE PACS(或任何其他符合 DICOM 的 PACS)执行C-FINDC-MOVE所有功能。

Simply pass the AE Title, host and port and possibly other options to the DcmQR main method.只需将 AE 标题、主机和端口以及可能的其他选项传递给DcmQR主方法。

  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您必须在源路径中包含 dcm4che jar 文件(例如 commons.cli jar、core jar、net-jar 和其他 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"您必须像 dcmqr.main(argst) 一样调用 dcm4che Q/R,其中 argst 是字符串数组,您的参数如argst[0]="Port" argst[1]="server"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM