Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Blending mode for PET/CT #826

Open
salimkanoun opened this issue Oct 12, 2023 · 0 comments
Open

[Bug] Blending mode for PET/CT #826

salimkanoun opened this issue Oct 12, 2023 · 0 comments

Comments

@salimkanoun
Copy link
Contributor

Describe the Bug

In the fused viewport the Opacity is not applied as a linear scale, the problem is visible as we need to reach opacity >0.75 to see the PET component of the viewport. see https://www.cornerstonejs.org/live-examples/changecolormap

The problems lies in the blending algorithm and has been discussed there Kitware/vtk-js#2093 and more info in this response : Kitware/vtk-js#2093 (comment)

The current blending algorithm is using a opacity expressed /mm which made it sensitive of slab thickness, we can experiment that in OHIF, setting an Opacity at 0.8 and modifying the slab thickess induce a change of opacity.

For blending PET and CT both chanel should be applied in a linear scale and with not effect of the slab thickness.

Similar issue has been found and reported to VolView Kitware/VolView#355 and a PR has been proposed here : Kitware/VolView#449 (comment)
The fusion algorithm of volview seems now good (but don't know yet if it is insensitive of slab thickness), i wonder if a similar fix could be ported / tested in cornerstone 3D

Steps to Reproduce

View a fused viewport and change opacity of the PET layer

The current behavior

Fusion PET/CT is not linear, opacity of PET only shows for value > 0.9 and depends on slab thickness

The expected behavior

Opacity should be linear from 0 to 1 and stay stable even if change slab thickness

OS

Linux

Node version

18

Browser

Chrome lastest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant