DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Mon, 2018-05-21, 17:43

All times are UTC + 1 hour




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: BTO Support
PostPosted: Tue, 2017-05-23, 14:34 
Offline

Joined: Tue, 2017-05-23, 07:57
Posts: 6
I'm trying to do a DICOM store of a Breast Tomosynthesis Object with storescu.exe in the OFFIS toolkit and the logging is saying the context is not supported. Is there any current plans to add that object type to the list of supported SOP classes?

Marcus


Top
 Profile  
 
 Post subject: Re: BTO Support
PostPosted: Tue, 2017-05-23, 15:12 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1934
Location: Oldenburg, Germany
You could either use "dcmsend" or start "storescu" with an appropriate configuration file (for the association negotiation). The tool "storescu" is rather dumb and does not look into the DICOM dataset to be transferred in order to determine the SOP Class(es) to be proposed during association negotiation.


Top
 Profile  
 
 Post subject: Re: BTO Support
PostPosted: Tue, 2017-05-23, 15:18 
Offline
DCMTK Developer

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

storescu -R should also do the trick.

Best,
Michael


Top
 Profile  
 
 Post subject: Re: BTO Support
PostPosted: Tue, 2017-05-23, 15:47 
Offline

Joined: Tue, 2017-05-23, 07:57
Posts: 6
Thanks for the responses. Messing with the storescu.cfg worked. I had done so before, but was not successful. I see in the logging that there is a limit of 128 context IDs. Is there any way to increase that? Once again, thanks for your help.


Top
 Profile  
 
 Post subject: Re: BTO Support
PostPosted: Tue, 2017-05-23, 15:48 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1667
Location: Oldenburg, Germany
No, that's not possible since this is a limitation of the DICOM ACSE network protocol. Though you can throw away all SOP classes in the configuration that you don't need for your purpose (I doubt you want to send all of them).

Best,
Michael


Top
 Profile  
 
 Post subject: Re: BTO Support
PostPosted: Tue, 2017-05-23, 15:51 
Offline

Joined: Tue, 2017-05-23, 07:57
Posts: 6
Yup, that is what I did. Removed the IntraOral. I had a feeling there was some sort of hard limit on the Context IDs. Thanks again!


Top
 Profile  
 
 Post subject: Re: BTO Support
PostPosted: Tue, 2017-05-23, 21:57 
Offline

Joined: Tue, 2017-05-23, 07:57
Posts: 6
I thought I had it, but I'm having a little trouble getting my command line to read the modified storescu.cfg file. This is what I'm trying:

E:\DICOMSortStore>storescu 192.168.102.22 104 E:\ImagesFrom\BTO01.dcm -aec test -aet sv -lc log2file.cfg -xf e:\dicomsortstore\storescu.cfg

Any suggestions on how to get it to work?


Top
 Profile  
 
 Post subject: Re: BTO Support
PostPosted: Tue, 2017-05-23, 22:36 
Offline
DCMTK Developer

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

-xf requires two parameters, not one:
Code:
    -xf   --config-file        [f]ilename, [p]rofile: string
                               use profile p from config file f

So you also have to provide the Profile defined in the storescu.cfg file (you could define multiple inside). You can find all profiles defined in the section "Profiles", and per default, the only one defined is called "Default" :-) I.e. Try -xf e:\....\storescu.cfg Default.

Best,
Michael


Top
 Profile  
 
 Post subject: Re: BTO Support
PostPosted: Tue, 2017-05-23, 23:19 
Offline

Joined: Tue, 2017-05-23, 07:57
Posts: 6
OK thank you everyone for all the help. I finally got it. I added BTO to the list of Context IDs and called the "Default" profile as Michael suggested. Worked like a charm.


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [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