SOLVED: Doubt about transfer sintax

240 views
Skip to first unread message

pela2s...@gmail.com

unread,
Sep 14, 2020, 2:29:49 PM9/14/20
to dcm...@googlegroups.com

Hello,

i am having a problem with some US.

I get them from a legacy Fuji Synapse PACS to a weasis.

when I cget them, they are retrieved with jpeg transfer syntax
(0002,0010) [UI] TransferSyntaxUID: 1.2.840.10008.1.2.4.50
(0002,0012) [UI] ImplementationClassUID: 1.2.840.113845.1.1
(0002,0013) [SH] ImplementationVersionName: Syn4,1,3,2

and they are displayed in a green color .

if i get them with other viewer, they are retrieved with sintax ExplicitVRLittleEndian
(0002,0010) [UI] TransferSyntaxUID: 1.2.840.10008.1.2.1
(0002,0012) [UI] ImplementationClassUID: 1.2.826.0.1.3680043.2.360.0.3.5.5Snapshot20090602
(0002,0013) [SH] ImplementationVersionName: IIS_DCMTK_355


media storage sop class is (0002,0002) [UI] MediaStorageSOPClassUID: 1.2.840.10008.5.1.4.1.1.6.1

UltrasoundImageStorage and it is present on weasis store-tcs.properties file in weasis

how can i resolve this?

thank you in advance.


pela2s...@gmail.com

unread,
Sep 15, 2020, 10:24:07 AM9/15/20
to dcm4che
I make serveral tests. with store-tcs.properties  enabled, I retrieve only 1 image of 20. with other viewer i get all of them in  1.2.840.10008.1.2.1 .

if I disable store-tcs.propertiesI get all of them in 1.2.840.10008.1.2.4.50 and it don't see right:
us.png




On Monday, September 14, 2020 at 3:29:49 PM UTC-3 pe:

pela2s...@gmail.com

unread,
Sep 15, 2020, 1:09:02 PM9/15/20
to dcm4che
I discover that the only image that retrieve with store.tcs file enabled is one with different media type: 1.2.840.10008.5.1.4.1.1.7

the others 19 UltrasoundImageStorage images arent retrieved

pela2s...@gmail.com

unread,
Sep 15, 2020, 2:00:36 PM9/15/20
to dcm4che
I get this error:

15.09.2020 14:32:39.978 *ERROR* [Dicom Q/R task-pool-5-thread-1] org.weasis.dicom.op.CGet: Read sop classes java.lang.IllegalArgumentException: PseudoColorSoftcopyPresentationStateStorageSOPClass
    at org.dcm4che3.data.UID.forName(UID.java:65)
    at org.dcm4che3.tool.common.CLIUtils.toUID(CLIUtils.java:164)
    at org.weasis.dicom.op.CGet.configureStorageSOPClass(CGet.java:179)

pela2s...@gmail.com

unread,
Sep 15, 2020, 4:14:57 PM9/15/20
to dcm4che
with dcmtk I have no problem in retrieving the 20 instances:

<element tag="0002,0000" vr="UL" vm="1" len="4" name="FileMetaInformationGroupLength">208</element>
<element tag="0002,0001" vr="OB" vm="1" len="2" name="FileMetaInformationVersion" binary="hidden"></element>
<element tag="0002,0002" vr="UI" vm="1" len="28" name="MediaStorageSOPClassUID">1.2.840.10008.5.1.4.1.1.6.1</element>
<element tag="0002,0003" vr="UI" vm="1" len="62" name="MediaStorageSOPInstanceUID">1.2.392.200036.9116.6.18.14514524.5934.20200909171341844.1.615</element>
<element tag="0002,0010" vr="UI" vm="1" len="20" name="TransferSyntaxUID">1.2.840.10008.1.2.1</element>
<element tag="0002,0012" vr="UI" vm="1" len="28" name="ImplementationClassUID">1.2.276.0.7230010.3.0.3.6.1</element>
<element tag="0002,0013" vr="SH" vm="1" len="16" name="ImplementationVersionName">OFFIS_DCMTK_361</element>

pela2s...@gmail.com

unread,
Sep 15, 2020, 6:07:43 PM9/15/20
to dcm4che
I make another test. After retrieving the study with dcmtk, I stored in a DCM4CHE archive server. then I tried to retrieve with weasis and again I get 1 of 20 images (the one that is not ultrasound image store instance).

Here are the logs:
weasis:
15.09.2020 18:50:15.774 *ERROR* [Dicom Q/R task-pool-17-thread-1] org.weasis.dicom.op.CGet: Read sop classes java.lang.IllegalArgumentException: PseudoColorSoftcopyPresentationStateStorageSOPClass

    at org.dcm4che3.data.UID.forName(UID.java:65)
    at org.dcm4che3.tool.common.CLIUtils.toUID(CLIUtils.java:164)
    at org.weasis.dicom.op.CGet.configureStorageSOPClass(CGet.java:179)

DCM4CHE:

