lossless jpeg compression engine compatibility

  • HI,


    Ive been using the j1 lossless jpeg compression in 1.4.15c version of the conquest server. Recently I tried to switch to 1.4.16 because the export converter command forward of version 1.4.15 partly broken when used with the "now -ddd +ddd to AE" option. This is export option now works in 1.4.16 release.
    I observed a compatibility issue of the OFFIS tools compression engine in 1.4.15 and the new one in 1.4.16 when we started getting warnings from our Siemens workstation that the pixed data was corrupted for 3D format ( for loading into multiplanar reconstruction). The problem is reproducible and arises when images originally compresssed (j1) using OFFIS software are decompressed using the new JPEG and JPEG2000 code in 1.4.16. If image data from 1.4.16 is send in compressed (j1) format by changing AE to J1, the multiplanar reformat error does not appear.


    Viewing images in regular axial mode is not affected. It may be unique to Siemens? I will try it with the philips workstation.




    ajgg

  • Hi,


    you can try to disable the new jpeg code and use dcmdjpeg.exe and dcmcjpeg.exe as before and see what it changes. I recently noticed that the new code decompresses multiframe into one big data chunk, which is maybe the issue. Could you compare the old and new headers, e.g., by sending your images to another conquest station?


    Marcel

  • Hi,


    Repeated the test.


    1. installed 1.4.15c server j1 compression
    2. upgrade to 1.4.16 J1 compression
    3. send data from upgraded server 1.4.16 to workstation
    4. Siemens error = "invalid pixel format for 3D"
    images cannot be viewed on multiplanar or simple axial viewer
    5. Philips study loaded but no image. Screen appears black.
    I have the headers from the original 1.4.15 data and when it is sent uncompressed using 1.4.16 and sent to 1.4.15 server and compressed to J1



    original
    (0002,0000) UL 200 # 4 MetaElementGroupLength
    (0002,0001) OB \00\01 # 2 FileMetaInformationVersion
    (0002,0002) UI [1.2.840.10008.5.1.4.1.1.2] # 26 MediaStorageSOPClassUID
    (0002,0003) UI [1.3.12.2.1107.5.1.4.54546.30000008081607591934300009011] # 56 MediaStorageSOPInstanceUID
    (0002,0010) UI [1.2.840.10008.1.2.4.70] # 22 TransferSyntaxUID
    (0002,0012) UI [1.2.826.0.1.3680043.2.135.1066.101] # 34 ImplementationClassUID
    (0002,0013) SH [1.4.14/WIN32] # 12 ImplementationVersionName
    (0008,0000) UL 1170 # 4 IdentifyingGroupLength
    (0008,0005) CS [ISO_IR 100] # 10 SpecificCharacterSet
    (0008,0008) CS [ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 SPI] # 34 ImageType
    (0008,0016) UI [1.2.840.10008.5.1.4.1.1.2] # 26 SOPClassUID
    (0008,0018) UI [1.3.12.2.1107.5.1.4.54546.30000008081607591934300009011] # 56 SOPInstanceUID
    (0008,0020) DA [20080816] # 8 StudyDate
    (0008,0021) DA [20080816] # 8 SeriesDate
    (0008,0022) DA [20080816] # 8 AcquisitionDate
    (0008,0023) DA [20080816] # 8 ImageDate
    (0008,0030) TM [113809.171000 ] # 14 StudyTime
    (0008,0031) TM [114939.937000 ] # 14 SeriesTime
    (0008,0032) TM [114837.197709 ] # 14 AcquisitionTime
    (0008,0033) TM [114837.197709 ] # 14 ImageTime
    (0008,0050) SH (empty) # 0 AccessionNumber
    (0008,0060) CS [CT] # 2 Modality
    (0008,0070) LO [SIEMENS ] # 8 Manufacturer
    (0008,0080) LO [x] # 22 InstitutionName
    (0008,0081) ST [x] # 50 InstitutionAddress
    (0008,0090) PN [x] # 22 ReferringPhysicianName
    (0008,1010) SH [CT54546 ] # 8 StationName
    (0008,1030) LO [Abdomen^1WholeAbd_BIPHASIC_DDH (Adult)] # 38 StudyDescription
    (0008,103e) LO [Plain 1.0 B25f] # 16 SeriesDescription
    (0008,1050) PN [x ] # 22 PerformingPhysiciansName
    (0008,1070) PN [x] # 22 OperatorsName
    (0008,1090) LO [Sensation Cardiac 64] # 20 ManufacturerModelName
    (0008,1140) SQ (empty) # 0 ReferencedImageSequence
    (0008,0000) UL 98 # 4 IdentifyingGroupLength
    (0008,1150) UI [1.2.840.10008.5.1.4.1.1.2] # 26 ReferencedSOPClassUID
    (0008,1155) UI [1.3.12.2.1107.5.1.4.54546.30000008081607204012500001855] # 56 ReferencedSOPInstanceUID
    (0008,2111) ST [Lossless JPEG compression, selection value 1, point transform 0, compression ratio 2.5077 ] # 90 DerivationDescription
    (0008,2112) SQ (empty) # 0 SourceImageSequence
    (0008,0000) UL 92 # 4 IdentifyingGroupLength
    (0008,1150) UI [1.3.12.2.1107.5.9.1] # 20 ReferencedSOPClassUID
    (0008,1155) UI [1.3.12.2.1107.5.1.4.54546.30000008081607204012500001887] # 56 ReferencedSOPInstanceUID
    (0008,9215) UN (empty) # 0 ?
    (0008,0000) UL 90 # 4 IdentifyingGroupLength
    (0008,0100) SH [121327] # 6 CodeValue
    (0008,0102) SH [DCM ] # 4 CodingSchemeDesignator
    (0008,0104) LO [Full fidelity image, uncompressed or lossless compressed] # 56 CodeMeaning
    (0009,0000) UL 28 # 4 GroupLength
    (0009,0010) UN [SIEMENS CT VA1 DUMMY] # 20 ?
    (0010,0000) UL 78 # 4 PatientGroupLength
    (0010,0010) PN [] # 16 PatientName
    (0010,0020) LO [8707742 ] # 8 PatientID
    (0010,0030) DA [19700728] # 8 PatientBirthDate
    (0010,0040) CS [F ] # 2 PatientSex
    (0010,1010) AS [038Y] # 4 PatientAge
    (0018,0000) UL 314 # 4 AcquisitionGroupLength
    (0018,0015) CS [ABDOMEN ] # 8 BodyPartExamined
    (0018,0050) DS [1 ] # 2 SliceThickness
    (0018,0060) DS [140 ] # 4 KVP
    (0018,0090) DS [500 ] # 4 DataCollectionDiameter
    (0018,1000) LO [54546 ] # 6 DeviceSerialNumber
    (0018,1020) LO [syngo CT 2006A] # 14 SoftwareVersion
    (0018,1030) LO [1WholeAbd_BIPHASIC_DDH] # 22 ProtocolName
    (0018,1100) DS [500 ] # 4 ReconstructionDiameter
    (0018,1110) DS [1040] # 4 DistanceSourceToDetector
    (0018,1111) DS [570 ] # 4 DistanceSourceToPatient
    (0018,1120) DS [0 ] # 2 GantryDetectorTilt
    (0018,1130) DS [169 ] # 4 TableHeight
    (0018,1140) CS [CW] # 2 RotationDirection
    (0018,1150) IS [500 ] # 4 ExposureTime
    (0018,1151) IS [421 ] # 4 XrayTubeCurrent
    (0018,1152) IS [263 ] # 4 Exposure
    (0018,1160) SH [0 ] # 2 FilterType
    (0018,1170) IS [63] # 2 GeneratorPower
    (0018,1190) DS [1.2 ] # 4 FocalSpot
    (0018,1200) DA [20080816] # 8 DateOfLastCalibration
    (0018,1201) TM [082419.000000 ] # 14 TimeOfLastCalibration
    (0018,1210) SH [B25f] # 4 ConvolutionKernel
    (0018,5100) CS [FFS ] # 4 PatientPosition
    (0019,0000) UL 40 # 4 GroupLength
    (0019,0010) UN [SIEMENS CT VA0 COAD] # 20 ?
    (0019,10b0) UN [15.4] # 4 ?
    (0020,0000) UL 334 # 4 ImageGroupLength
    (0020,000d) UI [1.3.12.2.1107.5.1.4.54546.30000008081607264778100000013] # 56 StudyInstanceUID
    (0020,000e) UI [1.3.12.2.1107.5.1.4.54546.30000008081607591934300009010] # 56 SeriesInstanceUID
    (0020,0010) SH [1 ] # 2 StudyID
    (0020,0011) IS [4 ] # 2 SeriesNumber
    (0020,0012) IS [2 ] # 2 AcquisitionNumber
    (0020,0013) IS [1 ] # 2 ImageNumber
    (0020,0032) DS [-249.51171875\-418.51171875\-84.5 ] # 34 ImagePositionPatient
    (0020,0037) DS [1\0\0\0\1\0 ] # 12 ImageOrientationPatient
    (0020,0052) UI [1.3.12.2.1107.5.1.4.54546.30000008081607204012500001853] # 56 FrameOfReferenceUID
    (0020,1040) LO (empty) # 0 PositionReferenceIndicator
    (0020,1041) DS [84.5] # 4 SliceLocation
    (0020,4000) LT [Non contrast] # 12 ImageComments
    (0021,0000) UL 32 # 4 GroupLength
    (0021,0010) UN [SIEMENS MED ] # 12 ?
    (0021,1011) UN [0\\0 ] # 4 ?
    (0028,0000) UL 218 # 4 ImagePresentationGroupLength
    (0028,0002) US 1 # 2 SamplesPerPixel
    (0028,0004) CS [MONOCHROME2 ] # 12 PhotometricInterpretation
    (0028,0010) US 512 # 2 Rows
    (0028,0011) US 512 # 2 Columns
    (0028,0030) DS [0.9765625\0.9765625 ] # 20 PixelSpacing
    (0028,0100) US 16 # 2 BitsAllocated
    (0028,0101) US 12 # 2 BitsStored
    (0028,0102) US 11 # 2 HighBit
    (0028,0103) US 0 # 2 PixelRepresentation
    (0028,0106) US 0 # 2 SmallestImagePixelValue
    (0028,0107) US 2140 # 2 LargestImagePixelValue
    (0028,1050) DS [50\-500 ] # 8 WindowCenter
    (0028,1051) DS [450\1500] # 8 WindowWidth
    (0028,1052) DS [-1024 ] # 6 RescaleIntercept
    (0028,1053) DS [1 ] # 2 RescaleSlope
    (0028,1055) LO [WINDOW1\\WINDOW2 ] # 16 WindowCenterWidthExplanation
    (0029,0000) UL 874 # 4 GroupLength
    (0029,0010) UN [SIEMENS CSA HEADER] # 18 ?
    (0029,0011) UN [SIEMENS MEDCOM HEADER ] # 22 ?
    (0029,0012) UN [SIEMENS MEDCOM HEADER2] # 22 ?
    (0029,1008) UN [SOM 5 ] # 6 ?
    (0029,1009) UN [VA10A 971201] # 12 ?
    (0029,1010) UN \00\00\04\00\4c\54\08\00\36\00\31\00\35\00\33\00\00\00\05\00\46\44\08\00\00\00\00\00\00\f6\74\40\00\00\06\00\46\44\08\00\a2\f7\7c\83\e5\9e\12\40\00\00\07\00\53\4c\04\00\bb\03\00\00\00\00\08\00\53\4c\04\00\c8\00\00\00\00\00\0c\00\46\44
    \08\00\cd\cc\cc\cc\cc\cc\2e\40\00\00\0d\00\53\4c\04\00\02\00\00\00\00\00\13\00\53\4c\04\00\51\01\00\00\00\00\14\00\53\4c\04\00\01\00\00\00\00\00\16\00\53\4c\04\00\32\00\00\00\00\00\18\00\53\4c\04\00\a0\02\00\00\00\00\1a\00\53\4c\04\00
    \2e\29\01\00\00\00\1d\00\4c\54\0e\00\41\00\42\00\44\00\4f\00\4d\00\45\00\4e\00\00\00\1e\00\46\44\08\00\00\00\00\00\00\40\7f\40\00\00\1f\00\46\44\08\00\00\00\00\00\00\00\00\00\00\00\20\00\46\44\08\00\00\00\00\00\00\00\00\00\00\00\21\00
    \53\4c\04\00\01\00\00\00\00\00\22\00\53\4c\04\00\43\00\00\00\00\00\25\00\53\4c\04\00\08\00\00\00\00\00\27\00\46\44\08\00\00\00\00\00\00\00\4e\40\00\00\28\00\53\4c\04\00\56\01\00\00\00\00\29\00\53\4c\04\00\00\00\00\00\00\00\2b\00\4c\54
    \12\00\33\00\33\00\30\00\31\00\34\00\30\00\38\00\30\00\32\00\00\00\2c\00\53\4c\04\00\00\01\00\00\00\00\2d\00\53\4c\04\00\00\00\00\00\00\00\2f\00\46\44\08\00\33\33\33\33\33\33\e3\3f\00\00\30\00\4c\54\08\00\50\00\33\00\30\00\46\00\00\00
    \33\00\53\4c\04\00\05\00\00\00\00\00\35\00\53\4c\04\00\00\00\00\00\00\00\36\00\43\53\02\00\54\20\00\00\37\00\53\4c\04\00\70\03\00\00\00\00\38\00\53\4c\04\00\9d\00\00\00\00\00\39\00\53\4c\04\00\20\00\00\00\00\00\3a\00\46\44\08\00\9a\99
    \99\99\99\99\e9\3f\00\00\3b\00\53\4c\04\00\01\00\00\00\00\00\3c\00\53\4c\04\00\02\00\00\00\00\00\3d\00\46\44\08\00\00\00\00\00\00\40\7f\40\00\00\3e\00\53\4c\04\00\00\00\00\00\00\00\01\01\46\44\08\00\00\00\00\00\00\00\00\00\00\00\02\01
    \46\44\08\00\e5\f2\1f\d2\6f\5f\ed\3f\00\00\03\01\46\44\08\00\e1\7a\14\ae\47\e1\ca\bf\00\00\05\01\49\53\02\00\30\20\ff\ff\ff\ff\43\53\0a\00\45\4e\44\21\20\20\20\20\20\20 # 602 ?
    (0029,1140) UN \fe\ff\00\e0\74\00\00\00\29\00\10\00\16\00\00\00\53\49\45\4d\45\4e\53\20\4d\45\44\43\4f\4d\20\48\45\41\44\45\52\20\29\00\41\10\0a\00\00\00\53\4f\4d\20\35\20\54\50\4f\53\29\00\42\10\12\00\00\00\53\4f\4d\20\35\20\4e\55\4c\4c\50\4f\53\49
    \54\49\4f\4e\29\00\43\10\0e\00\00\00\56\42\31\30\41\20\32\30\30\33\30\36\32\36\29\00\44\10\0c\00\00\00\2d\30\30\30\30\31\37\31\38\30\00\41 # 124 ?
    (0029,1260) UN [rea ] # 4 ?
    (0032,0000) UL 12 # 4 StudyGroupLength
    (0032,000a) CS [READ] # 4 StudyStatusID
    (7fe0,0000) UL 209164 # 4 PixelDataGroupLength
    (7fe0,0010) OW (empty) # 0 PixelData
    (fffe,0000) UN \08\00\00\00 # 4 ?
    (fffe,e000) NO # 0 Item
    (fffe,0000) UN \b4\30\03\00 # 4 ?
    (fffe,e000) NO (not loaded) # 209068 Item


    ===================================================================================================================================================


    modified after 1.4.16 uncompression send to 1.4.15c then compressed


    (0002,0000) UL 200 # 4 MetaElementGroupLength
    (0002,0001) OB \00\01 # 2 FileMetaInformationVersion
    (0002,0002) UI [1.2.840.10008.5.1.4.1.1.2] # 26 MediaStorageSOPClassUID
    (0002,0003) UI [1.3.12.2.1107.5.1.4.54546.30000008081607591934300009011] # 56 MediaStorageSOPInstanceUID
    (0002,0010) UI [1.2.840.10008.1.2.4.70] # 22 TransferSyntaxUID
    (0002,0012) UI [1.2.826.0.1.3680043.2.135.1066.101] # 34 ImplementationClassUID
    (0002,0013) SH [1.4.16/WIN32] # 12 ImplementationVersionName
    (0008,0000) UL 758 # 4 IdentifyingGroupLength
    (0008,0005) CS [ISO_IR 100] # 10 SpecificCharacterSet
    (0008,0008) CS [ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 SPI] # 34 ImageType
    (0008,0016) UI [1.2.840.10008.5.1.4.1.1.2] # 26 SOPClassUID
    (0008,0018) UI [1.3.12.2.1107.5.1.4.54546.30000008081607591934300009011] # 56 SOPInstanceUID
    (0008,0020) DA [20080816] # 8 StudyDate
    (0008,0021) DA [20080816] # 8 SeriesDate
    (0008,0022) DA [20080816] # 8 AcquisitionDate
    (0008,0023) DA [20080816] # 8 ImageDate
    (0008,0030) TM [113809.171000 ] # 14 StudyTime
    (0008,0031) TM [114939.937000 ] # 14 SeriesTime
    (0008,0032) TM [114837.197709 ] # 14 AcquisitionTime
    (0008,0033) TM [114837.197709 ] # 14 ImageTime
    (0008,0050) SH (empty) # 0 AccessionNumber
    (0008,0060) CS [CT] # 2 Modality
    (0008,0070) LO [SIEMENS ] # 8 Manufacturer
    (0008,0080) LO [x] # 22 InstitutionName
    (0008,0081) ST [x] # 50 InstitutionAddress
    (0008,0090) PN [x] # 22 ReferringPhysicianName
    (0008,1010) SH [CT54546 ] # 8 StationName
    (0008,1030) LO [Abdomen^1WholeAbd_BIPHASIC_DDH (Adult)] # 38 StudyDescription
    (0008,103e) LO [Plain 1.0 B25f] # 16 SeriesDescription
    (0008,1050) PN [x ] # 22 PerformingPhysiciansName
    (0008,1070) PN [x] # 22 OperatorsName
    (0008,1090) LO [Sensation Cardiac 64] # 20 ManufacturerModelName
    (0008,1140) SQ (empty) # 0 ReferencedImageSequence
    (0008,2111) ST [Lossless JPEG compression, selection value 1, point transform 0, compression ratio 2.5077 ] # 90 DerivationDescription
    (0008,2112) SQ (empty) # 0 SourceImageSequence
    (0008,9215) UN (empty) # 0 ?
    (0009,0000) UL 28 # 4 GroupLength
    (0009,0010) UN [SIEMENS CT VA1 DUMMY] # 20 ?
    (0010,0000) UL 78 # 4 PatientGroupLength
    (0010,0010) PN [] # 16 PatientName
    (0010,0020) LO [8707742 ] # 8 PatientID
    (0010,0030) DA [19700728] # 8 PatientBirthDate
    (0010,0040) CS [F ] # 2 PatientSex
    (0010,1010) AS [038Y] # 4 PatientAge
    (0018,0000) UL 314 # 4 AcquisitionGroupLength
    (0018,0015) CS [ABDOMEN ] # 8 BodyPartExamined
    (0018,0050) DS [1 ] # 2 SliceThickness
    (0018,0060) DS [140 ] # 4 KVP
    (0018,0090) DS [500 ] # 4 DataCollectionDiameter
    (0018,1000) LO [54546 ] # 6 DeviceSerialNumber
    (0018,1020) LO [syngo CT 2006A] # 14 SoftwareVersion
    (0018,1030) LO [1WholeAbd_BIPHASIC_DDH] # 22 ProtocolName
    (0018,1100) DS [500 ] # 4 ReconstructionDiameter
    (0018,1110) DS [1040] # 4 DistanceSourceToDetector
    (0018,1111) DS [570 ] # 4 DistanceSourceToPatient
    (0018,1120) DS [0 ] # 2 GantryDetectorTilt
    (0018,1130) DS [169 ] # 4 TableHeight
    (0018,1140) CS [CW] # 2 RotationDirection
    (0018,1150) IS [500 ] # 4 ExposureTime
    (0018,1151) IS [421 ] # 4 XrayTubeCurrent
    (0018,1152) IS [263 ] # 4 Exposure
    (0018,1160) SH [0 ] # 2 FilterType
    (0018,1170) IS [63] # 2 GeneratorPower
    (0018,1190) DS [1.2 ] # 4 FocalSpot
    (0018,1200) DA [20080816] # 8 DateOfLastCalibration
    (0018,1201) TM [082419.000000 ] # 14 TimeOfLastCalibration
    (0018,1210) SH [B25f] # 4 ConvolutionKernel
    (0018,5100) CS [FFS ] # 4 PatientPosition
    (0019,0000) UL 40 # 4 GroupLength
    (0019,0010) UN [SIEMENS CT VA0 COAD] # 20 ?
    (0019,10b0) UN [15.4] # 4 ?
    (0020,0000) UL 334 # 4 ImageGroupLength
    (0020,000d) UI [1.3.12.2.1107.5.1.4.54546.30000008081607264778100000013] # 56 StudyInstanceUID
    (0020,000e) UI [1.3.12.2.1107.5.1.4.54546.30000008081607591934300009010] # 56 SeriesInstanceUID
    (0020,0010) SH [1 ] # 2 StudyID
    (0020,0011) IS [4 ] # 2 SeriesNumber
    (0020,0012) IS [2 ] # 2 AcquisitionNumber
    (0020,0013) IS [1 ] # 2 ImageNumber
    (0020,0032) DS [-249.51171875\-418.51171875\-84.5 ] # 34 ImagePositionPatient
    (0020,0037) DS [1\0\0\0\1\0 ] # 12 ImageOrientationPatient
    (0020,0052) UI [1.3.12.2.1107.5.1.4.54546.30000008081607204012500001853] # 56 FrameOfReferenceUID
    (0020,1040) LO (empty) # 0 PositionReferenceIndicator
    (0020,1041) DS [84.5] # 4 SliceLocation
    (0020,4000) LT [Non contrast] # 12 ImageComments
    (0021,0000) UL 32 # 4 GroupLength
    (0021,0010) UN [SIEMENS MED ] # 12 ?
    (0021,1011) UN [0\\0 ] # 4 ?
    (0028,0000) UL 218 # 4 ImagePresentationGroupLength
    (0028,0002) US 1 # 2 SamplesPerPixel
    (0028,0004) CS [MONOCHROME2 ] # 12 PhotometricInterpretation
    (0028,0010) US 512 # 2 Rows
    (0028,0011) US 512 # 2 Columns
    (0028,0030) DS [0.9765625\0.9765625 ] # 20 PixelSpacing
    (0028,0100) US 16 # 2 BitsAllocated
    (0028,0101) US 16 # 2 BitsStored
    (0028,0102) US 11 # 2 HighBit
    (0028,0103) US 0 # 2 PixelRepresentation
    (0028,0106) US 0 # 2 SmallestImagePixelValue
    (0028,0107) US 2140 # 2 LargestImagePixelValue
    (0028,1050) DS [50\-500 ] # 8 WindowCenter
    (0028,1051) DS [450\1500] # 8 WindowWidth
    (0028,1052) DS [-1024 ] # 6 RescaleIntercept
    (0028,1053) DS [1 ] # 2 RescaleSlope
    (0028,1055) LO [WINDOW1\\WINDOW2 ] # 16 WindowCenterWidthExplanation
    (0029,0000) UL 874 # 4 GroupLength
    (0029,0010) UN [SIEMENS CSA HEADER] # 18 ?
    (0029,0011) UN [SIEMENS MEDCOM HEADER ] # 22 ?
    (0029,0012) UN [SIEMENS MEDCOM HEADER2] # 22 ?
    (0029,1008) UN [SOM 5 ] # 6 ?
    (0029,1009) UN [VA10A 971201] # 12 ?
    (0029,1010) UN \00\00\04\00\4c\54\08\00\36\00\31\00\35\00\33\00\00\00\05\00\46\44\08\00\00\00\00\00\00\f6\74\40\00\00\06\00\46\44\08\00\a2\f7\7c\83\e5\9e\12\40\00\00\07\00\53\4c\04\00\bb\03\00\00\00\00\08\00\53\4c\04\00\c8\00\00\00\00\00\0c\00\46\44
    \08\00\cd\cc\cc\cc\cc\cc\2e\40\00\00\0d\00\53\4c\04\00\02\00\00\00\00\00\13\00\53\4c\04\00\51\01\00\00\00\00\14\00\53\4c\04\00\01\00\00\00\00\00\16\00\53\4c\04\00\32\00\00\00\00\00\18\00\53\4c\04\00\a0\02\00\00\00\00\1a\00\53\4c\04\00
    \2e\29\01\00\00\00\1d\00\4c\54\0e\00\41\00\42\00\44\00\4f\00\4d\00\45\00\4e\00\00\00\1e\00\46\44\08\00\00\00\00\00\00\40\7f\40\00\00\1f\00\46\44\08\00\00\00\00\00\00\00\00\00\00\00\20\00\46\44\08\00\00\00\00\00\00\00\00\00\00\00\21\00
    \53\4c\04\00\01\00\00\00\00\00\22\00\53\4c\04\00\43\00\00\00\00\00\25\00\53\4c\04\00\08\00\00\00\00\00\27\00\46\44\08\00\00\00\00\00\00\00\4e\40\00\00\28\00\53\4c\04\00\56\01\00\00\00\00\29\00\53\4c\04\00\00\00\00\00\00\00\2b\00\4c\54
    \12\00\33\00\33\00\30\00\31\00\34\00\30\00\38\00\30\00\32\00\00\00\2c\00\53\4c\04\00\00\01\00\00\00\00\2d\00\53\4c\04\00\00\00\00\00\00\00\2f\00\46\44\08\00\33\33\33\33\33\33\e3\3f\00\00\30\00\4c\54\08\00\50\00\33\00\30\00\46\00\00\00
    \33\00\53\4c\04\00\05\00\00\00\00\00\35\00\53\4c\04\00\00\00\00\00\00\00\36\00\43\53\02\00\54\20\00\00\37\00\53\4c\04\00\70\03\00\00\00\00\38\00\53\4c\04\00\9d\00\00\00\00\00\39\00\53\4c\04\00\20\00\00\00\00\00\3a\00\46\44\08\00\9a\99
    \99\99\99\99\e9\3f\00\00\3b\00\53\4c\04\00\01\00\00\00\00\00\3c\00\53\4c\04\00\02\00\00\00\00\00\3d\00\46\44\08\00\00\00\00\00\00\40\7f\40\00\00\3e\00\53\4c\04\00\00\00\00\00\00\00\01\01\46\44\08\00\00\00\00\00\00\00\00\00\00\00\02\01
    \46\44\08\00\e5\f2\1f\d2\6f\5f\ed\3f\00\00\03\01\46\44\08\00\e1\7a\14\ae\47\e1\ca\bf\00\00\05\01\49\53\02\00\30\20\ff\ff\ff\ff\43\53\0a\00\45\4e\44\21\20\20\20\20\20\20 # 602 ?
    (0029,1140) UN \fe\ff\00\e0\74\00\00\00\29\00\10\00\16\00\00\00\53\49\45\4d\45\4e\53\20\4d\45\44\43\4f\4d\20\48\45\41\44\45\52\20\29\00\41\10\0a\00\00\00\53\4f\4d\20\35\20\54\50\4f\53\29\00\42\10\12\00\00\00\53\4f\4d\20\35\20\4e\55\4c\4c\50\4f\53\49
    \54\49\4f\4e\29\00\43\10\0e\00\00\00\56\42\31\30\41\20\32\30\30\33\30\36\32\36\29\00\44\10\0c\00\00\00\2d\30\30\30\30\31\37\31\38\30\00\41 # 124 ?
    (0029,1260) UN [rea ] # 4 ?
    (0032,0000) UL 12 # 4 StudyGroupLength
    (0032,000a) CS [READ] # 4 StudyStatusID
    (7fe0,0000) UL 209164 # 4 PixelDataGroupLength
    (7fe0,0010) OW (empty) # 0 PixelData
    (fffe,0000) UN \08\00\00\00 # 4 ?
    (fffe,e000) NO # 0 Item
    (fffe,0000) UN \b4\30\03\00 # 4 ?
    (fffe,e000) NO (not loaded) # 209068 Item



    There are some added headers and changes:


    ajgg

  • Hi,


    there is additional JPEG info in the 1.4.15c header, but I expect that is not the issue. Futher the only difference is bitsstored (0028,0101) which is set to 16 in modified while is was 12 in original.


    if you can try an experiment in 1.4.16a (not in 1.4.16, SetVR is not there!), by adding this at the end in dicom.ini:


    [lua]
    RetrieveResultConverter0 = a={}; a[0]=12; a[1]=0; Data:SetVR(0x28,0x101,a);


    to replace bitsstored by 12 when the data is retrieved from 1.4.16b to siemens and see if this fixes the issue.


    Marcel

  • hi,


    correction
    configuration
    jpeg 2000 enabled
    compression j1
    target ae is uncompressed




    dicom.ini


    4/29/2UseBuiltInJPEG = 1


    [lua]
    RetrieveResultConverter0 = a={}; a[0]=12; a[1]=0; Data:SetVR(0x28,0x101,a);


    images still corrupted


    server log


    011 6:31:14 PM [CT_SRV1] DGATE (1.4.16a, build Tue Apr 19 12:33:00 2011, bits 32) is running as threaded server
    4/29/2011 6:31:14 PM [CT_SRV1] Database type: native MySQL connection
    4/29/2011 6:31:14 PM [CT_SRV1] Started 3 export queue thread(s)
    4/29/2011 6:31:14 PM [CT_SRV1] User interface test: local server is running!
    4/29/2011 6:31:18 PM [CT_SRV1] set debug level from GUI
    4/29/2011 6:31:18 PM [CT_SRV1] set debug log from GUI
    4/29/2011 6:31:22 PM [CT_SRV1] Connected by address: 0100007f
    4/29/2011 6:31:22 PM [CT_SRV1] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    4/29/2011 6:31:22 PM [CT_SRV1] 0000,0002 18 UI AffectedSOPClassUID "1.2.840.10008.1.1"
    4/29/2011 6:31:22 PM [CT_SRV1] 0000,0100 2 US CommandField 48
    4/29/2011 6:31:22 PM [CT_SRV1] 0000,0110 2 US MessageID 7
    4/29/2011 6:31:22 PM [CT_SRV1] 0000,0800 2 US DataSetType 257
    4/29/2011 6:31:22 PM [CT_SRV1] 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2"
    4/29/2011 6:31:22 PM [CT_SRV1] 9999,0400 254 LO bmp,//-1" "convert_to_bmp:r:\\main_fs\\ct\\20060325\\1.3.12.2.1107.5.99.2.6806.30000009010703481331200005270\\1.3.12.2.1107.5.99.2.6806.30000009010703481331200001435\\1.3.12.2.1107.5.99.2.6806.30000009010703481331200000000.dcm,1600,D:\\SERVERS\\CT_SRV_106\\dcmsrv$$.bmp,//-1"
    4/29/2011 6:31:22 PM [CT_SRV1] frames 2
    4/29/2011 6:31:22 PM [CT_SRV1] offs1 464a1000
    4/29/2011 6:31:22 PM [CT_SRV1] JPEG decompress started.
    4/29/2011 6:31:22 PM [CT_SRV1] JPEG decompress time 0 seconds.
    4/29/2011 6:31:27 PM [CT_SRV1] Connected by address: 0100007f
    4/29/2011 6:31:27 PM [CT_SRV1] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    4/29/2011 6:31:27 PM [CT_SRV1] 0000,0002 18 UI AffectedSOPClassUID "1.2.840.10008.1.1"
    4/29/2011 6:31:27 PM [CT_SRV1] 0000,0100 2 US CommandField 48
    4/29/2011 6:31:27 PM [CT_SRV1] 0000,0110 2 US MessageID 7
    4/29/2011 6:31:27 PM [CT_SRV1] 0000,0800 2 US DataSetType 257
    4/29/2011 6:31:27 PM [CT_SRV1] 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2"
    4/29/2011 6:31:27 PM [CT_SRV1] 9999,0400 254 LO bmp,//-1" "convert_to_bmp:r:\\main_fs\\ct\\20080816\\1.3.12.2.1107.5.1.4.54546.30000008081607264778100000013\\1.3.12.2.1107.5.1.4.54546.30000008081607204012500001854\\1.3.12.2.1107.5.1.4.54546.30000008081607204012500001855.dcm,1600,D:\\SERVERS\\CT_SRV_106\\dcmsrv$$.bmp,//-1"
    4/29/2011 6:31:27 PM [CT_SRV1] frames 2
    4/29/2011 6:31:27 PM [CT_SRV1] offs1 464a1000
    4/29/2011 6:31:27 PM [CT_SRV1] JPEG decompress started.
    4/29/2011 6:31:27 PM [CT_SRV1] JPEG decompress time 0 seconds.
    4/29/2011 6:31:30 PM [CT_SRV1] Connected by address: 0100007f
    4/29/2011 6:31:30 PM [CT_SRV1] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    4/29/2011 6:31:30 PM [CT_SRV1] 0000,0002 18 UI AffectedSOPClassUID "1.2.840.10008.1.1"
    4/29/2011 6:31:30 PM [CT_SRV1] 0000,0100 2 US CommandField 48
    4/29/2011 6:31:30 PM [CT_SRV1] 0000,0110 2 US MessageID 7
    4/29/2011 6:31:30 PM [CT_SRV1] 0000,0800 2 US DataSetType 257
    4/29/2011 6:31:30 PM [CT_SRV1] 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2"
    4/29/2011 6:31:30 PM [CT_SRV1] 9999,0400 254 LO bmp,//-1" "convert_to_bmp:r:\\main_fs\\ct\\20080816\\1.3.12.2.1107.5.1.4.54546.30000008081607264778100000013\\1.3.12.2.1107.5.1.4.54546.30000008081607591934300008961\\1.3.12.2.1107.5.1.4.54546.30000008081607591934300008962.dcm,1600,D:\\SERVERS\\CT_SRV_106\\dcmsrv$$.bmp,//-1"
    4/29/2011 6:31:30 PM [CT_SRV1] frames 2
    4/29/2011 6:31:30 PM [CT_SRV1] offs1 464a1000
    4/29/2011 6:31:30 PM [CT_SRV1] JPEG decompress started.
    4/29/2011 6:31:30 PM [CT_SRV1] JPEG decompress time 0 seconds.
    4/29/2011 6:31:38 PM [CT_SRV1] Connected by address: 0100007f
    4/29/2011 6:31:38 PM [CT_SRV1] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    4/29/2011 6:31:38 PM [CT_SRV1] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    4/29/2011 6:31:38 PM [CT_SRV1] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    4/29/2011 6:31:38 PM [CT_SRV1]
    4/29/2011 6:31:38 PM [CT_SRV1] UPACS THREAD 6: STARTED AT: Fri Apr 29 18:31:37 2011
    4/29/2011 6:31:38 PM [CT_SRV1] A-ASSOCIATE-RQ Packet Dump
    4/29/2011 6:31:38 PM [CT_SRV1] Calling Application Title : "CT_SRV1 "
    4/29/2011 6:31:38 PM [CT_SRV1] Called Application Title : "CT_SRV1 "
    4/29/2011 6:31:38 PM [CT_SRV1] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    4/29/2011 6:31:38 PM [CT_SRV1] Number of Proposed Presentation Contexts: 3
    4/29/2011 6:31:38 PM [CT_SRV1] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.1.2" 1
    4/29/2011 6:31:38 PM [CT_SRV1] Presentation Context 1 "1.2.840.10008.5.1.4.1.2.2.2" 1
    4/29/2011 6:31:38 PM [CT_SRV1] Presentation Context 2 "1.2.840.10008.5.1.4.1.2.3.2" 1
    4/29/2011 6:31:38 PM [CT_SRV1] Server Command := 0021
    4/29/2011 6:31:38 PM [CT_SRV1] Message ID := 0005
    4/29/2011 6:31:38 PM [CT_SRV1] C-Move Destination: "EBW "
    4/29/2011 6:31:38 PM [CT_SRV1] 0000,0002 28 UI AffectedSOPClassUID "1.2.840.10008.5.1.4.1.2.1.2"
    4/29/2011 6:31:38 PM [CT_SRV1] 0000,0100 2 US CommandField 33
    4/29/2011 6:31:38 PM [CT_SRV1] 0000,0110 2 US MessageID 5
    4/29/2011 6:31:38 PM [CT_SRV1] 0000,0600 16 AE MoveDestination "EBW "
    4/29/2011 6:31:38 PM [CT_SRV1] 0000,0700 2 US Priority 0
    4/29/2011 6:31:38 PM [CT_SRV1] 0000,0800 2 US DataSetType 258
    4/29/2011 6:31:38 PM [CT_SRV1] 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2"
    4/29/2011 6:31:38 PM [CT_SRV1] (QualifyOn) (mapped) IP:192.168.10.99, PORT:104
    4/29/2011 6:31:38 PM [CT_SRV1] MyPatientRootRetrieveGeneric :: SearchOn
    4/29/2011 6:31:38 PM [CT_SRV1] 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2"
    4/29/2011 6:31:38 PM [CT_SRV1] 0008,0018 56 UI SOPInstanceUID "1.3.12.2.1107.5.1.4.54546.30000008081607591934300008962"
    4/29/2011 6:31:38 PM [CT_SRV1] 0008,0020 0 DA StudyDate (empty)
    4/29/2011 6:31:38 PM [CT_SRV1] 0008,0052 6 CS QueryRetrieveLevel "IMAGE "
    4/29/2011 6:31:38 PM [CT_SRV1] 0008,0060 0 CS Modality (empty)
    4/29/2011 6:31:38 PM [CT_SRV1] 0008,103e 0 LO SeriesDescription (empty)
    4/29/2011 6:31:38 PM [CT_SRV1] 0010,0010 0 PN PatientName (empty)
    4/29/2011 6:31:38 PM [CT_SRV1] 0010,0020 8 LO PatientID "8707742"
    4/29/2011 6:31:38 PM [CT_SRV1] 0020,000d 56 UI StudyInstanceUID "1.3.12.2.1107.5.1.4.54546.30000008081607264778100000013"
    4/29/2011 6:31:38 PM [CT_SRV1] 0020,000e 56 UI SeriesInstanceUID "1.3.12.2.1107.5.1.4.54546.30000008081607591934300008961"
    4/29/2011 6:31:38 PM [CT_SRV1] 0020,0011 0 IS SeriesNumber (empty)
    4/29/2011 6:31:38 PM [CT_SRV1] 0020,0013 0 IS ImageNumber (empty)
    4/29/2011 6:31:38 PM [CT_SRV1] Query On Image
    4/29/2011 6:31:38 PM [CT_SRV1] Issue Query on Columns: DICOMImages.SOPClassUI, DICOMImages.SOPInstanc, DICOMImages.ImageNumbe, DICOMSeries.Modality, DICOMSeries.SeriesDesc, DICOMSeries.SeriesInst, DICOMSeries.SeriesNumb, DICOMStudies.StudyDate, DICOMStudies.PatientNam, DICOMStudies.PatientID, DICOMStudies.StudyInsta,DICOMImages.ObjectFile,DICOMImages.DeviceName
    4/29/2011 6:31:38 PM [CT_SRV1] Values: DICOMImages.SOPInstanc = '1.3.12.2.1107.5.1.4.54546.30000008081607591934300008962' and DICOMSeries.SeriesInst = '1.3.12.2.1107.5.1.4.54546.30000008081607591934300008961' and DICOMStudies.PatientID = '8707742' and DICOMStudies.StudyInsta = '1.3.12.2.1107.5.1.4.54546.30000008081607264778100000013' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInst
    4/29/2011 6:31:38 PM [CT_SRV1] Tables: DICOMImages, DICOMSeries, DICOMStudies
    4/29/2011 6:31:38 PM [CT_SRV1] Query Distinct Tables: DICOMImages, DICOMSeries, DICOMStudies
    4/29/2011 6:31:38 PM [CT_SRV1] Columns : DICOMImages.SOPClassUI, DICOMImages.SOPInstanc, DICOMImages.ImageNumbe, DICOMSeries.Modality, DICOMSeries.SeriesDesc, DICOMSeries.SeriesInst, DICOMSeries.SeriesNumb, DICOMStudies.StudyDate, DICOMStudies.PatientNam, DICOMStudies.PatientID, DICOMStudies.StudyInsta,DICOMImages.ObjectFile,DICOMImages.DeviceName
    4/29/2011 6:31:38 PM [CT_SRV1] Where : DICOMImages.SOPInstanc = '1.3.12.2.1107.5.1.4.54546.30000008081607591934300008962' and DICOMSeries.SeriesInst = '1.3.12.2.1107.5.1.4.54546.30000008081607591934300008961' and DICOMStudies.PatientID = '8707742' and DICOMStudies.StudyInsta = '1.3.12.2.1107.5.1.4.54546.30000008081607264778100000013' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInst
    4/29/2011 6:31:38 PM [CT_SRV1] Order : (null)
    4/29/2011 6:31:38 PM [CT_SRV1] Records = 1
    4/29/2011 6:31:38 PM [CT_SRV1] Number of images to send: 1
    4/29/2011 6:31:38 PM [CT_SRV1] MyPatientRootRetrieveGeneric :: RetrieveOn
    4/29/2011 6:31:38 PM [CT_SRV1] Locating file:MAG0 20080816\1.3.12.2.1107.5.1.4.54546.30000008081607264778100000013\1.3.12.2.1107.5.1.4.54546.30000008081607591934300008961\1.3.12.2.1107.5.1.4.54546.30000008081607591934300008962.dcm
    4/29/2011 6:31:38 PM [CT_SRV1] Sending file : R:\main_fs\ct\20080816\1.3.12.2.1107.5.1.4.54546.30000008081607264778100000013\1.3.12.2.1107.5.1.4.54546.30000008081607591934300008961\1.3.12.2.1107.5.1.4.54546.30000008081607591934300008962.dcm
    4/29/2011 6:31:38 PM [CT_SRV1] Image Loaded from Read Ahead Thread, returning TRUE
    4/29/2011 6:31:38 PM [CT_SRV1] frames 2
    4/29/2011 6:31:38 PM [CT_SRV1] offs1 464a1000
    4/29/2011 6:31:38 PM [CT_SRV1] JPEG decompress started.
    4/29/2011 6:31:38 PM [CT_SRV1] JPEG decompress time 0 seconds.
    4/29/2011 6:31:38 PM [CT_SRV1] [recompress]: recompressed with mode = un (strip=1)
    4/29/2011 6:31:38 PM [CT_SRV1] C-Move (PatientRoot)
    4/29/2011 6:31:38 PM [CT_SRV1] UPACS THREAD 6: ENDED AT: Fri Apr 29 18:31:38 2011
    4/29/2011 6:31:38 PM [CT_SRV1] UPACS THREAD 6: TOTAL RUNNING TIME: 1 SECONDS


    unabling jpeg2000 did not produce good result either


    ajgg

  • Hi,


    my fault: RetrieveResultConverter0 is run BEFORE decompression. Can you decompress it into conquest itself (set conquest to store as UN and move the data to itself), and set


    [lua]
    ImportConverter0 = a={}; a[0]=12; a[1]=0; Data:SetVR(0x28,0x101,a);


    This should decompress and modify the data. Then try to send the modified data to siemens?


    Thanks,


    Marcel

  • Hi,


    I did ask you advised.
    1. added the dicom.ini setting
    DroppedFileCompression = un
    IncomingCompression = un
    ArchiveCompression = as
    ## plus
    [lua]
    RetrieveResultConverter0 = a={}; a[0]=12; a[1]=0; Data:SetVR(0x28,0x101,a);
    2. set to server itself
    3. sent to workstation as uncompressed

    solved the problem


    tried same steps
    but removed


    [lua]
    RetrieveResultConverter0 = a={}; a[0]=12; a[1]=0; Data:SetVR(0x28,0x101,a);


    problem is back



    tried this in config
    [lua]


    ImportConverter0 = a={}; a[0]=12; a[1]=0; Data:SetVR(0x28,0x101,a);


    problem solved.



    I guess thats the problem. The next question is how to incorporate it into 1.4.16


    thanks


    ajgg

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!