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

spacing.y and spacing.x in function core.utils.ijk2LPS should be swapped in Nifti scenario #402

Open
ppageon opened this issue Dec 13, 2019 · 0 comments

Comments

@ppageon
Copy link

ppageon commented Dec 13, 2019

The function core.utils.ijk2LPS seems wrong in Nifti scenario, the original code as follow:
image
when I test a case with Nifti image with spacing like [0.5, 1.0, 0.75], the rendered images are distortion.
image
It looked fine when I swap the spacing.y with spacing.x, like:
image
So I think it should be wrong to multiply x component of Cos with y component of spacing, at least it doesn't work for Nifti scenario.

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

No branches or pull requests

1 participant