Softcopy VOI LUT Sequence

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
paolom
Posts: 169
Joined: Tue, 2008-09-16, 15:02

Softcopy VOI LUT Sequence

#1 Post by paolom »

I've this Presentation State File:

Code: Select all

(0028,3110) SQ (Sequence with explicit length #=1)      # 131184, 1 SoftcopyVOILUTSequence
  (fffe,e000) na (Item with explicit length #=3)          # 131176, 1 Item
    (0028,1050) DS [3373\3373\3373]                         #  14, 3 WindowCenter
    (0028,1051) DS [3335\3335\3335]                         #  14, 3 WindowWidth
    (0028,3010) SQ (Sequence with explicit length #=1)      # 131120, 1 VOILUTSequence
      (fffe,e000) na (Item with explicit length #=3)          # 131112, 1 Item
        (0028,3002) US 65535\0\16                               #   6, 3 LUTDescriptor
        (0028,3003) LO [Sigmoid]                                #   8, 1 LUTExplanation
        (0028,3006) OW 0014\0014\0014\0014\0014\0014\0014\0014\0014\0014\0014\0014\0014... # 131070, 1 LUTData
      (fffe,e00d) na (ItemDelimitationItem for re-encoding)   #   0, 0 ItemDelimitationItem
    (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) #   0, 0 SequenceDelimitationItem
  (fffe,e00d) na (ItemDelimitationItem for re-encoding)   #   0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem for re-encod.) #   0, 0 SequenceDelimitationItem
(0029,101a) UN 00\00\00\00\00\00\00\00                  #   8, 1 Unknown Tag & Data
(0029,1030) UN 00\00                                    #   2, 1 Unknown Tag & Data
(0029,1033) UN (no value available)                     #   0, 1 Unknown Tag & Data
(0029,1035) UN 30\5c\30\20                              #   4, 1 Unknown Tag & Data
(0065,0020) LO [Viewing Protocol]                       #  16, 1 PrivateCreator
(0065,2098) UN 00\00                                    #   2, 1 Unknown Tag & Data
(0065,2099) UN 00\00                                    #   2, 1 Unknown Tag & Data
(0070,0041) CS [N]                                      #   2, 1 ImageHorizontalFlip
(0070,0042) US 180                                      #   2, 1 ImageRotation
(0070,005a) SQ (Sequence with explicit length #=1)      # 122, 1 DisplayedAreaSelectionSequence
  (fffe,e000) na (Item with explicit length #=6)          # 114, 1 Item
    (0029,1042) UN 00\00\80\3f                              #   4, 1 Unknown Tag & Data
    (0070,0052) SL 0\0                                      #   8, 2 DisplayedAreaTopLeftHandCorner
    (0070,0053) SL 2012\2812                                #   8, 2 DisplayedAreaBottomRightHandCorner
    (0070,0100) CS [SCALE TO FIT]                           #  12, 1 PresentationSizeMode
    (0070,0101) DS [0.085\0.085]                            #  12, 2 PresentationPixelSpacing
  (fffe,e00d) na (ItemDelimitationItem for re-encoding)   #   0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem for re-encod.) #   0, 0 SequenceDelimitationItem
(0070,0080) CS [VR_GSPSS]                               #   8, 1 ContentLabel
(0070,0081) LO [VR softcopy presentation]               #  24, 1 ContentDescription
(0070,0082) DA [20091111]                               #   8, 1 PresentationCreationDate
(0070,0083) TM [114002]                                 #   6, 1 PresentationCreationTime
(0070,0084) PN [VR]                                     #   2, 1 ContentCreatorsName
(2050,0020) CS [INVERSE]                                #   8, 1 PresentationLUTShape
With the dcmpschk I've this result:

Code: Select all

Warning: Attribute value uses retired form.
   Affected attribute: ContentCreatorsName (0070,0084), Type PN
   Attribute value   : [VR]

Error: windowCenter present but windowWidth VM != 1 in presentation state
Error: windowCenter present but VM != 1 in presentation state
Error: both VOI window and LUT present in presentation state
Error: mask module present in presentation state, but unsupported

Test failed - one or more errors.
I've this question:

The DICOM Standard on PS 3.3 2008 (page 889) describe the Softcopy VOI LUT Sequence as an attribute that "defines a sequence of VOI LUTs or Window Centers and Widths and to which images and frames they apply. No more than one VOI LUT Sequence containing a single Item or one pair of Window Center/Width values shall be
specified for each image or frame. One or more Items shall be present."

If I receive an error as in my case :

Error: both VOI window and LUT present in presentation state

how can I manage it?!?

Which tag does I need to remove LUTData or WindowCenter/WindowWidth?!

Thanks in advance

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 »

I think the sentence "No more than one VOI LUT Sequence containing a single Item or one pair of Window Center/Width values shall be specified for each image or frame" is unambiguous.

Either you need to remove the VOI LUT Sequence or the Window Center/Width elements. And, of course, for Window Center/Width only a single value is permitted and not three as in your example (also see error report of dcmpschk).

paolom
Posts: 169
Joined: Tue, 2008-09-16, 15:02

#3 Post by paolom »

Yes, I tryed with removing first only the Window Level/Width and after only the LUT Data...
the result is two different images...

As I can understand,,,there isn't a right answer...I think it's a very hard problem cause choose about one solution can change the view about the diagnostic

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 »

As I tried to explain, the GSPS object is encoded incorrectly, i.e. this object does not conform to the DICOM specification! You should inform the manufacturer of the device about this violation of the DICOM standard.

Post Reply

Who is online

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