22 #ifndef otbListSampleToVariableDimensionHistogramGenerator_h
23 #define otbListSampleToVariableDimensionHistogramGenerator_h
25 #include "itkProcessObject.h"
26 #include "itkHistogram.h"
27 #include "itkStatisticsAlgorithm.h"
49 template <
class TListSample,
class THistogramMeasurement,
class TFrequencyContainer = itk::Statistics::DenseFrequencyContainer2>
71 typedef itk::Statistics::Histogram<HistogramMeasurementRealType, TFrequencyContainer>
HistogramType;
89 m_MarginalScale = scale;
97 itkSetMacro(AutoMinMax,
bool);
98 itkGetConstReferenceMacro(AutoMinMax,
bool);
102 m_HistogramMin = histogramMin;
103 m_AutoMinMax =
false;
108 m_HistogramMax = histogramMax;
109 m_AutoMinMax =
false;
117 void GenerateData()
override;
118 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
119 DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
override;
120 using Superclass::MakeOutput;
133 #ifndef OTB_MANUAL_INSTANTIATION