Transfer syntax conversion error

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Tsunamis
Posts: 31
Joined: Wed, 2005-05-04, 17:07

Transfer syntax conversion error

#1 Post by Tsunamis »

Hi, I have a little problem :
I'm using the storeSCP program and have a problem receiving files from a third party product.

After isolating the images, I try to send them using the storeSCU program.

An error is sent :
sendMessage:unable to convert dataset from "JPEG Lossless, non hierarchical, 1st order prediction" transfer syntax to "LittleEndianExplicit".

How can I add support of this transfer syntax to storeSCP? Shall I add some compilation option ?

I dumped those files using dcmDump, and it is perfectly able to dump the incriminated files.

I see nothing suspect in those files...

Anyone can help?
Last edited by Tsunamis on Tue, 2011-02-01, 14:40, edited 1 time in total.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

You should either use the storescp option --prefer-lossless (+xs) or --config-file (-xf). See documentation for details.

Tsunamis
Posts: 31
Joined: Wed, 2005-05-04, 17:07

#3 Post by Tsunamis »

OK for reception, I'm trying right now...

And how can i make these images handled by storeSCU? how to avoid this conversion problem?

I tried to apply parameter for proposing jpeg lossless (-xs) but it doesn't work...
Last edited by Tsunamis on Tue, 2011-02-01, 14:40, edited 1 time in total.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#4 Post by Jörg Riesmeier »

Option -xs should work for the storescu. Alternatively, you could also use option -xf with an appropriate config file. See documentation for details.

If this does not work, please post the debug output of the SCU and/or SCP.

Tsunamis
Posts: 31
Joined: Wed, 2005-05-04, 17:07

#5 Post by Tsunamis »

i cut down huge lists from debug output

Code: Select all

Request Parameters:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:    
Their Implementation Version Name: 
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    STORESCU
Called Application Name:     ANY-SCP
Responding Application Name: resp AP Title
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 0
Presentation Contexts:

|...|

     Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Constructing Associate RQ PDU
PDU Type: Associate Accept, PDU Length: 3935 + 6 bytes PDU header
Only dumping 512 bytes.
  02  00  00  00  0f  5f  00  01  00  00  41  4e  59  2d  53  43
  50  20  20  20  20  20  20  20  20  20  53  54  4f  52  45  53
  43  55  20  20  20  20  20  20  20  20  00  00  00  00  00  00
  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00
  00  00  00  00  00  00  00  00  00  00  10  00  00  15  31  2e
  32  2e  38  34  30  2e  31  30  30  30  38  2e  33  2e  31  2e
  31  2e  31  21  00  00  19  01  00  04  00  40  00  00  11  31
  2e  32  2e  38  34  30  2e  31  30  30  30  38  2e  31  2e  32
  21  00  00  1b  03  00  00  00  40  00  00  13  31  2e  32  2e
  38  34  30  2e  31  30  30  30  38  2e  31  2e  32  2e  31  21
  00  00  19  05  00  04  00  40  00  00  11  31  2e  32  2e  38
  34  30  2e  31  30  30  30  38  2e  31  2e  32  21  00  00  1b
  07  00  00  00  40  00  00  13  31  2e  32  2e  38  34  30  2e
  31  30  30  30  38  2e  31  2e  32  2e  31  21  00  00  19  09
  00  04  00  40  00  00  11  31  2e  32  2e  38  34  30  2e  31
  30  30  30  38  2e  31  2e  32  21  00  00  1b  0b  00  00  00
  40  00  00  13  31  2e  32  2e  38  34  30  2e  31  30  30  30
  38  2e  31  2e  32  2e  31  21  00  00  19  0d  00  04  00  40
  00  00  11  31  2e  32  2e  38  34  30  2e  31  30  30  30  38
  2e  31  2e  32  21  00  00  1b  0f  00  00  00  40  00  00  13
  31  2e  32  2e  38  34  30  2e  31  30  30  30  38  2e  31  2e
  32  2e  31  21  00  00  19  11  00  04  00  40  00  00  11  31
  2e  32  2e  38  34  30  2e  31  30  30  30  38  2e  31  2e  32
  21  00  00  1b  13  00  00  00  40  00  00  13  31  2e  32  2e
  38  34  30  2e  31  30  30  30  38  2e  31  2e  32  2e  31  21
  00  00  19  15  00  04  00  40  00  00  11  31  2e  32  2e  38
  34  30  2e  31  30  30  30  38  2e  31  2e  32  21  00  00  1b
  17  00  00  00  40  00  00  13  31  2e  32  2e  38  34  30  2e
  31  30  30  30  38  2e  31  2e  32  2e  31  21  00  00  19  19
  00  04  00  40  00  00  11  31  2e  32  2e  38  34  30  2e  31
  30  30  30  38  2e  31  2e  32  21  00  00  1b  1b  00  00  00
  40  00  00  13  31  2e  32  2e  38  34  30  2e  31  30  30  30

