spacing.y and spacing.x in function core.utils.ijk2LPS should be swapped in Nifti scenario
- Dominant language
- JavaScript
- Stars
- 745
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
The function core.utils.ijk2LPS seems wrong in Nifti scenario, the original code as follow:

when I test a case with Nifti image with spacing like [0.5, 1.0, 0.75], the rendered images are distortion.

It looked fine when I swap the spacing.y with spacing.x, like:

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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.