Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
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;
86 #ifndef ITK_MANUAL_INSTANTIATION
87 #include "itkMITKScalarImageToHistogramGenerator.txx"
void PrintSelf(std::ostream &os, Indent indent) const override
MITKScalarImageToHistogramGenerator Self
void SetNumberOfBins(unsigned int numberOfBins)
const HistogramType * GetOutput() const
AdaptorType::Pointer AdaptorPointer
itk::Statistics::ImageToListSampleAdaptor< ImageType > AdaptorType
itk::Statistics::Histogram< TMeasurementType, itk::Statistics::DenseFrequencyContainer2 > HistogramType
GeneratorType::Pointer GeneratorPointer
HistogramType::ConstPointer HistogramConstPointer
SmartPointer< Self > Pointer
void SetMarginalScale(double marginalScale)
MITKScalarImageToHistogramGenerator()
SmartPointer< const Self > ConstPointer
itk::Statistics::SampleToHistogramFilter< AdaptorType, HistogramType > GeneratorType
ImageType::PixelType PixelType
HistogramType::Pointer HistogramPointer
~MITKScalarImageToHistogramGenerator() override
void SetInput(const ImageType *)