From 660bab851fbb9d96e297caefa9f1a263063ee093 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 6 Jun 2013 12:18:25 +0200 Subject: [PATCH] Missing update prevented png to work --- tools/clitkSplitImageGenericFilter.cxx | 1 + 1 file changed, 1 insertion(+) 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(); } //-------------------------------------------------------------------- -- 2.47.1