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

BF: _on_mouse and _on_scroll in viewers for non RAS matrices #1350

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

gjpcbecq
Copy link
Contributor

I have corrected indices for matrices with flipped dimensions.
I have also corrected the ordering of RAS dimensions when order of the RAS are different in the data array.
Perhaps all the code need to be refactored for clarity, using only affine transforms from the viewer to the RAS coordinate system then RAS to ijk, avoiding confusing flipping and reordering.
Perhaps I will look about that, if I have time.

Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.36%. Comparing base (83eaf0b) to head (5d89d2f).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1350      +/-   ##
==========================================
+ Coverage   95.34%   95.36%   +0.02%     
==========================================
  Files         207      207              
  Lines       29507    29645     +138     
  Branches     4982     4985       +3     
==========================================
+ Hits        28134    28272     +138     
  Misses        932      932              
  Partials      441      441              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gjpcbecq gjpcbecq changed the title BF _on_mouse and _on_scroll in viewers for non RAS matrices BF: _on_mouse and _on_scroll in viewers for non RAS matrices Sep 13, 2024
@gjpcbecq gjpcbecq changed the title BF: _on_mouse and _on_scroll in viewers for non RAS matrices BF: _on_mouse and _on_scroll in viewers for non RAS matrices Sep 13, 2024
@gjpcbecq gjpcbecq changed the title BF: _on_mouse and _on_scroll in viewers for non RAS matrices BF: _on_mouse and _on_scroll in viewers for non RAS matrices Sep 13, 2024
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.

1 participant