org.dcm4che3.net.NoPresentationContextException: No Presentation Context for Abstract Syntax: 1.2.840.10008.5.1.4.1.1.6.1 - Ultrasound Image Storage negotiated
******************************************
I don´t understand why it says there is no prestenation context as Ultrasound Image Storage is in configuration file
On Tuesday, September 15, 2020 at 2:09:02 PM UTC-3 pela2s...@gmail.com wrote:

pela2s...@gmail.com

unread,
Sep 15, 2020, 6:31:04 PM9/15/20
to dcm...@googlegroups.com
Updated Weasis to 3.6.2, I can get images transfered to DCM4CHEE, with store-tcs file disabled. if i enabled it retrieves only one.

Pela Silveira

unread,
Sep 16, 2020, 10:25:39 AM9/16/20
to dcm4che
I tested with portable 3.0.3 and there is no problem with ultrasound, secondary capture image was not retrieved with other exception:

16.09.2020 10:14:54.396 ERROR [Dicom Q/R task-pool-6-thread-1] org.weasis.dicom.op.CGet: Read sop classes java.lang.IllegalArgumentException: GrayscaleSoftcopyPresentationStateStorageSOPClass

I have opened an issue in github:


Cheers

Nicolas Roduit

unread,
Sep 16, 2020, 2:19:18 PM9/16/20
to dcm4che
I think that there are several problems that do not necessarily relate to each other in what is described above.

I can't reproduce the bug by following the steps carefully.

1) As a reminder: C-MOVE accepts all the syntaxes but requires to configure the DICOM destination node on the archive side. With C-GET no configuration is required at the archive side but each SOP Class and transfer syntax must be negotiated. In Weasis, the default configuration is in the DICOM library. This configuration can be overridden in the resources folder (in portable distribution - weasis-portable/weasis/resources) by editing the file store-tcs.properties.sample and renaming it into store-tcs.properties.

In the logs above, Weasis retrieves images with syntax 1.2.840.10008.1.2.4.50 while DCMTK retrieves uncompressed images with 1.2.840.10008.1.2.1. As mentioned above for C-GET, the syntax has to be adjusted with the sop classes.

2) For jpeg image not displayed correctly, it could be related to that issue which has changed several times in the evolution of the versions.

3) The error with GrayscaleSoftcopyPresentationStateStorageSOPClass may be due to the fact that on the PACS DICOM PR objects are associated with this examination. So this sop class must be configured (not by default). In the dataset you provide, there no object of this type.

pela2s...@gmail.com

unread,
Sep 16, 2020, 8:00:57 PM9/16/20
to dcm4che
Thanks for your response Nicolas!

I added a step to de the issue, let me know if you get the same result. 

1) thank you for the reminder,  I did not know this: "each SOP Class and transfer syntax must be negotiated."
About this:
"This configuration can be overridden in the resources folder (in portable distribution - weasis-portable/weasis/resources) " 
 I am using msi 64 bit packahge, and overriding that file.

My intention is to retrieve uncompresed sintax 1.2.840.10008.1.2.1

2) I think that the situation with jpeg sintax has to do with that situation where manufacturers stay away from Standard. I will check later in both ultrasound device and in the Fuji Synapse PACS. We are migrating to DCM, but there are lots of things to do before.

3) Sincerely I don't understand your response here. But I have to read more about Presentation State. In the data set I attached to the issue you can see the instance that is different, it is of sop Secondary Capture and if you open it,  it has a meassure.

Nicolas Roduit

unread,
Sep 17, 2020, 2:24:59 AM9/17/20
to dcm4che
The file store-tcs.properties.sample is not up to date, use the one in my previous post (the default configuration is in the DICOM library). Some names have changed so that's why GrayscaleSoftcopyPresentationStateStorageSOPClass is not valid.

Pela Silveira

unread,
Sep 17, 2020, 11:05:39 AM9/17/20
to dcm...@googlegroups.com
Hello Nicolas,

1) Move work without problems
2) I tested this store-tcs file:
    A)in msi package
        A.1) as provided: (UltrasoundImageStorage:ImplicitVRLittleEndian;ExplicitVRLittleEndian;JPEGBaseline1) it retrieves in JPEG .
        A.2) deleting JPEG sintax (UltrasoundImageStorage:ImplicitVRLittleEndian;ExplicitVRLittleEndian) Image are retrieved as desired in  Explicit VR Little Endian.
   B)Portable version
       B1) store-tcs as provided, same baheavior as a.1
       B2) deleting JPEG sintax (UltrasoundImageStorage:ImplicitVRLittleEndian;ExplicitVRLittleEndian)Image are retrieved as desired in  Explicit VR Little Endian :    
        17.09.2020 12:21:29.906 *INFO* [Dicom Q/R task-pool-6-thread-1] org.dcm4che3.net.Dimse: pruebascu->SynapseDicomSCP(2) << 1:C-GET-RQ[pcid=1,
         prior=0
          cuid=1.2.840.10008.5.1.4.1.2.2.3 - Study Root Query/Retrieve Information Model - GET
           tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian]


I close the post. Please close the issue.


Thank you very much for all the help!



     

UltrasoundImageStorage:\
ImplicitVRLittleEndian;ExplicitVRLittleEndian;
Reply all
Reply to author
Forward
0 new messages