diff --git a/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.h b/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.h
index 9ead32ea047b303e2374ae874e96fb2d45ec4afc..662cc16272138e68441d2581ed009c45d24cd195 100644
--- a/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.h
+++ b/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.h
@@ -108,8 +108,6 @@ private:
   LabeledSampleLocalizationGenerator(const Self &); //purposely not implemented
   void operator =(const Self&); //purposely not implemented
 
-  typename VectorDataType::Pointer m_OutputVectorData;
-
   RandomGeneratorType::Pointer m_RandomGenerator;
 
   std::string               m_ClassKey;
diff --git a/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.txx b/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.txx
index 1f98a744a48217a1cd09e6fa73804f13953347c3..1ace87b117db6eb7c381402f796b8ccea3b8909d 100644
--- a/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.txx
+++ b/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.txx
@@ -36,9 +36,6 @@ LabeledSampleLocalizationGenerator<TVectorData>
   this->SetNumberOfRequiredInputs(1);
   this->SetNumberOfRequiredOutputs(1);
  
-  m_OutputVectorData = VectorDataType::New();
-  this->SetNthOutput(0, m_OutputVectorData);
-
   m_RandomGenerator = RandomGeneratorType::New();
 }