Image displays white-out

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
evanyftsai
Posts: 26
Joined: Fri, 2015-10-16, 09:18

Image displays white-out

#1 Post by evanyftsai »

Hi,

I have been using createWiindowsDIB to display DICOM images successfully for many scans. Recently I encountered a scan where the image shows up very white, as if everything is in a `white-out' condition. Do you have any clue what could be the root cause? Thanks!



Below is the information of this scan:


(0002,0000) Group Length VR: UL Length: 4 Value: 198
(0002,0001) File Meta Information Version VR: OB Length: 2 Value: 0
(0002,0002) Media Storage SOP Class UID VR: UI Length: 26 Value: 1.2.840.10008.5.1.4.1.1.2
(0002,0003) Media Storage SOP Instance UID VR: UI Length: 54 Value: 1.2.410.200064.1.1.551189978971.123715493565135.1.0.0
(0002,0010) Transfer Syntax UID VR: UI Length: 20 Value: 1.2.840.10008.1.2.1
(0002,0012) Implementation Class UID VR: UI Length: 28 Value: 1.2.276.0.7230010.3.0.3.6.0
(0002,0013) Implementation Version Name VR: SH Length: 16 Value: OFFIS_DCMTK_360
(0008,0005) Specific Character Set VR: CS Length: 30 Value: ISO 2022 IR 13\ISO 2022 IR 87
(0008,0008) Image Type VR: CS Length: 22 Value: ORIGINAL\PRIMARY\AXIAL
(0008,0016) SOP Class UID VR: UI Length: 26 Value: 1.2.840.10008.5.1.4.1.1.2
(0008,0018) SOP Instance UID VR: UI Length: 54 Value: 1.2.410.200064.1.1.551189978971.123715493565135.1.0.0
(0008,0020) Study Date VR: DA Length: 8 Value: 20170403
(0008,0021) Series Date VR: DA Length: 8 Value: 20170619
(0008,0022) Acquisition Date VR: DA Length: 8 Value: 20170403
(0008,0030) Study Time VR: TM Length: 10 Value: 000000.000
(0008,0031) Series Time VR: TM Length: 6 Value: 121913
(0008,0050) Accession Number VR: SH Length: 0
(0008,0060) Modality VR: CS Length: 2 Value: CT
(0008,0070) Manufacturer VR: LO Length: 4 Value: 3DII
(0008,0090) Referring Physician's Name VR: PN Length: 4 Value: " "
(0008,1010) Station Name VR: SH Length: 4 Value: " "
(0008,1030) Study Description VR: LO Length: 4 Value: " "
(0008,103E) Series Description VR: LO Length: 4 Value: " "
(0010,0010) Patient's Name VR: PN Length: 14 Value: $B03:dH~CRBe
(0010,0020) Patient ID VR: LO Length: 4 Value: 1763
(0010,0030) Patient's Birth Date VR: DA Length: 0
(0010,0040) Patient's Sex VR: CS Length: 2 Value: F
(0010,1010) Patient's Age VR: AS Length: 0
(0018,0022) Scan Options VR: CS Length: 8 Value: CIRCULAR
(0018,0050) Slice Thickness VR: DS Length: 8 Value: 0.204618
(0018,0060) KVP VR: DS Length: 8 Value: 0.000000
(0018,0090) Data Collection Diameter VR: DS Length: 8 Value: 0.000000
(0018,1100) Reconstruction Diameter VR: DS Length: 10 Value: 158.170486
(0018,1110) Distance Source to Detector VR: DS Length: 8 Value: 0.000000
(0018,1111) Distance Source to Patient VR: DS Length: 8 Value: 0.000000
(0018,1140) Rotation Direction VR: CS Length: 2 Value: CW
(0018,1151) X-Ray Tube Current VR: IS Length: 2 Value: 0
(0018,1160) Filter Type VR: SH Length: 2 Value: B
(0018,1210) Convolution Kernel VR: SH Length: 2 Value: B
(0018,5100) Patient Position VR: CS Length: 4 Value: HFS
(0020,000D) Study Instance UID VR: UI Length: 38 Value: 1.2.392.20036.9205.3.20170403122357509
(0020,000E) Series Instance UID VR: UI Length: 52 Value: 1.2.410.200064.1.1.551189953377.123715493565135.1.0
(0020,0010) Study ID VR: SH Length: 4 Value: " "
(0020,0011) Series Number VR: IS Length: 2 Value: 0
(0020,0012) Acquisition Number VR: IS Length: 2 Value: 0
(0020,0013) Image Number VR: IS Length: 2 Value: 0
(0020,0032) Image Position (Patient) VR: DS Length: 32 Value: -78.982933\-78.982933\-40.821381
(0020,0037) Image Orientation (Patient) VR: DS Length: 54 Value: 1.000000\0.000000\0.000000\0.000000\1.000000\0.000000
(0020,0052) Frame of Reference UID VR: UI Length: 52 Value: 1.2.410.200064.1.1.551189978971.123715493565135.1.0
(0020,1041) Slice Location VR: DS Length: 10 Value: -40.821381
(0028,0002) Samples per Pixel VR: US Length: 2 Value: 1
(0028,0004) Photometric Interpretation VR: CS Length: 12 Value: MONOCHROME2
(0028,0008) Number of Frames VR: IS Length: 2 Value: 1
(0028,0010) Rows VR: US Length: 2 Value: 773
(0028,0011) Columns VR: US Length: 2 Value: 773
(0028,0030) Pixel Spacing VR: DS Length: 18 Value: 0.204619\0.204619
(0028,0100) Bits Allocated VR: US Length: 2 Value: 16
(0028,0101) Bits Stored VR: US Length: 2 Value: 16
(0028,0102) High Bit VR: US Length: 2 Value: 15
(0028,0103) Pixel Representation VR: US Length: 2 Value: 1
(0028,1050) Window Center VR: DS Length: 4 Value: 3400
(0028,1051) Window Width VR: DS Length: 6 Value: 10500
(0028,1052) Rescale Intercept VR: DS Length: 2 Value: 0
(0028,1053) Rescale Slope VR: DS Length: 2 Value: 1
(7FE0,0010) Frame Data VR: OW Length: 1195058

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

Re: Image displays white-out

#2 Post by Marco Eichelberg »

The image has a contrast depth of 16 bit/pixel (BitsStored = 16). A Windows DIB only offers 8 bit/pixel monochrome, so a reduction takes place during the conversion. You have to apply the VOI LUT transformation (e.g. based on the parameters Window Center and Window Width encoded in the image) to get an appropriate selection of that part of the grayscale space that needs to be mapped to 8 bits.

Post Reply

Who is online

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