Recently I was assigned to develop a simple online DICOM project in which I must query our PACS database for a specific image of a study. Then, the main objective is to parse some of its DICOM tags.
The approach I came up with is to use MOVESCU.EXE to retrieve and locally store the required DCM image file by using STORESCP.EXE as the local DICOM server. However, the only way I can get that image is to retrieve the full study, which is causing a considerable delay on the remaining processes, as I need to read dozens or even hundreads of studies each time.
The command I'm using:
Code: Select all
STORESCP.EXE -v -aet LocalAETitle LocalPort -od TestDirectory
Code: Select all
MOVESCU.EXE -S ArchiveAETitle ArchivePort --call LocalAETitle --aetitle ArchiveAETitle --move LocalAETitle -k QueryRetrieveLevel=IMAGES -k AccessionNumber=AN
Thanks in advance.