ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage > Class Template Reference

#include <itkRobustAutomaticThresholdCalculator.h>

+ Inheritance diagram for itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >:
+ Collaboration diagram for itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >:

Detailed Description

template<class TInputImage, class TGradientImage>
class itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >

Compute the robust automatic threshold.

This code was contributed in the Insight Journal paper: "Robust Automatic Threshold Selection" by Lehmann G. http://hdl.handle.net/1926/370 http://www.insight-journal.org/browse/publication/134

Definition at line 41 of file itkRobustAutomaticThresholdCalculator.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
GradientImageType::ConstPointer 
GradientImageConstPointer
 
typedef GradientImageType::Pointer GradientImagePointer
 
typedef TGradientImage GradientImageType
 
typedef
GradientImageType::PixelType 
GradientPixelType
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef SmartPointer< SelfPointer
 
typedef
RobustAutomaticThresholdCalculator 
Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void Compute (void)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
const InputPixelTypeGetOutput () const
 
virtual double GetPow () const
 
virtual void SetGradient (const GradientImageType *image)
 
virtual void SetPow (double _arg)
 
virtual void SetInput (const InputImageType *image)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

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 flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const
 
 RobustAutomaticThresholdCalculator ()
 
virtual ~RobustAutomaticThresholdCalculator ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void operator= (const Self &)
 
 RobustAutomaticThresholdCalculator (const Self &)
 

Private Attributes

GradientImageConstPointer m_Gradient
 
InputImageConstPointer m_Input
 
InputPixelType m_Output
 
double m_Pow
 
bool m_Valid
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<class TInputImage , class TGradientImage >
typedef SmartPointer< const Self > itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::ConstPointer

Definition at line 48 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef GradientImageType::ConstPointer itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientImageConstPointer

Definition at line 68 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef GradientImageType::Pointer itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientImagePointer

Definition at line 67 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef TGradientImage itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientImageType

Definition at line 62 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef GradientImageType::PixelType itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientPixelType

Definition at line 70 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef InputImageType::ConstPointer itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputImageConstPointer

Definition at line 66 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef InputImageType::Pointer itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputImagePointer

Standard image type pointer within this class.

Definition at line 65 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef TInputImage itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputImageType

Standard image type within this class.

Definition at line 61 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef InputImageType::PixelType itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputPixelType

Definition at line 69 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef SmartPointer< Self > itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Pointer

Definition at line 47 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef RobustAutomaticThresholdCalculator itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Self

Standard class typedefs.

Definition at line 45 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
typedef Object itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Superclass

Definition at line 46 of file itkRobustAutomaticThresholdCalculator.h.

Constructor & Destructor Documentation

template<class TInputImage , class TGradientImage >
itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::RobustAutomaticThresholdCalculator ( )
protected
template<class TInputImage , class TGradientImage >
virtual itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::~RobustAutomaticThresholdCalculator ( )
inlineprotectedvirtual

Definition at line 108 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::RobustAutomaticThresholdCalculator ( const Self )
private

Member Function Documentation

template<class TInputImage , class TGradientImage >
void itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Compute ( void  )

Compute moments of a new or modified image. This method computes the moments of the image given as a parameter and stores them in the object. The values of these moments and related parameters can then be retrieved by using other methods of this object.

template<class TInputImage , class TGradientImage >
virtual::itk::LightObject::Pointer itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::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.

template<class TInputImage , class TGradientImage >
virtual const char* itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Object.

template<class TInputImage , class TGradientImage >
const InputPixelType& itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GetOutput ( ) const
template<class TInputImage , class TGradientImage >
virtual double itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GetPow ( ) const
virtual
template<class TInputImage , class TGradientImage >
static Pointer itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TGradientImage >
void itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::operator= ( const Self )
private
template<class TInputImage , class TGradientImage >
void itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

template<class TInputImage , class TGradientImage >
virtual void itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::SetGradient ( const GradientImageType image)
inlinevirtual

Definition at line 84 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
virtual void itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::SetInput ( const InputImageType image)
inlinevirtual

Set the input image.

Definition at line 73 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
virtual void itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::SetPow ( double  _arg)
virtual

Member Data Documentation

template<class TInputImage , class TGradientImage >
const unsigned int itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::ImageDimension = TInputImage::ImageDimension
static

Extract the dimension of the image.

Definition at line 58 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
GradientImageConstPointer itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::m_Gradient
private

Definition at line 121 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
InputImageConstPointer itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::m_Input
private

Definition at line 120 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
InputPixelType itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::m_Output
private

Definition at line 118 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
double itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::m_Pow
private

Definition at line 117 of file itkRobustAutomaticThresholdCalculator.h.

template<class TInputImage , class TGradientImage >
bool itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::m_Valid
private

Definition at line 115 of file itkRobustAutomaticThresholdCalculator.h.


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