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

fix(voi) : wrong voiRange for some multi-frame instances or multi-instance series rendered on the same viewport #241

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

md-prog
Copy link
Contributor

@md-prog md-prog commented Oct 7, 2022

On GPU Rendering mode:
When we try to render a new image on the reused viewport, but this line: https://github.com/cornerstonejs/cornerstone3D-beta/blob/6ffaee7e817843c3971502d9ec32d85716a1de15/packages/core/src/RenderingEngine/StackViewport.ts#L1648 results in false value, it will create a new rendering actor. and when it does this, and if the newly rendered image doesn't have specific VOI Range values are set, the voiRange correction won't happen, resulting in bad window level and center - on UI side it will appear as white noises.

This will possibly fix the #225

…at are rendered on the reused viewport but new actor
@netlify
Copy link

netlify bot commented Oct 7, 2022

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit fd819ae
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/63402a404e46aa000ac5fb46
😎 Deploy Preview https://deploy-preview-241--cornerstone-3d-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@sedghi sedghi changed the title GPU rendering : wrong voiRange for some multi-frame instances or multi-instance series rendered on the same viewport fix(voi) : wrong voiRange for some multi-frame instances or multi-instance series rendered on the same viewport Oct 7, 2022
@sedghi sedghi merged commit aa016fc into cornerstonejs:main Oct 7, 2022
wayfarer3130 pushed a commit that referenced this pull request Jan 20, 2023
* fix: 🐛 IDC Re #2003: fix regression in parsing segmentation orietations

* fix: 🐛 fix array format regression from commit 70b24332783d63c9db2ed21d512d9f7b526c5222

* fix: 🐛 force a release for commit caaac4bead91f34dd393208a7b47180923c915b4

* fix: 🐛 force a release for commit caaac4bead91f34dd393208a7b47180923c915b4

* fix: 🐛 tolerance parameter was not propagated

* fix var description
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

Successfully merging this pull request may close these issues.

2 participants