]> Creatis software - clitk.git/commitdiff
cosmetic
authordsarrut <dsarrut>
Wed, 15 Dec 2010 08:48:03 +0000 (08:48 +0000)
committerdsarrut <dsarrut>
Wed, 15 Dec 2010 08:48:03 +0000 (08:48 +0000)
common/clitkFilterBase.h
itk/clitkAutoCropFilter.txx

index 089fa52a60097dd7ee447fa8a6caea4dfc635fa7..94736f7329f1f00cd74e5161548bd412f4371c4d 100644 (file)
@@ -122,7 +122,6 @@ namespace clitk {
     bool m_IsCancelled;
     Timer m_CurrentStepTimer;
     
-
   private:
     FilterBase(const Self&); //purposely not implemented
     void operator=(const Self&); //purposely not implemented
index 145cc36f8ae24434cd47d72d1414e398a1c3fd64..8f45f575aef816f6b39be387a7af94f66d30c969 100644 (file)
@@ -133,17 +133,16 @@ namespace clitk {
   
     // Extract the region with RegionOfInterestImageFilter or ExtractImageFilter ? 
     // The second is when reducing the nb of dimension (index always zero)
-    // The first keep index
+    // The first keep index. 
+    // OLD : typedef itk::ExtractImageFilter<ImageType, ImageType> CropFilterType;
+    // OLD : cropFilter->SetExtractionRegion(m_Region);
 
     typedef itk::RegionOfInterestImageFilter<ImageType, ImageType> CropFilterType;
-    //typedef itk::ExtractImageFilter<ImageType, ImageType> CropFilterType;
     m_labeImage->SetRequestedRegion(m_labeImage->GetLargestPossibleRegion());
     typename CropFilterType::Pointer cropFilter = CropFilterType::New();
     cropFilter->SetInput(m_labeImage);
     cropFilter->SetReleaseDataFlag(this->GetReleaseDataFlag());
-
     cropFilter->SetRegionOfInterest(m_Region);
-    //cropFilter->SetExtractionRegion(m_Region);
 
     // Go ! 
     cropFilter->Update();