-
Notifications
You must be signed in to change notification settings - Fork 56
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
Empty series and slice mask functions column rather than row first #88
Comments
Hello @nieag, Thanks for your message. I can't think of any reason why the order should be reversed for those two functions... it is possible that this is a bug. As far as I know, numpy also stores its data row-major by default. Perhaps we've missed this since working with CT data, slice size always have 512 x 512 dimensions so rows == columns...? (@carluri any thoughts?) I'd say it's a bug and needs fix. Could you please open up a PR? It'd be really important if you could test it with non-square slice dimensions so that we can see that the current implementation is buggy, and the PR would fix it. I'd be very happy to review this PR. Thank you so much for your contributions and for using the tool! Best regards, Pedro |
Hey, Thanks! |
Hi!
I noticed when working with uneven MRI volumes that the order of rows and columns is not consistent throughout. In most parts of the repo the order is correctly row-major, but for creating empty series and slice masks the order is reversed to column-major. Is this intentional and if so why?
Would be happy to send a PR changing these methods to row-major as well.
Thanks!
The text was updated successfully, but these errors were encountered: