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

better controls for volume rendering volumes with small scalar ranges #3128

Closed
slicerbot opened this issue Mar 12, 2020 · 6 comments
Closed
Assignees
Labels
Priority: Low Small, non-essential improvements or fixes Type: Bug Something isn't working correctly
Milestone

Comments

@slicerbot
Copy link
Collaborator

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.

@lassoan lassoan added Priority: Low Small, non-essential improvements or fixes Type: Bug Something isn't working correctly labels Mar 20, 2020
@lassoan lassoan added this to the Slicer 4.11.0 milestone Mar 20, 2020
@lassoan
Copy link
Contributor

lassoan commented Mar 20, 2020

When loading an image that has a small scalar range (e.g., this MRHead image rescaled to 0.0-1.0 range) then Shift slider in volume rendering module has incorrect min/max range by default (very large range compared to the scalar range of the volume). The range is fixed when transfer functions are modified (e.g., any of the points are moved in scalar opacity transfer function).

Probably an initial update of the slider range is missing.

@lassoan
Copy link
Contributor

lassoan commented Mar 26, 2020

@cpinter could you have a look? You've fixed this and it almost works perfectly, it seems to be just a small initialization bug.

@cpinter
Copy link
Member

cpinter commented Aug 26, 2020

I tried with the file you provided and in the latest version it seems to be working fine. Or maybe I misunterstand the problem. What I did:

  • Load the small scalar range MRHear
  • Show in Volume rendering
  • Move the Shift slider, see how the volume changes
  • Load regular MRHead
  • Show in Volume rendering
  • Move the Shift slider, it is changing apparently exactly the same way as the small scalar range one

@cpinter
Copy link
Member

cpinter commented Aug 28, 2020

@lassoan You can close this if you experience the same.

@jamesobutler
Copy link
Contributor

@lassoan Can you take a look based on the latest here?

@lassoan
Copy link
Contributor

lassoan commented Dec 9, 2021

I cannot reproduce the problem anymore, so I guess the problem was fixed.

@lassoan lassoan closed this as completed Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Small, non-essential improvements or fixes Type: Bug Something isn't working correctly
Development

No branches or pull requests

4 participants