OHIF / Viewers

OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
https://docs.ohif.org/
MIT License
2.98k stars 3.12k forks source link

[Bug] Support for VOI LUTs #4266

Open AndreaPetrelli opened 4 days ago

AndreaPetrelli commented 4 days ago

Describe the Bug

The VOI LUT Sequence specifies a (potentially non-linear) conversion from the output of the (conceptual) Modality LUT values to the input to the (conceptual) Presentation LUT but seems that VOI LUT is ignored by OHIF.

Maybe releated to #818 #2061

Steps to Reproduce

Open viewer at /local path Select the example file example file

The current behavior

VOI LUT is not applied to image

The expected behavior

VOI LUT is automatically applied UI that lists all available LUTs (dropdown, LUTs can have names) Ability to disable and use normal Window Leveling

OS

Mac OSX Sonoma

Node version

v22.3.0

Browser

Safari 17.5, Edge 126.0.2592.68

sedghi commented 2 days ago

You can create non linear LUTs right now,

https://www.cornerstonejs.org/live-examples/stackvoisigmoid

We are definitely interested in using VOI LUTs from the header.

AndreaPetrelli commented 2 days ago

Hi Sedghi, just to be clear, I need OIHF to apply the VOI LUT contained in tags (00283000).

I have seen that Cornerstone supports these tags (i tried here)

There is something that i can do?