From 05186120ce43e05131ded5e9d7eb961a22a8ba44 Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@orfeo-toolbox.org> Date: Mon, 7 Sep 2009 14:55:57 +0200 Subject: [PATCH] =?UTF-8?q?COMP:=20Renaming=20method=20following=20code=20?= =?UTF-8?q?migration=20from=20InsightJournal=20to=20ITK=E2=88=95Code/Revie?= =?UTF-8?q?w?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/Common/otbStatisticsAttributesLabelMapFilter.txx | 4 ++-- Utilities/InsightJournal/itkInPlaceLabelMapFilter.txx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/Common/otbStatisticsAttributesLabelMapFilter.txx b/Code/Common/otbStatisticsAttributesLabelMapFilter.txx index d52f101009..46c81f4764 100644 --- a/Code/Common/otbStatisticsAttributesLabelMapFilter.txx +++ b/Code/Common/otbStatisticsAttributesLabelMapFilter.txx @@ -43,9 +43,9 @@ StatisticsAttributesLabelMapFilter<TImage, TFeatureImage> template <class TImage, class TFeatureImage> void StatisticsAttributesLabelMapFilter<TImage, TFeatureImage> -::ThreadedGenerateData( LabelObjectType * labelObject ) +::ThreadedProcessLabelObject( LabelObjectType * labelObject ) { - Superclass::ThreadedGenerateData( labelObject ); + Superclass::ThreadedProcessLabelObject( labelObject ); ImageType * output = this->GetOutput(); const FeatureImageType * featureImage = this->GetFeatureImage(); diff --git a/Utilities/InsightJournal/itkInPlaceLabelMapFilter.txx b/Utilities/InsightJournal/itkInPlaceLabelMapFilter.txx index 27bd64175d..96c6315a5f 100644 --- a/Utilities/InsightJournal/itkInPlaceLabelMapFilter.txx +++ b/Utilities/InsightJournal/itkInPlaceLabelMapFilter.txx @@ -108,7 +108,7 @@ InPlaceLabelMapFilter<TInputImage> assert( labeObject->GetLabel() == it->first ); typename LabelObjectType::Pointer newLabelObject = LabelObjectType::New(); - newLabelObject->CopyDataFrom( labeObject ); + newLabelObject->CopyAllFrom( labeObject ); output->AddLabelObject( newLabelObject ); } -- GitLab