diff --git a/Code/Common/otbShapeAttributesLabelMapFilter.h b/Code/Common/otbShapeAttributesLabelMapFilter.h index ca66545a82243a307a8516a16f4d0030bd157403..8dcd1f53b9928ef06bcf06543056e17b97dab0f7 100644 --- a/Code/Common/otbShapeAttributesLabelMapFilter.h +++ b/Code/Common/otbShapeAttributesLabelMapFilter.h @@ -134,7 +134,7 @@ protected: ~ShapeAttributesLabelMapFilter() {}; /** Threaded GenerateData */ - virtual void ThreadedGenerateData( LabelObjectType * labelObject ); + virtual void ThreadedProcessLabelObject( LabelObjectType * labelObject ); virtual void BeforeThreadedGenerateData(); virtual void AfterThreadedGenerateData(); diff --git a/Code/Common/otbShapeAttributesLabelMapFilter.txx b/Code/Common/otbShapeAttributesLabelMapFilter.txx index 921f9e3ceea9e2f420c3a494aa4653ddbba2b2e2..63164366719fddb32a60606dc3b41f10e05f3da1 100644 --- a/Code/Common/otbShapeAttributesLabelMapFilter.txx +++ b/Code/Common/otbShapeAttributesLabelMapFilter.txx @@ -82,7 +82,7 @@ ShapeAttributesLabelMapFilter<TImage, TLabelImage> template<class TImage, class TLabelImage> void ShapeAttributesLabelMapFilter<TImage, TLabelImage> -::ThreadedGenerateData( LabelObjectType * labelObject ) +::ThreadedProcessLabelObject( LabelObjectType * labelObject ) { ImageType * output = this->GetOutput(); const LabelPixelType & label = labelObject->GetLabel();