int
main(int, char *[])
{
VectorImageType::Pointer image = VectorImageType::New();
image->SetRegions(region);
image->Allocate();
translation[0] = 10;
translation[1] = 20;
transform->Translate(translation);
ResampleFilterType::Pointer vectorResampleFilter = ResampleFilterType::New();
vectorResampleFilter->SetInput(image);
vectorResampleFilter->SetSize(image->GetLargestPossibleRegion().GetSize());
vectorResampleFilter->SetTransform(transform);
vectorResampleFilter->Update();
return EXIT_SUCCESS;
}