int main(int argc, char *argv[])
{
std::string fileName;
if(argc == 1)
{
fileName = "test.tfm";
}
else
{
fileName = argv[1];
}
#if (ITK_VERSION_MAJOR == 4 && ITK_VERSION_MINOR >= 5) || ITK_VERSION_MAJOR > 4
#else
#endif
reader->SetFileName(fileName);
reader->Update();
std::cout << *(reader->GetTransformList()->begin()) << std::endl;
return EXIT_SUCCESS;
}