# Histogram Increase Frequency Disambiguation

Disambiguate how histogram frequencies are incremented by making explicit unique function names for each of the different increment methods.
typename HistogramType::IndexType index; typename HistogramType::MeasurementVectorType measurement; measurement.SetSize(1); measurement[0] = value; histogram->IncreaseFrequency(measurement, 1.0F); histogram->IncreaseFrequency(index, 1.0F);
typename HistogramType::IndexType index; typename HistogramType::MeasurementVectorType measurement; measurement.SetSize(1); measurement[0] = value; #if ITK_VERSION_MAJOR >=4 histogram->IncreaseFrequencyOfMeasurement(measurement, 1.0F); histogram->IncreaseFrequencyOfIndex(Index, 1.0F); #else histogram->IncreaseFrequency(measurement, 1.0F); histogram->IncreaseFrequency(index, 1.0F); #endif
I352eda4d0941940cd2dbc89b441e9dde28ebd8fd
Code/Numerics/Statistics/itkHistogram.h Code/Numerics/Statistics/itkHistogram.txx
IncreaseFrequency
Based on signature, perhaps replace with IncreaseFrequencyOfMeasurement IncreaseFrequencyOfIndex