ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkHistogramThresholdCalculator.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SimpleDataObjectDecorator < OutputType > | DecoratedOutputType |
typedef THistogram | HistogramType |
typedef TOutput | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef HistogramThresholdCalculator | Self |
typedef ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const HistogramType * | GetInput () const |
virtual const char * | GetNameOfClass () const |
DecoratedOutputType * | GetOutput () |
const OutputType & | GetThreshold () |
virtual DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType) |
void | SetInput (const HistogramType *input) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
HistogramThresholdCalculator () | |
virtual | ~HistogramThresholdCalculator () |
Private Member Functions | |
HistogramThresholdCalculator (const Self &) | |
void | operator= (const Self &) |
Base class to compute a threshold value based on the histogram of an image.
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/10380/3279 or http://www.insight-journal.org/browse/publication/811
Definition at line 46 of file itkHistogramThresholdCalculator.h.
typedef SmartPointer<const Self> itk::HistogramThresholdCalculator< THistogram, TOutput >::ConstPointer |
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 >.
Definition at line 53 of file itkHistogramThresholdCalculator.h.
typedef SimpleDataObjectDecorator<OutputType> itk::HistogramThresholdCalculator< THistogram, TOutput >::DecoratedOutputType |
Definition at line 66 of file itkHistogramThresholdCalculator.h.
typedef THistogram itk::HistogramThresholdCalculator< THistogram, TOutput >::HistogramType |
Type definition for the input histogram.
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 >.
Definition at line 59 of file itkHistogramThresholdCalculator.h.
typedef TOutput itk::HistogramThresholdCalculator< THistogram, TOutput >::OutputType |
output object type
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 >.
Definition at line 65 of file itkHistogramThresholdCalculator.h.
typedef SmartPointer<Self> itk::HistogramThresholdCalculator< THistogram, TOutput >::Pointer |
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 >.
Definition at line 52 of file itkHistogramThresholdCalculator.h.
typedef HistogramThresholdCalculator itk::HistogramThresholdCalculator< THistogram, TOutput >::Self |
Standard class typedefs.
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 >.
Definition at line 50 of file itkHistogramThresholdCalculator.h.
typedef ProcessObject itk::HistogramThresholdCalculator< THistogram, TOutput >::Superclass |
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 >.
Definition at line 51 of file itkHistogramThresholdCalculator.h.
itk::HistogramThresholdCalculator< THistogram, TOutput >::HistogramThresholdCalculator | ( | ) | [inline, protected] |
Definition at line 108 of file itkHistogramThresholdCalculator.h.
References itk::ProcessObject::SetNthOutput(), and itk::ProcessObject::SetNumberOfRequiredOutputs().
virtual itk::HistogramThresholdCalculator< THistogram, TOutput >::~HistogramThresholdCalculator | ( | ) | [inline, protected, virtual] |
Definition at line 113 of file itkHistogramThresholdCalculator.h.
itk::HistogramThresholdCalculator< THistogram, TOutput >::HistogramThresholdCalculator | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::HistogramThresholdCalculator< THistogram, TOutput >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
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 >.
const HistogramType* itk::HistogramThresholdCalculator< THistogram, TOutput >::GetInput | ( | void | ) | const [inline] |
Definition at line 74 of file itkHistogramThresholdCalculator.h.
References itk::ProcessObject::GetInput().
virtual const char* itk::HistogramThresholdCalculator< THistogram, TOutput >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
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 >.
DecoratedOutputType* itk::HistogramThresholdCalculator< THistogram, TOutput >::GetOutput | ( | void | ) | [inline] |
Definition at line 83 of file itkHistogramThresholdCalculator.h.
References itk::ProcessObject::GetOutput().
const OutputType& itk::HistogramThresholdCalculator< THistogram, TOutput >::GetThreshold | ( | ) | [inline] |
Definition at line 98 of file itkHistogramThresholdCalculator.h.
References itk::ProcessObject::GetOutput().
virtual DataObject::Pointer itk::HistogramThresholdCalculator< THistogram, TOutput >::MakeOutput | ( | DataObjectPointerArraySizeType | idx | ) | [inline, virtual] |
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 93 of file itkHistogramThresholdCalculator.h.
References itk::SmartPointer< TObjectType >::GetPointer().
static Pointer itk::HistogramThresholdCalculator< THistogram, TOutput >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
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 >.
void itk::HistogramThresholdCalculator< THistogram, TOutput >::operator= | ( | const Self & | ) | [private] |
Time when GenerateOutputInformation was last called.
Reimplemented from itk::ProcessObject.
Reimplemented in itk::RenyiEntropyThresholdCalculator< THistogram, TOutput >, itk::IntermodesThresholdCalculator< THistogram, TOutput >, itk::HuangThresholdCalculator< THistogram, TOutput >, itk::KittlerIllingworthThresholdCalculator< THistogram, TOutput >, itk::LiThresholdCalculator< THistogram, TOutput >, itk::YenThresholdCalculator< THistogram, TOutput >, itk::IsoDataThresholdCalculator< THistogram, TOutput >, itk::MaximumEntropyThresholdCalculator< THistogram, TOutput >, itk::TriangleThresholdCalculator< THistogram, TOutput >, itk::OtsuThresholdCalculator< THistogram, TOutput >, itk::MomentsThresholdCalculator< THistogram, TOutput >, and itk::ShanbhagThresholdCalculator< THistogram, TOutput >.
void itk::HistogramThresholdCalculator< THistogram, TOutput >::SetInput | ( | const HistogramType * | input | ) | [inline] |
Definition at line 68 of file itkHistogramThresholdCalculator.h.
References itk::ProcessObject::SetNthInput().