Bizzare window in some x-rays while viewing in Stone Web Viewer

When I use Stone Web viewers to view x-rays, the default window level and window width become strange and difficult to manipulate in some x-rays (these can be displayed properly by the Osimis web viewer and other dicom viewers such as radiants). I have attached the links of the files for testing. Can anyone advice? Thank you in advance.

https://drive.google.com/file/d/1PGaD2SnoVOtpKblbk0klv95vX51rcVCK/view?usp=share_link

https://drive.google.com/file/d/1OjHNBaEyA-Sh08XZn8xwlVH9fLbZp2JW/view?usp=sharing

I am not an expert on that, but I downloaded one of your samples: bizzare window chest

You can use the Explorer to examine the DICOM tags for the instance. It is a DX image, and there is this tag:

0008,0068 - PresentationIntentType: FOR PRESENTATION

and then also this one: See: https://dicom.innolitics.com/ciods/digital-x-ray-image/dx-image/00283010

0028,3010 - VOILUTSequence:

Item 1

  • 0028,3002 - LUTDescriptor: 16384\0\14

  • 0028,3003 - LUTExplanation: User Selection

  • 0028,3006 - LUTData:

  • 07a3,0010 - PrivateCreator: ELSCINT1

  • 07a3,109d - Unknown Tag & Data: 6545

  • 07a3,109e - Unknown Tag & Data: 3831

When I open the image in Stone it looks like it defaults to a width of 16384 (2^14) and a center of 8192 (2^13) whereas in the Osimis Viewer 5766 and 5325.

I suspect that the Stone viewer isn’t setting the Width and Center automatically and just defaulting to the 16384/8192. Either because a presentation state is missing, etc., or because it isn’t decoding the tags. My preference would be about 4500/5900. Maybe Alain or Sebastian would know how the Stone Viewer sets that ?

ww/wc: {{ windowingWidth }} / {{ windowingCenter }}

/sds

Thank you very much for your help. The stone viewer can display most of the x-rays properly but occasionally the windowing issue occurs like those I submitted. I guess there may be a component during acquisition where the windowing information / presentation state cannot be properly recorded into the DICOM file by the acquiring radiography machine. It would be a good idea if improvement can be made in the further version of the Stone Web viewer so that the windowing results of these x-ray images can be properly displayed, just like the results in the Osimis viewer and other DICOM viewers.

Thank you again for your help.

Like I said, I am not an expert on that, but it may be that a Presentation State was created for the studies that are not displaying properly and the PR state was not included or processed. Alain and or Sebastian might know more about that. It might be possible to create a Lua Script or Python Script that extracts the values and then populates the required Window Width and Center tags. I deal mostly with MRI, but it might be these tags:

0028,1050 - WindowCenter: Value

0028,1051 - WindowWidth: Value

See: https://dicom.innolitics.com/ciods/ct-image/voi-lut/00281050 and https://dicom.innolitics.com/ciods/ct-image/voi-lut/00281051

I suspect that if you programmatically populated those with the values noted above (below) that it might display as desired in the Stone Viewer. You could actually probably play around a little with that using the new feature in Explorer2 that allows you to edit / modify tags.

  • 07a3,109d - Unknown Tag & Data: 6545

  • 07a3,109e - Unknown Tag & Data: 3831

    /sds