Open
Description
The Transpose transform doesn't change the image's affine matric, but spacing transform needs to calculate the original spacing using this affine matric. So I think this is a bug if transpose before spacing transform.
Transpose:
MONAI/monai/transforms/utility/array.py
Line 601 in 17c1e3a
Calculating original spacing: https://github.com/Project-MONAI/MONAI/blob/17c1e3acff583e241066da08dae4b75554b52dda/monai/transforms/spatial/array.py#L507C7-L507C7