int
main(int argc, char * argv[])
{
if (argc < 3)
{
std::cerr << "Usage: " << argv[0] << " inputFile outputFile" << std::endl;
}
using PixelType = unsigned char;
constexpr unsigned int ImageDimension = 2;
auto image = itk::ReadImage<ImageType>(argv[1]);
using MetricValueType = double;
scale[0] = 1.5;
scale[1] = 1.5;
scaleTransform->SetScale(scale);
center[0] = image->GetLargestPossibleRegion().GetSize()[0] / 2;
center[1] = image->GetLargestPossibleRegion().GetSize()[1] / 2;
scaleTransform->SetCenter(center);
resampleFilter->SetTransform(scaleTransform);
resampleFilter->SetInput(image);
resampleFilter->SetSize(image->GetLargestPossibleRegion().GetSize());
resampleFilter->Update();
return EXIT_SUCCESS;
}