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

[FEATURE] Image with non-(a, a, a) pixel spacing should be rendered with correct aspect ratio in GUI #68

Open
jesse-wei opened this issue Apr 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jesse-wei
Copy link
Collaborator

When loading an image with (a, b, c) pixel spacing, it is rendered with that aspect ratio in the GUI. However, it should be displayed with the aspect ratio of a (1, 1, 1) normal brain image. Additionally, this should work for all views.

Note that an image with (0.5, 0.5, 0.5) spacing actually looks correct in the GUI. So non-(1, 1, 1) doesn't necessarily have this problem. non-(a, a, a) has this problem.

This would involve modifying GUI/main.py resizeEvent.

We would need a boolean variable set in browse_files telling us whether the loaded image(s) have (a, a, a) pixel spacing or not.

@jesse-wei jesse-wei added the enhancement New feature or request label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant