From b9fed49f0eb5e49febf20aedb6db06949ff30f6a Mon Sep 17 00:00:00 2001 From: dsarrut Date: Mon, 2 May 2011 11:16:35 +0200 Subject: [PATCH] add default off to verbose flag --- segmentation/clitkMorphoMathFilter.txx | 3 +++ 1 file changed, 3 insertions(+) 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 } //-------------------------------------------------------------------- -- 2.47.1