From: tbaudier Date: Wed, 9 Mar 2016 08:58:16 +0000 (+0100) Subject: Debug Resample tool X-Git-Tag: v1.4.0~35 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5d1d902f943d3441d6bfa3730da2d5bcb87921f4;p=clitk.git Debug Resample tool --- 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);