Add fallback decorator for 3D images

We don't support images greater than 2D, so fall back on ndimage