Hi,
I have created a StorageSCP class which is derived from DcmSCP( DCMTKclass)
Using addPresentationContext function , added below list of transfer syntaxs and abstract syntaxes
AbstractSyntax name="VerificationSOPresentationContextlass" value="1.2.840.10008.1.1"
TransferSyntax name="LittleEndianImplicit" value="1.2.840.10008.1.2"
AbstractSyntax name="UltrasoundImageStorage" value="1.2.840.10008.5.1.4.1.1.6.1">
<TransferSyntax name="JPEGProcess1" value="1.2.840.10008.1.2.4.50"/>
And receives association from an SCU which supports LittleEndianImplicit transfer syntax through ASC_receiveAssociation and processAssociationRQ function
Association is created with Both abstract syntaxes mapping with LittleEndianImplicit transfer syntax and SCP successfully stores
UltrasoundImage of 1.2.840.10008.5.1.4.1.1.6.1 with 1.2.840.10008.1.2.4.50
Also without adding any transfer syntax for AbstractSyntax name="UltrasoundImageStorage" value="1.2.840.10008.5.1.4.1.1.6.1"> also this works fine image got successfully stored
Is there any mechanism in DCMTK that it add default transfer syntaxes while creating association irrespective of configuration added using addPresentationContext function?
Can you please let me know is there any way to make scp accept association/perform store only if matching transfersyntax is configured?
Thanks in advance
SCP accepts association irrespective of Presentation context
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2501
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: SCP accepts association irrespective of Presentation con
First question: do you use the latest DCMTK snapshot? if not, please do so (since a couple of issues have been fixed in the past, some of them are related to the DcmSCP class).
Re: SCP accepts association irrespective of Presentation con
Hi,
Thanks for reply.
We are using dcmtk-3.6.1_20131114 version of dcmtk...
Thanks for reply.
We are using dcmtk-3.6.1_20131114 version of dcmtk...
-
- DCMTK Developer
- Posts: 2048
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: SCP accepts association irrespective of Presentation con
Hi,
as Jörg pointed out, this has probably already been fixed, in this commit (2015). Please backport the fix or update your version of DCMTK.
Best,
Michael
as Jörg pointed out, this has probably already been fixed, in this commit (2015). Please backport the fix or update your version of DCMTK.
Best,
Michael
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest