-
Notifications
You must be signed in to change notification settings - Fork 456
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
Pan and Zoom issue with segmentation on image with non-square pixels #1176
Comments
CC: @JamesAPetts Thank you for the reproduction! |
It looks like the issue occurs when the values of |
@MickeyMiao7 Thanks for the report. It'll be this function that is causing issues:
I.e. incorrect translation. The whole |
… with non-square pixels
fix cornerstonejs#1176 Pan and Zoom issue with segmentation on image with non-square pixels
Thanks you for the prompt reply and insight @JamesAPetts ! |
Prerequisites
yes.
yes.
not that I could see.
Description
The semi-transparent, filled-in sections of a segmentation are not moving consistently with the solid segmentation boundary or the underlying image with non-square pixels.
Steps to Reproduce the issue
Expected behavior: The segmentation boundary and semi-transparent infill should undergo the same same translation, providing an accurate view of which pixels have been highlighted.
Actual behavior: The boundary maintains it's relative position with the underlying image correctly while the filled in pixels don't maintain there position along the axis with the greater pixel dimension.
CodeSandbox With Reproduction of Issue:
The text was updated successfully, but these errors were encountered: