18#ifndef itkImageToHistogramFilter_h
19#define itkImageToHistogramFilter_h
49template <
typename TImage>
123 itkSetGetDecoratedInputMacro(AutoMinimumMaximum,
bool);
124 itkBooleanMacro(AutoMinimumMaximum);
195#ifndef ITK_MANUAL_INSTANTIATION
196# include "itkImageToHistogramFilter.hxx"
SmartPointer< Self > Pointer
virtual void SetNumberOfStreamDivisions(unsigned int _arg)
virtual unsigned int GetNumberOfStreamDivisions() const
Control indentation during Print() invocation.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
Implements transparent reference counting.
This class stores measurement vectors in the context of n-dimensional histogram.
Array< itk::SizeValueType > SizeType
ValueRealType MeasurementType
SmartPointer< const Self > ConstPointer
ArrayType MeasurementVectorType
SmartPointer< Self > Pointer
void SetNumberOfStreamDivisions(const unsigned int n) override
SmartPointer< const Self > ConstPointer
~ImageToHistogramFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
typename HistogramType::MeasurementType HistogramMeasurementType
virtual void ThreadedMergeHistogram(HistogramPointer &&histogram)
typename HistogramType::SizeType HistogramSizeType
void StreamedGenerateData(unsigned int inputRequestedRegionNumber) override
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
SimpleDataObjectDecorator< bool > InputBooleanObjectType
void AfterStreamedGenerateData() override
typename HistogramType::MeasurementVectorType HistogramMeasurementVectorType
typename HistogramType::Pointer HistogramPointer
virtual void ThreadedComputeMinimumAndMaximum(const RegionType &inputRegionForThread)
HistogramPointer m_MergeHistogram
void ThreadedStreamedGenerateData(const RegionType &) override
Histogram< ValueRealType > HistogramType
const HistogramType * GetOutput() const
unsigned int GetNumberOfStreamDivisions() const override
ImageSink< TImage > Superclass
SimpleDataObjectDecorator< HistogramMeasurementVectorType > InputHistogramMeasurementVectorObjectType
SimpleDataObjectDecorator< HistogramMeasurementType > InputHistogramMeasurementObjectType
DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType) override
Make a DataObject of the correct type to used as the specified output.
HistogramType * GetOutput()
typename NumericTraits< ValueType >::RealType ValueRealType
typename HistogramType::ConstPointer HistogramConstPointer
void ApplyMarginalScale(HistogramMeasurementVectorType &min, HistogramMeasurementVectorType &max, HistogramSizeType &size)
HistogramMeasurementVectorType m_Minimum
typename NumericTraits< PixelType >::ValueType ValueType
SimpleDataObjectDecorator< HistogramSizeType > InputHistogramSizeObjectType
virtual void GraftOutput(DataObject *graft)
unsigned int GetNumberOfInputRequestedRegions() override
Return the actual number of regions to request upstream.
ImageToHistogramFilter Self
HistogramMeasurementVectorType m_Maximum
void InitializeOutputHistogram()
typename ImageType::RegionType RegionType
SmartPointer< Self > Pointer
typename ImageType::PixelType PixelType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....