|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
22 #ifndef otbPathListToHistogramGenerator_h
23 #define otbPathListToHistogramGenerator_h
25 #include "itkSampleToHistogramFilter.h"
26 #include "itkHistogram.h"
27 #include "itkListSample.h"
28 #include "itkVector.h"
48 template <
class TPath,
class TFunction>
70 typedef typename TFunction::OutputType
RealType;
79 typedef itk::Statistics::Histogram<MeasurementType, FrequencyContainerType>
HistogramType;
81 typedef itk::Statistics::SampleToHistogramFilter<ListSampleType, HistogramType>
GeneratorType;
86 typedef typename HistogramType::SizeType
SizeType;
98 using Superclass::SetInput;
123 using Superclass::MakeOutput;
125 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
133 #ifndef OTB_MANUAL_INSTANTIATION
void GenerateData() override
itk::Statistics::DenseFrequencyContainer2 FrequencyContainerType
~PathListToHistogramGenerator() override
void SetAutoMinMax(bool autoMinMax)
void SetHistogramMin(const MeasurementVectorType &histogramMin)
void SetMarginalScale(double marginalScale)
ListSampleType::Pointer ListSamplePointer
GeneratorPointer m_HistogramGenerator
void SetInput(const PathListType *path)
TFunction::OutputType RealType
const PathListType * GetInput() const
itk::Statistics::ListSample< ListSampleVectorType > ListSampleType
ListSampleType::ConstPointer ListSampleConstPointer
itk::Statistics::SampleToHistogramFilter< ListSampleType, HistogramType > GeneratorType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
HistogramType::ConstPointer HistogramConstPointer
This class generates an histogram from a list of path.
Superclass::DataObjectPointer DataObjectPointer
PathListToHistogramGenerator Self
HistogramType::SizeType SizeType
void SetHistogramMax(const MeasurementVectorType &histogramMax)
void PrintSelf(std::ostream &os, itk::Indent indent) const override
PathListToHistogramGenerator()
HistogramType::MeasurementVectorType MeasurementVectorType
itk::ProcessObject Superclass
void SetNumberOfBins(const SizeType &size)
void GraftNthOutput(unsigned int idx, itk::DataObject *graft)
PathType::Pointer PathPointer
itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
itk::Vector< MeasurementType, 1 > ListSampleVectorType
itk::Statistics::Histogram< MeasurementType, FrequencyContainerType > HistogramType
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) override
ObjectList< PathType > PathListType
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >.
HistogramType::Pointer HistogramPointer
const HistogramType * GetOutput() const
void GraftOutput(itk::DataObject *graft)
GeneratorType::Pointer GeneratorPointer