From: Simon Rit Date: Thu, 6 Jun 2013 10:18:25 +0000 (+0200) Subject: Missing update prevented png to work X-Git-Tag: v1.4.0~220 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=660bab851fbb9d96e297caefa9f1a263063ee093;p=clitk.git Missing update prevented png to work --- diff --git a/tools/clitkSplitImageGenericFilter.cxx b/tools/clitkSplitImageGenericFilter.cxx index 55bf7a8..71d93c5 100644 --- a/tools/clitkSplitImageGenericFilter.cxx +++ b/tools/clitkSplitImageGenericFilter.cxx @@ -83,6 +83,7 @@ clitk::SplitImageGenericFilter::PngConversion::Do(double window, typename CastFilterType::Pointer cast = CastFilterType::New(); cast->SetWindowLevel(window, level); cast->SetInput(input); + cast->Update(); return cast->GetOutput(); } //--------------------------------------------------------------------