Is there a decoder settings that I am missing? Is there anything that I should know about decoding jpeg?
Other jpeg encoded files with the same photometric representation are rendered correctly. So the problem might be in the file itself.
For the reference, here is (hopefully, relevant part of) the dump of the file:
Code: Select all
# Dicom-File-Format
# Dicom-Meta-Information-Header
# Used TransferSyntax: Little Endian Explicit
(0002,0000) UL 196 # 4, 1 FileMetaInformationGroupLength
(0002,0001) OB 00\01 # 2, 1 FileMetaInformationVersion
(0002,0002) UI =UltrasoundMultiframeImageStorage # 28, 1 MediaStorageSOPClassUID
(0002,0003) UI [2.16.840.1.113977.2.2689.4.20120504.45555.3.3.3.50] # 50, 1 MediaStorageSOPInstanceUID
(0002,0010) UI =JPEGLossless:Non-hierarchical-1stOrderPrediction # 22, 1 TransferSyntaxUID
(0002,0012) UI [1.2.528.1.1001.2.20040707.2] # 28, 1 ImplementationClassUID
(0002,0013) SH [AMI_DICOM03_2] # 14, 1 ImplementationVersionName
# Dicom-Data-Set
# Used TransferSyntax: JPEG Lossless, Non-hierarchical, 1st Order Prediction
(0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet
(0008,0008) CS [DERIVED\PRIMARY\INTRAVASCULAR\0201] # 34, 4 ImageType
(0008,0016) UI =UltrasoundMultiframeImageStorage # 28, 1 SOPClassUID
(0008,0018) UI [2.16.840.1.113977.2.2689.4.20120504.45555.3.3.3.50] # 50, 1 SOPInstanceUID
(0008,0020) DA [20120502] # 8, 1 StudyDate
(0008,0021) DA [20120504] # 8, 1 SeriesDate
(0008,0023) DA [20120504] # 8, 1 ContentDate
(0008,002a) DT [20120504085725] # 14, 1 AcquisitionDateTime
(0008,0030) TM [203000] # 6, 1 StudyTime
(0008,0031) TM [085725] # 6, 1 SeriesTime
(0008,0033) TM [085725] # 6, 1 ContentTime
(0008,0050) SH [001659658] # 10, 1 AccessionNumber
(0008,0060) CS [US] # 2, 1 Modality
(0008,0070) LO <redacted> # 12, 1 Manufacturer
(0008,0080) LO (no value available) # 0, 0 InstitutionName
(0008,0090) PN <redacted> # 16, 1 ReferringPhysicianName
(0008,1010) SH <redacted> # 16, 1 StationName
(0008,1030) LO [CATH - Cardiac Procedure] # 24, 1 StudyDescription
(0008,103e) LO [IVUS] # 4, 1 SeriesDescription
(0008,1050) PN <redacted> # 6, 1 PerformingPhysicianName
(0008,1090) LO [s5] # 2, 1 ManufacturerModelName
(0008,1140) SQ (Sequence with explicit length #=1) # 102, 1 ReferencedImageSequence
(fffe,e000) na (Item with explicit length #=2) # 94, 1 Item
(0008,1150) UI =UltrasoundMultiframeImageStorage # 28, 1 ReferencedSOPClassUID
(0008,1155) UI [2.16.840.1.113977.2.2689.4.20120504.45555.3.3.1.50] # 50, 1 ReferencedSOPInstanceUID
(fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
(0008,2111) ST [JPEG Lossy Compression (9:1)] # 28, 1 DerivationDescription
(0008,2142) IS [1] # 2, 1 StartTrim
(0008,2143) IS [19] # 2, 1 StopTrim
(0008,2144) IS [2] # 2, 1 RecommendedDisplayFrameRate
(0010,0010) PN <redacted> # 18, 1 PatientName
(0010,0020) LO <redacted> # 10, 1 PatientID
(0010,0030) DA <redacted> # 8, 1 PatientBirthDate
(0010,0040) CS <redacted> # 2, 1 PatientSex
(0010,1010) AS <redacted> # 4, 1 PatientAge
(0010,2160) SH <redacted> # 2, 1 EthnicGroup
(0018,0040) IS [2] # 2, 1 CineRate
(0018,1000) LO [02689] # 6, 1 DeviceSerialNumber
(0018,1020) LO [3.0.2\3.5.1 IB5] # 16, 2 SoftwareVersions
(0018,1065) DS [0\639\639\639\639\639\639\639\639\605\639\639\605\639\639\639\639\... # 74,19 FrameTimeVector
(0018,5010) LO [Eagle Eye\85900\066105] # 22, 3 TransducerData
(0018,5050) IS [5] # 2, 1 DepthOfScanField
(0018,6011) SQ (Sequence with explicit length #=1) # 140, 1 SequenceOfUltrasoundRegions
(fffe,e000) na (Item with explicit length #=11) # 132, 1 Item
(0018,6012) US 1 # 2, 1 RegionSpatialFormat
(0018,6014) US 1 # 2, 1 RegionDataType
(0018,6016) UL 2 # 4, 1 RegionFlags
(0018,6018) UL 0 # 4, 1 RegionLocationMinX0
(0018,601a) UL 0 # 4, 1 RegionLocationMinY0
(0018,601c) UL 499 # 4, 1 RegionLocationMaxX1
(0018,601e) UL 499 # 4, 1 RegionLocationMaxY1
(0018,6024) US 3 # 2, 1 PhysicalUnitsXDirection
(0018,6026) US 3 # 2, 1 PhysicalUnitsYDirection
(0018,602c) FD 0.002 # 8, 1 PhysicalDeltaX
(0018,602e) FD 0.002 # 8, 1 PhysicalDeltaY
(fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
(0018,6031) CS [IV_PHASED] # 10, 1 TransducerType
(0020,000d) UI [1.2.840.113845.11.1000000001951524609.20120502183007.3114974] # 60, 1 StudyInstanceUID
(0020,000e) UI [2.16.840.1.113977.2.2689.2.20120504.45555.3.3] # 46, 1 SeriesInstanceUID
(0020,0010) SH [CP] # 2, 1 StudyID
(0020,0011) IS [1] # 2, 1 SeriesNumber
(0020,0013) IS [2] # 2, 1 InstanceNumber
(0020,0020) CS (no value available) # 0, 0 PatientOrientation
(0020,0060) CS (no value available) # 0, 0 Laterality
(0020,4000) LT <redacted> # 4, 1 ImageComments
(0028,0002) US 3 # 2, 1 SamplesPerPixel
(0028,0004) CS [YBR_FULL_422] # 12, 1 PhotometricInterpretation
(0028,0006) US 0 # 2, 1 PlanarConfiguration
(0028,0008) IS [19] # 2, 1 NumberOfFrames
(0028,0009) AT (0018,1065) # 4, 1 FrameIncrementPointer
(0028,0010) US 500 # 2, 1 Rows
(0028,0011) US 500 # 2, 1 Columns
(0028,0014) US 1 # 2, 1 UltrasoundColorDataPresent
(0028,0030) DS [0.02\0.02] # 10, 2 PixelSpacing
(0028,0100) US 8 # 2, 1 BitsAllocated
(0028,0101) US 8 # 2, 1 BitsStored
(0028,0102) US 7 # 2, 1 HighBit
(0028,0103) US 0 # 2, 1 PixelRepresentation
(0028,2110) CS [01] # 2, 1 LossyImageCompression
(0028,2112) DS [9.00] # 4, 1 LossyImageCompressionRatio
(0028,2114) CS [ISO_10918_1] # 12, 1 LossyImageCompressionMethod
... <private tags>
(7fe0,0010) OB (PixelSequence #=20) # u/l, 1 PixelData
...
(fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem