InsightSoftwareConsortium / InsightSoftwareConsortium/itkwidgets
Position in z-axis is weirdly off
- Dominant language
- Python
- Stars
- 624
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
I have a .nii image I created from an itk.Image, with identity coordinate tranformations (i.e. identity direction, 0 origin, 1 spacing). When itkwidgets is set to z-plane view, it reports the wrong physical coordinate for the z dimension. See below. The -9.4 should be 0. Also, it doesn't seem to be isotropic spacing, if I move the axis slider it has different values and eventually gets it almost right on the last slices.
https://github.com/brad-t-moore/PublicExamples/blob/b5f4a4ff401c3ea1f919b82edae547744cb59bb3/ITKWidgetsBug.ipynb

Example is here: https://github.com/brad-t-moore/PublicExamples/blob/b5f4a4ff401c3ea1f919b82edae547744cb59bb3/ITKWidgetsBug.ipynb
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.