From: dsarrut Date: Wed, 15 Dec 2010 08:48:03 +0000 (+0000) Subject: cosmetic X-Git-Tag: v1.2.0~291 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=411da8daffce1e4ce2591df35b4fdd569354089b;p=clitk.git cosmetic --- diff --git a/common/clitkFilterBase.h b/common/clitkFilterBase.h index 089fa52..94736f7 100644 --- a/common/clitkFilterBase.h +++ b/common/clitkFilterBase.h @@ -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 diff --git a/itk/clitkAutoCropFilter.txx b/itk/clitkAutoCropFilter.txx index 145cc36..8f45f57 100644 --- a/itk/clitkAutoCropFilter.txx +++ b/itk/clitkAutoCropFilter.txx @@ -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 CropFilterType; + // OLD : cropFilter->SetExtractionRegion(m_Region); typedef itk::RegionOfInterestImageFilter CropFilterType; - //typedef itk::ExtractImageFilter 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();