简体   繁体   中英

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) .

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.

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.

  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"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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