Instead of using type ImageType it should be itkInternalImageType.
Pushed new branch T23270-WrongImageType.