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
get_voxel_spacing utility function #1627
Comments
Isnt't this simple to grab the diagonal of the affine ? Why do we need function ? You mean we can use this function multiple places in the code base ? |
It isn't quite the (raw) diagonal of the affine. It is doing a QR decomposition. |
yeah but the result will be the same. isn't it ? |
Take this as an example:
|
Well, can you issue a PR ? |
Stalled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From here:
nilearn/nilearn/image/resampling.py
Lines 659 to 663 in f6c5d3e
factor out:
This function is useful for example when resizing to isotropic you can use the smallest dimension in the new affine.
The text was updated successfully, but these errors were encountered: