22 #ifndef otbListSampleToHistogramListGenerator_h
23 #define otbListSampleToHistogramListGenerator_h
25 #include "itkNumericTraits.h"
26 #include "itkProcessObject.h"
27 #include "itkHistogram.h"
28 #include "itkStatisticsAlgorithm.h"
45 template <
class TListSample,
class THistogramMeasurement,
class TFrequencyContainer = itk::Statistics::DenseFrequencyContainer2>
66 typedef itk::Statistics::Histogram<HistogramMeasurementRealType, TFrequencyContainer>
HistogramType;
100 itkGetConstReferenceMacro(
NoDataValue, THistogramMeasurement);
105 itkSetMacro(NoDataFlag,
bool);
110 itkGetMacro(NoDataFlag,
bool);
115 itkBooleanMacro(NoDataFlag);
120 m_MarginalScale = scale;
131 itkSetMacro(AutoMinMax,
bool);
132 itkGetConstReferenceMacro(AutoMinMax,
bool);
136 m_HistogramMin = histogramMin;
137 m_AutoMinMax =
false;
142 m_HistogramMax = histogramMax;
143 m_AutoMinMax =
false;
152 void GenerateData()
override;
154 DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
override;
155 using Superclass::MakeOutput;
157 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
174 #ifndef OTB_MANUAL_INSTANTIATION