In the initialization method
void mitk::Image::Initialize(const mitk::PixelType& type, const mitk::Geometry3D& geometry, unsigned int channels, int tDim )
the dimension of the image is set to 2 by default ( cf. line 803) and increased to 3 only if dimensio[2] is bigger 1 (line 804).
However, an image with z dimension one is a three dimensional image as well, therefor the if case should be >= 1 instead of > 1.