]> Creatis software - clitk.git/commitdiff
Missing update prevented png to work
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Thu, 6 Jun 2013 10:18:25 +0000 (12:18 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Thu, 6 Jun 2013 10:18:25 +0000 (12:18 +0200)
tools/clitkSplitImageGenericFilter.cxx

index 55bf7a80716517e18324637901f70eee5be1bc10..71d93c5bc4f2245e7dbbcf6dd3d54b48da7f7e59 100644 (file)
@@ -83,6 +83,7 @@ clitk::SplitImageGenericFilter::PngConversion<ImageType>::Do(double window,
   typename CastFilterType::Pointer cast = CastFilterType::New();
   cast->SetWindowLevel(window, level);
   cast->SetInput(input);
+  cast->Update();
   return cast->GetOutput();
 }
 //--------------------------------------------------------------------