13 #ifndef __itkMITKScalarImageToHistogramGenerator_h 14 #define __itkMITKScalarImageToHistogramGenerator_h 16 #include <itkImageToListSampleAdaptor.h> 17 #include <itkObject.h> 18 #include <itkSampleToHistogramFilter.h> 24 template <
class TImageType,
class TMeasurementType =
typename TImageType::PixelType>
38 itkFactorylessNewMacro(Self);
42 typedef itk::Statistics::ImageToListSampleAdaptor<ImageType>
AdaptorType;
46 typedef itk::Statistics::Histogram<TMeasurementType, itk::Statistics::DenseFrequencyContainer2>
HistogramType;
47 typedef itk::Statistics::SampleToHistogramFilter<AdaptorType, HistogramType>
GeneratorType;
75 void PrintSelf(std::ostream &os, Indent indent)
const override;
78 AdaptorPointer m_ImageToListAdaptor;
80 GeneratorPointer m_HistogramGenerator;
86 #ifndef ITK_MANUAL_INSTANTIATION itk::Statistics::Histogram< TMeasurementType, itk::Statistics::DenseFrequencyContainer2 > HistogramType
GeneratorType::Pointer GeneratorPointer
MITKScalarImageToHistogramGenerator()
SmartPointer< Self > Pointer
itk::Statistics::SampleToHistogramFilter< AdaptorType, HistogramType > GeneratorType
SmartPointer< const Self > ConstPointer
itk::Statistics::ImageToListSampleAdaptor< ImageType > AdaptorType
ImageType::PixelType PixelType
MITKScalarImageToHistogramGenerator Self
~MITKScalarImageToHistogramGenerator() override
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
const HistogramType * GetOutput() const
HistogramType::ConstPointer HistogramConstPointer