diff --git a/Code/Common/otbStatisticsAttributesLabelMapFilter.txx b/Code/Common/otbStatisticsAttributesLabelMapFilter.txx index d52f101009460acafdb2fca3a46857446557db2a..46c81f47647fa3cfad7847a9f48562d3f48e3c43 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 27bd64175dd1b66277c5d6bde39d78f0aebacda8..96c6315a5f79147ebc635d9338970383a1648a31 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 ); }