18#ifndef itkImageToHistogramFilter_h
19#define itkImageToHistogramFilter_h
49template <
typename TImage>
123 itkSetGetDecoratedInputMacro(AutoMinimumMaximum,
bool);
124 itkBooleanMacro(AutoMinimumMaximum);
138 Superclass::SetNumberOfStreamDivisions(n);
143 return Superclass::GetNumberOfStreamDivisions();
162 using Superclass::MakeOutput;
179 std::mutex m_Mutex{};
195#ifndef ITK_MANUAL_INSTANTIATION
196# include "itkImageToHistogramFilter.hxx"
Base class for all data objects in ITK.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Define additional traits for native types such as int or float.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
This class stores measurement vectors in the context of n-dimensional histogram.
TMeasurement MeasurementType
This class generates a histogram from an image.
void SetNumberOfStreamDivisions(const unsigned int n) override
~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
void AfterStreamedGenerateData() override
typename HistogramType::MeasurementVectorType HistogramMeasurementVectorType
typename HistogramType::Pointer HistogramPointer
virtual void ThreadedComputeMinimumAndMaximum(const RegionType &inputRegionForThread)
void ThreadedStreamedGenerateData(const RegionType &) override
const HistogramType * GetOutput() const
unsigned int GetNumberOfStreamDivisions() const override
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)
typename NumericTraits< PixelType >::ValueType ValueType
virtual void GraftOutput(DataObject *graft)
unsigned int GetNumberOfInputRequestedRegions() override
Return the actual number of regions to request upstream.
void InitializeOutputHistogram()
typename ImageType::RegionType RegionType
typename ImageType::PixelType PixelType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....