hi,
I have ConquestDicom Server and I want to retrive images from that.
I am using code from below link
http://support.dcmtk.org/wiki/dcmtk/how ... cu-example
but I'm not getting the file because it is not possible to set acceptorPort for ASC_initializeNetwork(); which is internally called by initNetwork() method of DcmSCU class.
by default acceptorPort is 0.
I tried by inheriting the DcmSCU class and implementing the initNetwork() for the same.
can any will give the solution for same?
please give me example for same.
how should I retrive images from conquestDicom server
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2054
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: how should I retrive images from conquestDicom server
Hi,
you could also look into the getscu.cc code (if conquest supports C-GET-based retrieve). It is available in the last snapshots. getscu also uses DcmSCU.
Best,
Michael
you could also look into the getscu.cc code (if conquest supports C-GET-based retrieve). It is available in the last snapshots. getscu also uses DcmSCU.
Best,
Michael
Re: how should I retrive images from conquestDicom server
Hi,
According to conquest server's dicom conformance statement, it doesn't support c-get scp.
So you have to use c-move to move the image from conquest server to another DICOM C-Store SCP.
According to conquest server's dicom conformance statement, it doesn't support c-get scp.
So you have to use c-move to move the image from conquest server to another DICOM C-Store SCP.
Re: how should I retrive images from conquestDicom server
hi,
can any post the code to get dicom images based on patientID as a search criteria?
can any post the code to get dicom images based on patientID as a search criteria?
-
- DCMTK Developer
- Posts: 2054
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: how should I retrive images from conquestDicom server
Hi,
the DcmSCU example in our howto section shows how it works based on Study Instance UID.
You must change the example to use Patient Root SOP class instead of Study Root. Change QueryRetrieveLevel to PATIENT, and instead of sending StudyInstanceUID with value you have to send PatientID with the desired value.
You can leave out all the stuff that has to do with finding the right patient if you already have the Patient ID, if you want.
HTH,
Michael
the DcmSCU example in our howto section shows how it works based on Study Instance UID.
You must change the example to use Patient Root SOP class instead of Study Root. Change QueryRetrieveLevel to PATIENT, and instead of sending StudyInstanceUID with value you have to send PatientID with the desired value.
You can leave out all the stuff that has to do with finding the right patient if you already have the Patient ID, if you want.
HTH,
Michael
Re: how should I retrive images from conquestDicom server
I have done changes in the code accordingly.but I dont need storescp to be executed contineously on my machine. I want to embed that code in my function.
so can you suggest idea to go forward..
Thank You...
so can you suggest idea to go forward..
Thank You...
Who is online
Users browsing this forum: Bing [Bot] and 1 guest