+ // WARNING VTK pixel type different from ITK Pixel type
+ std::string vtktype = mVtkImages[0]->GetScalarTypeAsString();
+ if (vtktype == "unsigned char") return "unsigned_char";
+ if (vtktype == "unsigned short") return "unsigned_short";
+ if (vtktype == "unsigned int") return "unsigned_int";
+ return vtktype;