19#ifndef itkHistogramThresholdCalculator_h
20#define itkHistogramThresholdCalculator_h
45template <
typename THistogram,
typename TOutput>
109 itkExceptionMacro(
"No output available.");
SmartPointer< Self > Pointer
HistogramThresholdCalculator()
SimpleDataObjectDecorator< OutputType > DecoratedOutputType
DecoratedOutputType * GetOutput()
SmartPointer< const Self > ConstPointer
~HistogramThresholdCalculator() override=default
DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType) override
Make a DataObject of the correct type to used as the specified output.
SmartPointer< Self > Pointer
const HistogramType * GetInput() const
HistogramThresholdCalculator Self
const OutputType & GetThreshold()
void SetInput(const HistogramType *input)
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
DataObject * GetOutput(const DataObjectIdentifierType &key)
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
DataObjectPointerArraySizeType GetNumberOfInputs() const
Get the size of the input container.
virtual void SetNumberOfRequiredOutputs(DataObjectPointerArraySizeType _arg)
virtual void SetNthInput(DataObjectPointerArraySizeType idx, DataObject *input)
DataObjectPointerArraySizeType GetNumberOfOutputs() const
Get the size of the output container.
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
virtual void SetNthOutput(DataObjectPointerArraySizeType idx, DataObject *output)
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.
ObjectType * GetPointer() const noexcept
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....