Open abustany opened 7 months ago
Unfortunately, we currently do not have support for using the predefined VOI LUT in DICOM.
Do you have an idea how hard it’d be to port the logic from the “old” cornerstone? Just to know if it’s something I, as a total outsider, could consider doing…
Hmm, was it working in the old cs?
Yup, there it worked without doing anything special
Hello, Are there any plans to implement a predefined VOI LUT in DICOM?
Hmm, if I switch to setUseCPURendering(true) => Then it works fine. I'm trying to make a workaround - I'm trying to dynamically change the rendering engine and viewport - but it doesn't seem to work :( - no success
Describe the Bug
Images with a VOI LUT don't get their levels computed correctly when rendering, so they display incorrectly.
Cornerstone3D version: 1.36.3 This works as expected when using Cornerstone JS 2.6.1 (wado image loader 3.3.2)
Attached is a file which demonstrates the issue. hand.dcm.zip
Correct rendering
Current rendering
(ignore the green annotation in the top right corner)
Tags relevant to VOI LUT
Steps to Reproduce
The current behavior
The image gets rendered with incorrect levels
The expected behavior
The image renders with correct levels. This used to work in the "old" cornerstone.
OS
Linux
Node version
18.18.2
Browser
Chromium 119.0.6045.159, Firefox 120.0b9