17 #ifndef __itkMITKScalarImageToHistogramGenerator_h
18 #define __itkMITKScalarImageToHistogramGenerator_h
20 #include <itkImageToListSampleAdaptor.h>
21 #include <itkObject.h>
22 #include <itkSampleToHistogramFilter.h>
28 template <
class TImageType,
class TMeasurementType =
typename TImageType::PixelType>
42 itkFactorylessNewMacro(Self) itkCloneMacro(Self)
49 typedef
itk::Statistics::Histogram<TMeasurementType,
itk::Statistics::DenseFrequencyContainer2>
HistogramType;
50 typedef
itk::Statistics::SampleToHistogramFilter<AdaptorType, HistogramType>
GeneratorType;
77 virtual ~MITKScalarImageToHistogramGenerator(){};
78 void PrintSelf(std::ostream &os, Indent indent)
const override;
89 #ifndef ITK_MANUAL_INSTANTIATION
itk::Statistics::Histogram< TMeasurementType, itk::Statistics::DenseFrequencyContainer2 > HistogramType
GeneratorType::Pointer GeneratorPointer
SmartPointer< Self > Pointer
itk::Statistics::SampleToHistogramFilter< AdaptorType, HistogramType > GeneratorType
SmartPointer< const Self > ConstPointer
itk::Statistics::ImageToListSampleAdaptor< ImageType > AdaptorType
ImageType::PixelType PixelType
MITKScalarImageToHistogramGenerator Self
const HistogramType * GetOutput() const
void PrintSelf(std::ostream &os, Indent indent) const override
HistogramType::Pointer HistogramPointer
void SetMarginalScale(double marginalScale)
void SetNumberOfBins(unsigned int numberOfBins)
void SetInput(const ImageType *)
AdaptorType::Pointer AdaptorPointer
HistogramType::ConstPointer HistogramConstPointer