Transport connection: TCP/IP, unencrypted.
Association Parameters Negotiated:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Their Implementation Version Name: OFFIS_DCMTK_354
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    STORESCU
Called Application Name:     ANY-SCP
Responding Application Name: ANY-SCP
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 16384
Presentation Contexts:
  Context ID:        1 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =AmbulatoryECGWaveformStorage

|...|


Requested Extended Negotiation: none
Accepted Extended Negotiation: none
DIMSE Warning: (STORESCU,ANY-SCP): sendMessage: unable to convert dataset
from 'JPEG Lossless, Non-hierarchical, 1st Order Prediction' transfer syntax to 'LittleEndianExplicit'.

storescu: Store Failed, file: CT000001:
0006:020e DIMSE Failed to send message
storescu: SCU Failed:
0006:020e DIMSE Failed to send message
Last edited by Tsunamis on Tue, 2011-02-01, 14:40, edited 2 times in total.

Michael Onken
DCMTK Developer
Posts: 2052
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#6 Post by Michael Onken »

Hi Tsu,

you left out the essential part in your quoting: What about the list of presentation contexts?

Regards,
Michael

Tsunamis
Posts: 31
Joined: Wed, 2005-05-04, 17:07

#7 Post by Tsunamis »

Erf ok, here is the full output... a bit wide...
[EDIT] not so full since code tags were exploded by text size... I removed parts that were inferrable... I suppose only CTImageStorage is interesting us right now. End of message is similar to previous one, so I didn't paste it[/EDIT]

Code: Select all

Request Parameters:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:    
Their Implementation Version Name: 
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    STORESCU
Called Application Name:     ANY-SCP
Responding Application Name: resp AP Title
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 0
Presentation Contexts:
  Context ID:        1 (Proposed)
    Abstract Syntax: =AmbulatoryECGWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        3 (Proposed)
    Abstract Syntax: =AmbulatoryECGWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        5 (Proposed)
    Abstract Syntax: =BasicTextSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        7 (Proposed)
    Abstract Syntax: =BasicTextSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        9 (Proposed)
    Abstract Syntax: =BasicVoiceAudioWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        11 (Proposed)
    Abstract Syntax: =BasicVoiceAudioWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        13 (Proposed)
    Abstract Syntax: =BlendingSoftcopyPresentationStateStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        15 (Proposed)
    Abstract Syntax: =BlendingSoftcopyPresentationStateStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        17 (Proposed)
    Abstract Syntax: =CTImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        19 (Proposed)
    Abstract Syntax: =CTImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        21 (Proposed)
    Abstract Syntax: =CardiacElectrophysiologyWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        23 (Proposed)
    Abstract Syntax: =CardiacElectrophysiologyWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        25 (Proposed)
    Abstract Syntax: =ChestCADSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        27 (Proposed)
    Abstract Syntax: =ChestCADSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        29 (Proposed)
    Abstract Syntax: =ColorSoftcopyPresentationStateStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        31 (Proposed)
    Abstract Syntax: =ColorSoftcopyPresentationStateStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        33 (Proposed)
    Abstract Syntax: =ComprehensiveSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        35 (Proposed)
    Abstract Syntax: =ComprehensiveSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        37 (Proposed)
    Abstract Syntax: =ComputedRadiographyImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        39 (Proposed)
    Abstract Syntax: =ComputedRadiographyImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        41 (Proposed)
    Abstract Syntax: =DigitalIntraOralXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        43 (Proposed)
    Abstract Syntax: =DigitalIntraOralXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        45 (Proposed)
    Abstract Syntax: =DigitalIntraOralXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        47 (Proposed)
    Abstract Syntax: =DigitalIntraOralXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        49 (Proposed)
    Abstract Syntax: =DigitalMammographyXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        51 (Proposed)
    Abstract Syntax: =DigitalMammographyXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        53 (Proposed)
    Abstract Syntax: =DigitalMammographyXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        55 (Proposed)
    Abstract Syntax: =DigitalMammographyXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        57 (Proposed)
    Abstract Syntax: =DigitalXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        59 (Proposed)
    Abstract Syntax: =DigitalXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        61 (Proposed)
    Abstract Syntax: =DigitalXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        63 (Proposed)
    Abstract Syntax: =DigitalXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  
