-
Notifications
You must be signed in to change notification settings - Fork 326
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
fix(voi): stack viewport should prioritize image metadata for windowlevel and not persist #454
Conversation
✅ Deploy Preview for cornerstone-3d-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would like to see the change to remove CPU/GPU test everywhere.
@@ -2636,6 +2584,95 @@ class StackViewport extends Viewport implements IStackViewport { | |||
|
|||
return newImagePlaneModule; | |||
} | |||
|
|||
private renderingPipelineFunctions = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here @wayfarer3130
Stack viewport was not updating the
voi
if the new image'svoi
was different. This PR willvoiRange
if it is in the metadatavoi
is set via outside set (e.g.,setProperties
) then thevoi
becomes a global voi for the whole stackresetProperties
will make it back to the per imagevoi
Ground truth Test images are changed since now the metadata has more priority
address OHIF/Viewers#3190