ANTsPy
ANTsPy copied to clipboard
plot failed with axis =2
Describe the bug SimpleITK converted a T2 series from Dicom to a nii.gz file. Plotting the T2 series with axis = 2, the error indicates that "index 35 is out of bounds for axis 0 with size 24". In contrast, plotting with axis = 0 or 1 works well.
To Reproduce Steps to reproduce the behavior:
- Read the T2 series file.
- plot the series with axis= 2
Expected behavior The series could be plotted with axis=2
Screenshots
Desktop (please complete the following information):
- OS: macos, python 3.9, antspy version 0.3.3
Additional context The T2 series and mask were attached below contour.nii.gz T2W_TSE_ax__0.0.nii.gz