From: tbaudier Date: Fri, 14 Oct 2016 12:28:59 +0000 (+0200) Subject: Debug clitkImageConvert tool X-Git-Tag: v1.4.0~4^2 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=fec79085736d6425ed8409fe92f9073c29b3c163;p=clitk.git Debug clitkImageConvert tool Now the tool can write an image --- diff --git a/tools/clitkImageConvertGenericFilter.cxx b/tools/clitkImageConvertGenericFilter.cxx index a603385..a1b28c2 100644 --- a/tools/clitkImageConvertGenericFilter.cxx +++ b/tools/clitkImageConvertGenericFilter.cxx @@ -171,9 +171,9 @@ void clitk::ImageConvertGenericFilter::UpdateWithInputImageType() // Empty meta info itk::MetaDataDictionary dict;// = new itk::MetaDataDictionary; input->SetMetaDataDictionary(dict); - - this->SetNextOutput(input); } + this->SetNextOutput(input); + } else { // "trick" to call independent versions of update according to the