]> Creatis software - clitk.git/blobdiff - segmentation/clitkExtractLungFilter.txx
small improvement for S8
[clitk.git] / segmentation / clitkExtractLungFilter.txx
index fda0203ba51ce5d5c5452106fd8b52607098f417..32d480c3395bc3f7cf36cf2c83eb175e1d63d353 100644 (file)
@@ -392,7 +392,6 @@ GenerateOutputInformation()
   unsigned int initialNumberOfLabels = statisticsImageFilter->GetMaximum();
   working_mask = statisticsImageFilter->GetOutput();   
   
-  DD(initialNumberOfLabels);
   PrintMemory(GetVerboseMemoryFlag(), "After count label");
  
   // Decompose the first label
@@ -404,7 +403,7 @@ GenerateOutputInformation()
     typedef clitk::DecomposeAndReconstructImageFilter<MaskImageType,MaskImageType> DecomposeAndReconstructFilterType;
     typename DecomposeAndReconstructFilterType::Pointer decomposeAndReconstructFilter=DecomposeAndReconstructFilterType::New();
     decomposeAndReconstructFilter->SetInput(working_mask);
-    decomposeAndReconstructFilter->SetVerbose(true);
+    decomposeAndReconstructFilter->SetVerbose(false);
     decomposeAndReconstructFilter->SetRadius(radius);
     decomposeAndReconstructFilter->SetMaximumNumberOfLabels(2);
     decomposeAndReconstructFilter->SetMinimumObjectSize(this->GetMinimalComponentSize());