diff --git a/Code/ObjectDetection/otbDescriptorsListSampleGenerator.h b/Code/ObjectDetection/otbDescriptorsListSampleGenerator.h index 09ad56ec0d78ebab3af1f1e04b2b179851dbf6fd..41274d8bb057f39af76c5beb9185dbe0d3251805 100644 --- a/Code/ObjectDetection/otbDescriptorsListSampleGenerator.h +++ b/Code/ObjectDetection/otbDescriptorsListSampleGenerator.h @@ -20,7 +20,7 @@ #include <vector> -#include "itkFixedArray.h" +#include "itkVariableLengthVector.h" #include "itkImageRegion.h" #include "otbListSampleSource.h" @@ -40,7 +40,7 @@ template <class TOutputPrecision> class DefaultDescriptorsType { public: - typedef itk::FixedArray<TOutputPrecision, 4> Type; + typedef itk::VariableLengthVector<TOutputPrecision> Type; }; /** \class PersistentDescriptorsListSampleGenerator