ITK
6.0.0
Insight Toolkit
|
#include <itkHistogramThresholdCalculator.h>
Base class to compute a threshold value based on the histogram of an image.
This implementation was taken from the Insight Journal paper: https://doi.org/10.54294/efycla
Definition at line 46 of file itkHistogramThresholdCalculator.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Additional Inherited Members | |
Static Protected Member Functions inherited from itk::ProcessObject | |
template<typename TSourceObject > | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::HistogramThresholdCalculator< THistogram, TOutput >::ConstPointer = SmartPointer<const Self> |
Definition at line 55 of file itkHistogramThresholdCalculator.h.
using itk::HistogramThresholdCalculator< THistogram, TOutput >::DecoratedOutputType = SimpleDataObjectDecorator<OutputType> |
Definition at line 68 of file itkHistogramThresholdCalculator.h.
using itk::HistogramThresholdCalculator< THistogram, TOutput >::HistogramType = THistogram |
Type definition for the input histogram.
Definition at line 64 of file itkHistogramThresholdCalculator.h.
using itk::HistogramThresholdCalculator< THistogram, TOutput >::OutputType = TOutput |
output object type
Definition at line 67 of file itkHistogramThresholdCalculator.h.
using itk::HistogramThresholdCalculator< THistogram, TOutput >::Pointer = SmartPointer<Self> |
Definition at line 54 of file itkHistogramThresholdCalculator.h.
using itk::HistogramThresholdCalculator< THistogram, TOutput >::Self = HistogramThresholdCalculator |
Standard class type aliases.
Definition at line 52 of file itkHistogramThresholdCalculator.h.
using itk::HistogramThresholdCalculator< THistogram, TOutput >::Superclass = ProcessObject |
Definition at line 53 of file itkHistogramThresholdCalculator.h.
|
inlineprotected |
Definition at line 115 of file itkHistogramThresholdCalculator.h.
References itk::HistogramThresholdCalculator< THistogram, TOutput >::MakeOutput(), itk::ProcessObject::SetNthOutput(), and itk::ProcessObject::SetNumberOfRequiredOutputs().
|
overrideprotecteddefault |
|
inline |
Definition at line 78 of file itkHistogramThresholdCalculator.h.
References itk::ProcessObject::GetInput(), and itk::ProcessObject::GetNumberOfInputs().
|
overridevirtual |
Reimplemented from itk::ProcessObject.
Reimplemented in itk::IntermodesThresholdCalculator< THistogram, TOutput >, itk::LiThresholdCalculator< THistogram, TOutput >, itk::YenThresholdCalculator< THistogram, TOutput >, itk::IsoDataThresholdCalculator< THistogram, TOutput >, itk::HuangThresholdCalculator< THistogram, TOutput >, itk::MaximumEntropyThresholdCalculator< THistogram, TOutput >, itk::TriangleThresholdCalculator< THistogram, TOutput >, itk::KittlerIllingworthThresholdCalculator< THistogram, TOutput >, itk::RenyiEntropyThresholdCalculator< THistogram, TOutput >, itk::MomentsThresholdCalculator< THistogram, TOutput >, itk::ShanbhagThresholdCalculator< THistogram, TOutput >, and itk::OtsuThresholdCalculator< THistogram, TOutput >.
|
inline |
Definition at line 88 of file itkHistogramThresholdCalculator.h.
References itk::ProcessObject::GetNumberOfOutputs(), and itk::ProcessObject::GetOutput().
|
inline |
Definition at line 105 of file itkHistogramThresholdCalculator.h.
References itk::ProcessObject::GetNumberOfOutputs(), and itk::ProcessObject::GetOutput().
|
inlineoverridevirtual |
Make a DataObject of the correct type to used as the specified output.
Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().
Reimplemented from itk::ProcessObject.
Definition at line 99 of file itkHistogramThresholdCalculator.h.
References itk::SmartPointer< TObjectType >::GetPointer(), and itk::SimpleDataObjectDecorator< T >::New().
Referenced by itk::HistogramThresholdCalculator< THistogram, TOutput >::HistogramThresholdCalculator().
|
static |
Method for creation through the object factory.
|
protected |
Protected method for setting indexed and named inputs.
Subclasses make use of them for setting input. As this method only used the base DataObject pointer, derived classes should expose a type check methods.
|
inline |
Definition at line 71 of file itkHistogramThresholdCalculator.h.
References itk::ProcessObject::SetNthInput().