|...| Still continuationg proposing lots more with always the same pattern 

  Context ID:        245 (Proposed)
    Abstract Syntax: =XRayFluoroscopyImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        247 (Proposed)
    Abstract Syntax: =XRayFluoroscopyImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
  Context ID:        249 (Proposed)
    Abstract Syntax: =XRayRadiationDoseSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
  Context ID:        251 (Proposed)
    Abstract Syntax: =XRayRadiationDoseSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Constructing Associate RQ PDU
PDU Type: Associate Accept, PDU Length: 3935 + 6 bytes PDU header
Only dumping 512 bytes.
  02  00  00  00  0f  5f  00  01  00  00  41  4e  59  2d  53  43
  50  20  20  20  20  20  20  20  20  20  53  54  4f  52  45  53
  43  55  20  20  20  20  20  20  20  20  00  00  00  00  00  00
  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00
  00  00  00  00  00  00  00  00  00  00  10  00  00  15  31  2e
  32  2e  38  34  30  2e  31  30  30  30  38  2e  33  2e  31  2e
  31  2e  31  21  00  00  19  01  00  04  00  40  00  00  11  31
  2e  32  2e  38  34  30  2e  31  30  30  30  38  2e  31  2e  32
  21  00  00  1b  03  00  00  00  40  00  00  13  31  2e  32  2e
  38  34  30  2e  31  30  30  30  38  2e  31  2e  32  2e  31  21
  00  00  19  05  00  04  00  40  00  00  11  31  2e  32  2e  38
  34  30  2e  31  30  30  30  38  2e  31  2e  32  21  00  00  1b
  07  00  00  00  40  00  00  13  31  2e  32  2e  38  34  30  2e
  31  30  30  30  38  2e  31  2e  32  2e  31  21  00  00  19  09
  00  04  00  40  00  00  11  31  2e  32  2e  38  34  30  2e  31
  30  30  30  38  2e  31  2e  32  21  00  00  1b  0b  00  00  00
  40  00  00  13  31  2e  32  2e  38  34  30  2e  31  30  30  30
  38  2e  31  2e  32  2e  31  21  00  00  19  0d  00  04  00  40
  00  00  11  31  2e  32  2e  38  34  30  2e  31  30  30  30  38
  2e  31  2e  32  21  00  00  1b  0f  00  00  00  40  00  00  13
  31  2e  32  2e  38  34  30  2e  31  30  30  30  38  2e  31  2e
  32  2e  31  21  00  00  19  11  00  04  00  40  00  00  11  31
  2e  32  2e  38  34  30  2e  31  30  30  30  38  2e  31  2e  32
  21  00  00  1b  13  00  00  00  40  00  00  13  31  2e  32  2e
  38  34  30  2e  31  30  30  30  38  2e  31  2e  32  2e  31  21
  00  00  19  15  00  04  00  40  00  00  11  31  2e  32  2e  38
  34  30  2e  31  30  30  30  38  2e  31  2e  32  21  00  00  1b
  17  00  00  00  40  00  00  13  31  2e  32  2e  38  34  30  2e
  31  30  30  30  38  2e  31  2e  32  2e  31  21  00  00  19  19
  00  04  00  40  00  00  11  31  2e  32  2e  38  34  30  2e  31
  30  30  30  38  2e  31  2e  32  21  00  00  1b  1b  00  00  00
  40  00  00  13  31  2e  32  2e  38  34  30  2e  31  30  30  30

Transport connection: TCP/IP, unencrypted.
Association Parameters Negotiated:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Their Implementation Version Name: OFFIS_DCMTK_354
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    STORESCU
Called Application Name:     ANY-SCP
Responding Application Name: ANY-SCP
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 16384
Presentation Contexts:
  Context ID:        1 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =AmbulatoryECGWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        3 (Accepted)
    Abstract Syntax: =AmbulatoryECGWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        5 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =BasicTextSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        7 (Accepted)
    Abstract Syntax: =BasicTextSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        9 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =BasicVoiceAudioWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        11 (Accepted)
    Abstract Syntax: =BasicVoiceAudioWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        13 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =BlendingSoftcopyPresentationStateStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        15 (Accepted)
    Abstract Syntax: =BlendingSoftcopyPresentationStateStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        17 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =CTImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        19 (Accepted)
    Abstract Syntax: =CTImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        21 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =CardiacElectrophysiologyWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        23 (Accepted)
    Abstract Syntax: =CardiacElectrophysiologyWaveformStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        25 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =ChestCADSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        27 (Accepted)
    Abstract Syntax: =ChestCADSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        29 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =ColorSoftcopyPresentationStateStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        31 (Accepted)
    Abstract Syntax: =ColorSoftcopyPresentationStateStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        33 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =ComprehensiveSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        35 (Accepted)
    Abstract Syntax: =ComprehensiveSR
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        37 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =ComputedRadiographyImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        39 (Accepted)
    Abstract Syntax: =ComputedRadiographyImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        41 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =DigitalIntraOralXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        43 (Accepted)
    Abstract Syntax: =DigitalIntraOralXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        45 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =DigitalIntraOralXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        47 (Accepted)
    Abstract Syntax: =DigitalIntraOralXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        49 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =DigitalMammographyXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        51 (Accepted)
    Abstract Syntax: =DigitalMammographyXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        53 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =DigitalMammographyXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        55 (Accepted)
    Abstract Syntax: =DigitalMammographyXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        57 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =DigitalXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        59 (Accepted)
    Abstract Syntax: =DigitalXRayImageStorageForPresentation
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        61 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =DigitalXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        63 (Accepted)
    Abstract Syntax: =DigitalXRayImageStorageForProcessing
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        65 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =EncapsulatedPDFStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        67 (Accepted)
    Abstract Syntax: =EncapsulatedPDFStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        69 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =EnhancedCTImageStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default

|...| Same pattern repeating with context IDs iterating...


    Abstract Syntax: =SpatialFiducialsStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        205 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =SpatialRegistrationStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        207 (Accepted)
    Abstract Syntax: =SpatialRegistrationStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
  Context ID:        209 (Transfer Syntaxes Not Supported)
    Abstract Syntax: =StereometricRelationshipStorage
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
  Context ID:        211 (Accepted)
    Abstract Syntax: =StereometricRelationship
Last edited by Tsunamis on Tue, 2011-02-01, 14:40, edited 2 times in total.

Michael Onken
DCMTK Developer
Posts: 2052
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#8 Post by Michael Onken »

Hi Tsu,

in your case storescu offers (correctly) JPEG Lossless for each possible SOP class but the receiver does not accept these but only accepts the uncompressed transfer syntaxes.

