diff --git a/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx b/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx index 4a6018390524284145d94996bce6c754b81f35b4..14e101c86cb27cfa50d6347c6e55cb78140c13d0 100644 --- a/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx +++ b/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx @@ -36,7 +36,7 @@ int otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator(int argc //------------------------------------------------------ const unsigned int Dimension = 2; typedef float MeasurementType ; - typedef itk::Statistics::Histogram< MeasurementType, 2 > HistogramType ; + typedef itk::Statistics::Histogram< MeasurementType, Dimension > HistogramType ; HistogramType::Pointer histogram = HistogramType::New() ; HistogramType::SizeType size ; size.Fill(HISTOGRAM_AXIS_LEN) ;