DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Tue, 2017-11-21, 09:18

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri, 2017-09-01, 12:11 
Offline

Joined: Mon, 2017-07-17, 15:33
Posts: 6
Hello,

When doing low level queries (for exmple a imge/instance level query) many sub-queries are necessary.

I use DcmFindSCU::performQuery for the queries but it creates/destroys a association on every call.

This might be a reasonable overhead to create/destroys a association on every call. DcmFindSCU::performQuery allows to specify multiple queries by file which is not very useful when used by code.

How can i execute multiple queries on the same association? Did i miss something?

//-

I can imagine how to do this by modifying DcmFindSCU: This may be a hint for further releases.

-> DcmFindSCU::findSCU (Which takes an association as input) is already there but private

When making DcmFindSCU::findSCU protected and moving the code which create/destroys a association from DcmFindSCU::performQuery to separate methods (also protected) the association can be controlled by sub classes.

Greetings Gerd


Top
 Profile  
 
PostPosted: Fri, 2017-09-01, 13:40 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1633
Location: Oldenburg, Germany
Hi,

multiple queries are not possible with dfindscu.cc. Note that this file and the related class has been extracted straight-forward from the original findscu.cc source, in order use it in a project. Thus dfindscu.cc only does what findscu does, nothing more. You would have to extend the code for your purpose.

Alternatively, you can use the newer DcmSCU class in scu.cc. A little howto shows how to send queries and evaluate the responses.

Best,
Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group