ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::HistogramThresholdCalculator< THistogram, TOutput > Class Template Reference

#include <itkHistogramThresholdCalculator.h>

+ Inheritance diagram for itk::HistogramThresholdCalculator< THistogram, TOutput >:
+ Collaboration diagram for itk::HistogramThresholdCalculator< THistogram, TOutput >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
SimpleDataObjectDecorator
< OutputType
DecoratedOutputType
typedef THistogram HistogramType
typedef TOutput OutputType
typedef SmartPointer< SelfPointer
typedef
HistogramThresholdCalculator 
Self
typedef ProcessObject Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
const HistogramTypeGetInput () const
virtual const char * GetNameOfClass () const
DecoratedOutputTypeGetOutput ()
const OutputTypeGetThreshold ()
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 &)

Detailed Description

template<class THistogram, class TOutput>
class itk::HistogramThresholdCalculator< THistogram, TOutput >

Base class to compute a threshold value based on the histogram of an image.

Author:
Richard Beare. Department of Medicine, Monash University, Melbourne, Australia.
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.

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.


Member Typedef Documentation

template<class THistogram , class TOutput >
typedef SmartPointer<const Self> itk::HistogramThresholdCalculator< THistogram, TOutput >::ConstPointer
template<class THistogram , class TOutput >
typedef SimpleDataObjectDecorator<OutputType> itk::HistogramThresholdCalculator< THistogram, TOutput >::DecoratedOutputType

Definition at line 66 of file itkHistogramThresholdCalculator.h.

template<class THistogram , class TOutput >
typedef THistogram itk::HistogramThresholdCalculator< THistogram, TOutput >::HistogramType
template<class THistogram , class TOutput >
typedef TOutput itk::HistogramThresholdCalculator< THistogram, TOutput >::OutputType
template<class THistogram , class TOutput >
typedef SmartPointer<Self> itk::HistogramThresholdCalculator< THistogram, TOutput >::Pointer
template<class THistogram , class TOutput >
typedef HistogramThresholdCalculator itk::HistogramThresholdCalculator< THistogram, TOutput >::Self
template<class THistogram , class TOutput >
typedef ProcessObject itk::HistogramThresholdCalculator< THistogram, TOutput >::Superclass

Constructor & Destructor Documentation

template<class THistogram , class TOutput >
itk::HistogramThresholdCalculator< THistogram, TOutput >::HistogramThresholdCalculator ( ) [inline, protected]
template<class THistogram , class TOutput >
virtual itk::HistogramThresholdCalculator< THistogram, TOutput >::~HistogramThresholdCalculator ( ) [inline, protected, virtual]

Definition at line 113 of file itkHistogramThresholdCalculator.h.

template<class THistogram , class TOutput >
itk::HistogramThresholdCalculator< THistogram, TOutput >::HistogramThresholdCalculator ( const Self ) [private]

Member Function Documentation

template<class THistogram , class TOutput >
virtual::itk::LightObject::Pointer itk::HistogramThresholdCalculator< THistogram, TOutput >::CreateAnother ( void  ) const [virtual]
template<class THistogram , class TOutput >
const HistogramType* itk::HistogramThresholdCalculator< THistogram, TOutput >::GetInput ( void  ) const [inline]

Definition at line 74 of file itkHistogramThresholdCalculator.h.

References itk::ProcessObject::GetInput().

template<class THistogram , class TOutput >
virtual const char* itk::HistogramThresholdCalculator< THistogram, TOutput >::GetNameOfClass ( ) const [virtual]
template<class THistogram , class TOutput >
DecoratedOutputType* itk::HistogramThresholdCalculator< THistogram, TOutput >::GetOutput ( void  ) [inline]

Definition at line 83 of file itkHistogramThresholdCalculator.h.

References itk::ProcessObject::GetOutput().

template<class THistogram , class TOutput >
const OutputType& itk::HistogramThresholdCalculator< THistogram, TOutput >::GetThreshold ( ) [inline]

Definition at line 98 of file itkHistogramThresholdCalculator.h.

References itk::ProcessObject::GetOutput().

template<class THistogram , class TOutput >
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().

template<class THistogram , class TOutput >
static Pointer itk::HistogramThresholdCalculator< THistogram, TOutput >::New ( ) [static]
template<class THistogram , class TOutput >
void itk::HistogramThresholdCalculator< THistogram, TOutput >::operator= ( const Self ) [private]
template<class THistogram , class TOutput >
void itk::HistogramThresholdCalculator< THistogram, TOutput >::SetInput ( const HistogramType input) [inline]

The documentation for this class was generated from the following file: