i am confused about syntax transfert and i have lots of question sorry for long post:
1) can i use movescu with --prefer-big and --prefer-lossless same time.?
2) are incoming association, outgoing association and output transfert syntax independant? can i use -xb +xs +ti (propose-little , --prefer-big , --write-xfer-big)
3) i have see in dicom standart documenttation than a compressed dicom image is in explicit little endian is it true orcan it be changed ?
if i use movescu with option -xb +xs +ti
4)
-xb define the outgoing association to use (propose) explicit big endian:
i use dvtk serveur emulator. and i disable implicit litle endian transfert syntaxe. so i have set server support juste EBE abd ELE TS. i obtene this results ....
it is correct ,i think yes ?Presentation Contexts:
Context ID: 1 (Accepted)
Abstract Syntax: =FINDStudyRootQueryRetrieveInformationModel
Proposed SCP/SCU Role: Default
Accepted SCP/SCU Role: Default
Accepted Transfer Syntax: =BigEndianExplicit
Context ID: 3 (Accepted)
Abstract Syntax: =MOVEStudyRootQueryRetrieveInformationModel
Proposed SCP/SCU Role: Default
Accepted SCP/SCU Role: Default
Accepted Transfer Syntax: =BigEndianExplicit
4) +xs is to set the incoming association from the remote pacs server for sub operation (sending dicom files) (--prefer-lossless)
so dicom file are supposed to be send in jpeg lossless no ?
I have also try +xe +xb +xs +xy +xx +xv +xw and i obtenaied allways the same resultat
UnknownTransferSyntax and LittleEndianImplicit see log following:
=========================================
5) always with option (-xb +xs +ti). Option +xi (--implicit only) tranfert failed. i failed also allown or whit all possible -x_ et +t_ option. i have enable all transfert syntaxe on server (dvtk emulator) see log of move scu. i dont know with.Sending query
Move SCU RQ: MsgID 1
Request:
# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel
(0020,000d) UI [100.118.116.2005.2.1.1132055943.796.3] # 38, 1 StudyInstanceUID
DIMSE Command To Send:
# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0000,0000) UL 0 # 4, 1 CommandGroupLength
(0000,0002) UI =MOVEStudyRootQueryRetrieveInformationModel # 28, 1 AffectedSOPClassUID
(0000,0100) US 33 # 2, 1 CommandField
(0000,0110) US 1 # 2, 1 MessageID
(0000,0600) AE [DOGPACS] # 8, 1 MoveDestination
(0000,0700) US 0 # 2, 1 Priority
(0000,0800) US 1 # 2, 1 DataSetType
DIMSE sendDcmDataset: sending 104 bytes
DIMSE sendDcmDataset: sending 60 bytes
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (128 bytes), presID=3
DIMSE Command Received:
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =MOVEStudyRootQueryRetrieveInformationModel # 28, 1 AffectedSOPClassUID
(0000,0100) US 32801 # 2, 1 CommandField
(0000,0120) US 1 # 2, 1 MessageIDBeingRespondedTo
(0000,0800) US 257 # 2, 1 DataSetType
(0000,0900) US 65280 # 2, 1 Status
(0000,1020) US 6 # 2, 1 NumberOfRemainingSuboperations
(0000,1021) US 0 # 2, 1 NumberOfCompletedSuboperations
(0000,1022) US 0 # 2, 1 NumberOfFailedSuboperations
(0000,1023) US 0 # 2, 1 NumberOfWarningSuboperations
Move Response 1: C-Move RSP: MsgID: 1 [Status=Pending]
AffectedSOPClassUID: =MOVEStudyRootQueryRetrieveInformationModel
Data Set: Not Present
NumberOfRemainingSubOperations: 6
NumberOfCompletedSubOperations: 0
NumberOfFailedSubOperations: 0
NumberOfWarningSubOperations: 0
PDU Type: Associate Request, PDU Length: 213 + 6 bytes PDU header
01 00 00 00 00 d5 00 01 00 00 44 4f 47 50 41 43
53 20 20 20 20 20 20 20 20 20 43 41 4c 4c 45 44
5f 41 45 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 20 00 00 38 01 00 00 00 30 00 00 19 31
2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 35 2e 31
2e 34 2e 31 2e 31 2e 37 40 00 00 13 31 2e 32 2e
38 34 30 2e 31 30 30 30 38 2e 31 2e 32 2e 31 50
00 00 38 51 00 00 04 00 00 40 00 52 00 00 22 31
2e 32 2e 38 32 36 2e 30 2e 31 2e 33 36 38 30 30
34 33 2e 32 2e 31 35 34 35 2e 31 2e 32 2e 31 2e
37 55 00 00 06 64 76 74 32 2e 31
Constructing Associate AC PDU
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (132 bytes), presID=1
DIMSE Command Received:
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =SecondaryCaptureImageStorage # 26, 1 AffectedSOPClassUID
(0000,0100) US 1 # 2, 1 CommandField
(0000,0110) US 1 # 2, 1 MessageID
(0000,0700) US 0 # 2, 1 Priority
(0000,0800) US 0 # 2, 1 DataSetType
(0000,1000) UI [100.118.116.2005.2.1.1132055943.781.1] # 38, 1 AffectedSOPInstanceUID
Received C-Store RQ: MsgID: 1
AffectedSOPClassUID: =SecondaryCaptureImageStorage
AffectedSOPInstanceUID: 100.118.116.2005.2.1.1132055943.781.1
Priority: 0
Data Set: Present
RECV:DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 16372 bytes read (last: NO)
.DIMSE receiveFileData: 632 bytes read (last: YES)
.
6) the avdavantage of compressed transfert syntaxt (incoming )is jsut to list the bandwidth usage ??Presentation Contexts:
Context ID: 1 (Accepted)
Abstract Syntax: =FINDStudyRootQueryRetrieveInformationModel
Proposed SCP/SCU Role: Default
Accepted SCP/SCU Role: Default
Accepted Transfer Syntax: =LittleEndianImplicit
Context ID: 3 (Accepted)
Abstract Syntax: =MOVEStudyRootQueryRetrieveInformationModel
Proposed SCP/SCU Role: Default
Accepted SCP/SCU Role: Default
Accepted Transfer Syntax: =LittleEndianImplicit
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Association Accepted (Max Send PDV: 16372)
================================
Sending query
Move SCU RQ: MsgID 1
Request:
# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel
(0020,000d) UI [100.118.116.2005.2.1.1132055943.796.3] # 38, 1 StudyInstanceUID
DIMSE Command To Send:
# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0000,0000) UL 0 # 4, 1 CommandGroupLength
(0000,0002) UI =MOVEStudyRootQueryRetrieveInformationModel # 28, 1 AffectedSOPClassUID
(0000,0100) US 33 # 2, 1 CommandField
(0000,0110) US 1 # 2, 1 MessageID
(0000,0600) AE [DOGPACS] # 8, 1 MoveDestination
(0000,0700) US 0 # 2, 1 Priority
(0000,0800) US 1 # 2, 1 DataSetType
DIMSE sendDcmDataset: sending 104 bytes
DIMSE sendDcmDataset: sending 60 bytes
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (128 bytes), presID=3
DIMSE Command Received:
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =MOVEStudyRootQueryRetrieveInformationModel # 28, 1 AffectedSOPClassUID
(0000,0100) US 32801 # 2, 1 CommandField
(0000,0120) US 1 # 2, 1 MessageIDBeingRespondedTo
(0000,0800) US 257 # 2, 1 DataSetType
(0000,0900) US 65280 # 2, 1 Status
(0000,1020) US 6 # 2, 1 NumberOfRemainingSuboperations
(0000,1021) US 0 # 2, 1 NumberOfCompletedSuboperations
(0000,1022) US 0 # 2, 1 NumberOfFailedSuboperations
(0000,1023) US 0 # 2, 1 NumberOfWarningSuboperations
Move Response 1: C-Move RSP: MsgID: 1 [Status=Pending]
AffectedSOPClassUID: =MOVEStudyRootQueryRetrieveInformationModel
Data Set: Not Present
NumberOfRemainingSubOperations: 6
NumberOfCompletedSubOperations: 0
NumberOfFailedSubOperations: 0
NumberOfWarningSubOperations: 0
PDU Type: Associate Request, PDU Length: 213 + 6 bytes PDU header
01 00 00 00 00 d5 00 01 00 00 44 4f 47 50 41 43
53 20 20 20 20 20 20 20 20 20 43 41 4c 4c 45 44
5f 41 45 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 20 00 00 38 01 00 00 00 30 00 00 19 31
2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 35 2e 31
2e 34 2e 31 2e 31 2e 37 40 00 00 13 31 2e 32 2e
38 34 30 2e 31 30 30 30 38 2e 31 2e 32 2e 31 50
00 00 38 51 00 00 04 00 00 40 00 52 00 00 22 31
2e 32 2e 38 32 36 2e 30 2e 31 2e 33 36 38 30 30
34 33 2e 32 2e 31 35 34 35 2e 31 2e 32 2e 31 2e
37 55 00 00 06 64 76 74 32 2e 31
Constructing Associate AC PDU
DIMSE receiveCommand
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (128 bytes), presID=3
DIMSE Command Received:
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =MOVEStudyRootQueryRetrieveInformationModel # 28, 1 AffectedSOPClassUID
(0000,0100) US 32801 # 2, 1 CommandField
(0000,0120) US 1 # 2, 1 MessageIDBeingRespondedTo
(0000,0800) US 257 # 2, 1 DataSetType
(0000,0900) US 65280 # 2, 1 Status
(0000,1020) US 5 # 2, 1 NumberOfRemainingSuboperations
(0000,1021) US 0 # 2, 1 NumberOfCompletedSuboperations
(0000,1022) US 1 # 2, 1 NumberOfFailedSuboperations
(0000,1023) US 0 # 2, 1 NumberOfWarningSuboperations
Move Response 2: C-Move RSP: MsgID: 1 [Status=Pending]
AffectedSOPClassUID: =MOVEStudyRootQueryRetrieveInformationModel
Data Set: Not Present
NumberOfRemainingSubOperations: 5
NumberOfCompletedSubOperations: 0
NumberOfFailedSubOperations: 1
NumberOfWarningSubOperations: 0
7)juste +ti or +tb or +te do wath i am waiting.
dicom file received is write in implicit little endian.
if i edite tag 0002,0010 i found 1.2.840.10008.1.2 or 1.2.840.10008.1.2.1 or 1.2.840.10008.1.2.2 depending asked format for writing. So correct me if it is false but tag 0002,0010 of the meta data is the tag of transfer syntax for writing files and NOT the networking transfet syntax.
thank you , it was long [/i]