diff --git a/fsl/data/image.py b/fsl/data/image.py
index 34e4aec45d634d2300922dd0480d75521839c07e..4efea8e021c03973760c295df3b4c59d4e4df7b8 100644
--- a/fsl/data/image.py
+++ b/fsl/data/image.py
@@ -536,9 +536,9 @@ class Nifti(notifier.Notifier):
         same space as this image.
         """
         return np.all(np.isclose(self .__shape[:3],
-                                 other.__shape[:3])) and \
-               np.all(np.isclose(self .__pixdim,
-                                 other.__pixdim))    and \
+                                 other.__shape[:3]))  and \
+               np.all(np.isclose(self .__pixdim[:3],
+                                 other.__pixdim[:3])) and \
                np.all(np.isclose(self .__voxToWorldMat,
                                  other.__voxToWorldMat))