From: dsarrut Date: Mon, 2 May 2011 09:16:35 +0000 (+0200) Subject: add default off to verbose flag X-Git-Tag: v1.2.0^2~4 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b9fed49f0eb5e49febf20aedb6db06949ff30f6a;p=clitk.git add default off to verbose flag --- diff --git a/segmentation/clitkMorphoMathFilter.txx b/segmentation/clitkMorphoMathFilter.txx index 03f50ea..81356df 100644 --- a/segmentation/clitkMorphoMathFilter.txx +++ b/segmentation/clitkMorphoMathFilter.txx @@ -30,6 +30,7 @@ clitk::MorphoMathFilter::MorphoMathFilter(): p.Fill(1); SetRadius(p); SetBoundaryToForegroundFlag(false); + VerboseFlagOff(); } //-------------------------------------------------------------------- @@ -288,7 +289,9 @@ GenerateData() typename OutputCastImageFilterType::Pointer oCaster = OutputCastImageFilterType::New(); oCaster->SetInput(filter->GetOutput()); oCaster->Update(); + this->SetNthOutput(0, oCaster->GetOutput()); + //this->GraftOutput(oCaster->GetOutput()); // NO } //--------------------------------------------------------------------