]> Creatis software - clitk.git/commitdiff
add default off to verbose flag
authordsarrut <david.sarrut@gmail.com>
Mon, 2 May 2011 09:16:35 +0000 (11:16 +0200)
committerdsarrut <david.sarrut@gmail.com>
Mon, 2 May 2011 09:16:35 +0000 (11:16 +0200)
segmentation/clitkMorphoMathFilter.txx

index 03f50eab37a63571749fb0193990737e69fff21f..81356df1c808a66cebda79e307746c6710258524 100644 (file)
@@ -30,6 +30,7 @@ clitk::MorphoMathFilter<ImageType>::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
 }
 //--------------------------------------------------------------------