]> Creatis software - clitk.git/commitdiff
remove debug messages
authordsarrut <dsarrut>
Fri, 22 Oct 2010 07:36:07 +0000 (07:36 +0000)
committerdsarrut <dsarrut>
Fri, 22 Oct 2010 07:36:07 +0000 (07:36 +0000)
itk/clitkAddRelativePositionConstraintToLabelImageFilter.txx

index 2b159bf9e9a98874f2a5f167ad41cdd5a27850e9..1e06168877a91929bf2ed06444e4e4da9d06735e 100644 (file)
@@ -320,8 +320,8 @@ GenerateData()
     temp->CopyInformation(input);
     temp->SetRegions(input->GetLargestPossibleRegion()); // Do not forget !!
     temp->Allocate();
-    temp->FillBuffer(m_BackgroundValue);
-    typename PadFilterType::Pointer padFilter2 = PadFilterType::New(); // if yes : redo relpos
+    temp->FillBuffer(m_BackgroundValue); 
+    typename PadFilterType::Pointer padFilter2 = PadFilterType::New();
     padFilter2->SetSourceImage(working_image);
     padFilter2->SetDestinationImage(temp);
     padFilter2->SetDestinationIndex(input->GetLargestPossibleRegion().GetIndex());
@@ -340,8 +340,6 @@ GenerateData()
   StartNewStep("Combine with initial input (boolean And)");
   typedef clitk::BooleanOperatorLabelImageFilter<ImageType> BoolFilterType;
   typename BoolFilterType::Pointer combineFilter = BoolFilterType::New();
-  writeImage<ImageType>(input, "i.mhd");
-  writeImage<ImageType>(working_image, "w.mhd");
   combineFilter->SetBackgroundValue(m_BackgroundValue);
   combineFilter->SetBackgroundValue1(m_BackgroundValue);
   combineFilter->SetBackgroundValue2(m_BackgroundValue);
@@ -352,7 +350,6 @@ GenerateData()
   combineFilter->InPlaceOn();
   combineFilter->Update(); 
   working_image = combineFilter->GetOutput();
-  // writeImage<ImageType>(working_image, "res.mhd");
  
   combineFilter = BoolFilterType::New();
   combineFilter->SetInput1(working_image);