It looks like you are using storescp at the other side, so try option +xs for storescp or use a storescp configuration file (option -xf, example config file should be available in the DCMTK (storescp.cfg)).

Regards,
Michael

Tsunamis
Posts: 31
Joined: Wed, 2005-05-04, 17:07

#9 Post by Tsunamis »

Thanks a lot, it works...
Looks like I misunderstood the error. ^^
Anyway, i thought that preferred TS were used to define a kind of priority in TS negotiation... I'll care to that now that I know that preferred TS also define the list of supported TS. (I found the description of this list into the code and now understand quite better how it works).

Thanks again
Last edited by Tsunamis on Tue, 2011-02-01, 14:40, edited 2 times in total.

Tsunamis
Posts: 31
Joined: Wed, 2005-05-04, 17:07

#10 Post by Tsunamis »

I have a question : why not having put a list of all transfer syntaxes to be sure to accept any incoming send request?
exemple : parameter '+xAll'
and the following list :

Code: Select all

transferSyntaxes[0] = UID_JPEGProcess14SV1TransferSyntax;
transferSyntaxes[1] = UID_JPEGProcess1TransferSyntax;
transferSyntaxes[2] = UID_JPEGProcess2_4TransferSyntax;
transferSyntaxes[3] = UID_JPEG2000TransferSyntax;
transferSyntaxes[4] = UID_JPEG2000LosslessOnlyTransferSyntax;
transferSyntaxes[5] = UID_RLELosslessTransferSyntax;
transferSyntaxes[6] = UID_LittleEndianExplicitTransferSyntax;
transferSyntaxes[7] = UID_BigEndianExplicitTransferSyntax;
transferSyntaxes[8] = UID_LittleEndianImplicitTransferSyntax;
#ifdef WITH_ZLIB
transferSyntaxes[9] = UID_DeflatedExplicitVRLittleEndianTransferSyntax;
#endif
Second question : to decode those inpout images, it is needed to register decoders. Shall I register all decoders to ensure i'll be able to decode images? Is there a system to register all codecs or eventually register them automatically when needed?
I just want to write them down in a dicomdir structure. Could I remove a check to avoid being obliged to register decoders (i don't need to decode image if I just want to add a image record in the dicom dir)?

Thanks by advance
Last edited by Tsunamis on Tue, 2011-02-01, 14:41, edited 2 times in total.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1446
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#11 Post by Marco Eichelberg »

I have a question : why not having put a list of all transfer syntaxes to be sure to accept any incoming send request? exemple : parameter '+xAll'
Yes, something like this would be possible for storescp (but not storescu). I will add an entry to our internal wish-list of DCMTK enhancements.
Second question : to decode those inpout images, it is needed to register decoders. Shall I register all decoders to ensure i'll be able to decode images? Is there a system to register all codecs or eventually register them automatically when needed?
I just want to write them down in a dicomdir structure. Could I remove a check to avoid being obliged to register decoders (i don't need to decode image if I just want to add a image record in the dicom dir)?
Each decoder treats a certain transfer syntax and must be registered before you are trying to decompress pixel data encoded in a specific transfer syntax. You could register all codecs at once or just do this when, after reading a file, you determine that decompression of pixel data is needed. However, I don't see any advantage from a lazy registration of codecs since neither code size nor performance will be affected. Note that you only need the codecs when you want to access uncompressed pixel data. With regard to a DICOMDIR that means that you need the codecs as soon as you want to create a scaled-down icon image inside the DICOMDIR. This is why the dcmmkdir tool (which can generate icons) registers the various codecs and the dcmgpdir tool (which never generates icons) does not. There is no method to register all codecs at once, but for each type of compression (JPEG, RLE, JPEG 2000 with the non-free dcmjp2k module) there is one call that will do all work needed.

Tsunamis
Posts: 31
Joined: Wed, 2005-05-04, 17:07

#12 Post by Tsunamis »

Thanks, once again Offis team shows its professionalism.

Thanks a lot.

Post Reply

Who is online

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