19 #ifndef __itkHistogramThresholdCalculator_h
20 #define __itkHistogramThresholdCalculator_h
45 template <
typename THistogram,
typename TOutput>
102 itkExceptionMacro(<<
"No output available.");
virtual void SetNumberOfRequiredOutputs(DataObjectPointerArraySizeType _arg)
Light weight base class for most itk classes.
void operator=(const Self &)
DecoratedOutputType * GetOutput()
SmartPointer< Self > Pointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ObjectType * GetPointer() const
virtual ~HistogramThresholdCalculator()
void SetInput(const HistogramType *input)
HistogramThresholdCalculator()
DataObjectPointerArraySizeType GetNumberOfInputs() const
SmartPointer< const Self > ConstPointer
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
const OutputType & GetThreshold()
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
SimpleDataObjectDecorator< OutputType > DecoratedOutputType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
DataObjectPointerArraySizeType GetNumberOfOutputs() const
DataObject * GetInput(const DataObjectIdentifierType &key)
virtual DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
Base class to compute a threshold value based on the histogram of an image.
virtual void SetNthOutput(DataObjectPointerArraySizeType num, DataObject *output)
HistogramThresholdCalculator Self
const HistogramType * GetInput() const
DataObject * GetOutput(const DataObjectIdentifierType &key)