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: Segmentation slice range is wrong when nearly orthonormal as well as for segmentation volumes #511

Merged
merged 3 commits into from
Mar 23, 2023

Conversation

wayfarer3130
Copy link
Collaborator

If a segmentation is created with a much larger range than one of the display sets it applies to, then that display set is shown with large swathes of black, and the scrolling can be wrong because it uses the finer of the two scrolls, which can end up duplicating base images.

This change uses primary volumes, which it determines by those having a volume image loader prefix, for slice range, and only uses secondary volumes when there are no primaries.

@netlify
Copy link

netlify bot commented Mar 23, 2023

Deploy Preview for cornerstone-3d-docs canceled.

Name Link
🔨 Latest commit f11671b
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/641cab5aa08e180008525e4a

Copy link
Member

@sedghi sedghi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see my comments

@wayfarer3130 wayfarer3130 merged commit cd232e3 into main Mar 23, 2023
@wayfarer3130 wayfarer3130 deleted the fix/segmentation-slice-range branch March 23, 2023 19:52
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