From 5d1d902f943d3441d6bfa3730da2d5bcb87921f4 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Wed, 9 Mar 2016 09:58:16 +0100 Subject: [PATCH] Debug Resample tool --- tools/clitkResampleImageGenericFilter.txx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/clitkResampleImageGenericFilter.txx b/tools/clitkResampleImageGenericFilter.txx index b42d183..7ecf842 100644 --- a/tools/clitkResampleImageGenericFilter.txx +++ b/tools/clitkResampleImageGenericFilter.txx @@ -101,13 +101,12 @@ clitk::ResampleImageGenericFilter::UpdateWithInputImageType() size[i] = mArgsInfo.size_arg[i]; filter->SetOutputSize(size); } - itk::ImageIOBase::Pointer header = clitk::readImageHeader(mArgsInfo.input_arg); for(unsigned int i=0; iGetOrigin(i); + origin[i] = input->GetOrigin()[i]; } for(unsigned int i=0; iGetDirection(i)[j]; + direction(i,j) = input->GetDirection()[i][j]; } } filter->SetOutputOrigin(origin); -- 2.47.1