18 #ifndef itkImageToHistogramFilter_h 19 #define itkImageToHistogramFilter_h 42 template<
typename TImage >
100 itkSetGetDecoratedInputMacro(HistogramSize, HistogramSizeType);
105 itkSetGetDecoratedInputMacro(MarginalScale, HistogramMeasurementType);
109 itkSetGetDecoratedInputMacro(HistogramBinMinimum, HistogramMeasurementVectorType);
110 itkSetGetDecoratedInputMacro(HistogramBinMaximum, HistogramMeasurementVectorType);
116 itkSetGetDecoratedInputMacro(AutoMinimumMaximum,
bool);
145 void operator=(const Self &) ITK_DELETE_FUNCTION;
147 void ApplyMarginalScale( HistogramMeasurementVectorType & min, HistogramMeasurementVectorType & max, HistogramSizeType & size );
154 #ifndef ITK_MANUAL_INSTANTIATION 155 #include "itkImageToHistogramFilter.hxx"
void AfterThreadedGenerateData(void) override
Barrier::Pointer m_Barrier
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void ThreadedComputeMinimumAndMaximum(const RegionType &inputRegionForThread, ThreadIdType threadId, ProgressReporter &progress)
void BeforeThreadedGenerateData(void) override
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
This class stores measurement vectors in the context of n-dimensional histogram.
This class generates an histogram from an image.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SimpleDataObjectDecorator< HistogramSizeType > InputHistogramSizeObjectType
void ApplyMarginalScale(HistogramMeasurementVectorType &min, HistogramMeasurementVectorType &max, HistogramSizeType &size)
SimpleDataObjectDecorator< HistogramMeasurementVectorType > InputHistogramMeasurementVectorObjectType
SimpleDataObjectDecorator< HistogramMeasurementType > InputHistogramMeasurementObjectType
DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType) override
Make a DataObject of the correct type to used as the specified output.
const HistogramType * GetOutput() const
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
Superclass::MeasurementVectorType MeasurementVectorType
std::vector< HistogramMeasurementVectorType > m_Maximums
virtual void GraftOutput(DataObject *output)
HistogramType::MeasurementVectorType HistogramMeasurementVectorType
virtual void ThreadedComputeHistogram(const RegionType &inputRegionForThread, ThreadIdType threadId, ProgressReporter &progress)
void ThreadedGenerateData(const RegionType &inputRegionForThread, ThreadIdType threadId) override
std::vector< HistogramMeasurementVectorType > m_Minimums
SimpleDataObjectDecorator< bool > InputBooleanObjectType
SmartPointer< const Self > ConstPointer
Histogram< ValueRealType > HistogramType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
ImageType::PixelType PixelType
ImageTransformer< TImage > Superclass
TMeasurement MeasurementType
unsigned int ThreadIdType
Implements progress tracking for a filter.
SmartPointer< Self > Pointer
virtual ~ImageToHistogramFilter()
HistogramType::MeasurementType HistogramMeasurementType
HistogramType::SizeType HistogramSizeType
NumericTraits< PixelType >::ValueType ValueType
ImageType::RegionType RegionType
NumericTraits< ValueType >::RealType ValueRealType
Control indentation during Print() invocation.
ImageToHistogramFilter Self
Define additional traits for native types such as int or float.
HistogramType::Pointer HistogramPointer
std::vector< HistogramPointer > m_Histograms
HistogramType::ConstPointer HistogramConstPointer
Base class for all data objects in ITK.
Standard barrier class implementation for synchronizing the execution of threads. ...