ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public 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 >:

Public Types

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

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () 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
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
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 val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = TInputImage::ImageDimension
 
bool m_Valid { false }
 
double m_Pow { 1 }
 
InputPixelType m_Output
 
InputImageConstPointer m_Input
 
GradientImageConstPointer m_Gradient
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetGradient (const GradientImageType *image)
 
virtual void SetPow (double _arg)
 
virtual double GetPow () const
 
void Compute ()
 
const InputPixelTypeGetOutput () const
 
 RobustAutomaticThresholdCalculator ()
 
 ~RobustAutomaticThresholdCalculator () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 

Additional Inherited Members

- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- 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 ()
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TInputImage, typename 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. https://hdl.handle.net/1926/370 http://www.insight-journal.org/browse/publication/134

Definition at line 41 of file itkRobustAutomaticThresholdCalculator.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::ConstPointer = SmartPointer<const Self>

Definition at line 50 of file itkRobustAutomaticThresholdCalculator.h.

◆ GradientImageConstPointer

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientImageConstPointer = typename GradientImageType::ConstPointer

Definition at line 69 of file itkRobustAutomaticThresholdCalculator.h.

◆ GradientImagePointer

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientImagePointer = typename GradientImageType::Pointer

Definition at line 68 of file itkRobustAutomaticThresholdCalculator.h.

◆ GradientImageType

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientImageType = TGradientImage

Definition at line 63 of file itkRobustAutomaticThresholdCalculator.h.

◆ GradientPixelType

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientPixelType = typename GradientImageType::PixelType

Definition at line 71 of file itkRobustAutomaticThresholdCalculator.h.

◆ InputImageConstPointer

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputImageConstPointer = typename InputImageType::ConstPointer

Definition at line 67 of file itkRobustAutomaticThresholdCalculator.h.

◆ InputImagePointer

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputImagePointer = typename InputImageType::Pointer

Standard image type pointer within this class.

Definition at line 66 of file itkRobustAutomaticThresholdCalculator.h.

◆ InputImageType

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputImageType = TInputImage

Standard image type within this class.

Definition at line 62 of file itkRobustAutomaticThresholdCalculator.h.

◆ InputPixelType

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputPixelType = typename InputImageType::PixelType

Definition at line 70 of file itkRobustAutomaticThresholdCalculator.h.

◆ Pointer

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Pointer = SmartPointer<Self>

Definition at line 49 of file itkRobustAutomaticThresholdCalculator.h.

◆ Self

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Self = RobustAutomaticThresholdCalculator

Standard class type aliases.

Definition at line 47 of file itkRobustAutomaticThresholdCalculator.h.

◆ Superclass

template<typename TInputImage , typename TGradientImage >
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Superclass = Object

Definition at line 48 of file itkRobustAutomaticThresholdCalculator.h.

Constructor & Destructor Documentation

◆ RobustAutomaticThresholdCalculator()

template<typename TInputImage , typename TGradientImage >
itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::RobustAutomaticThresholdCalculator ( )
protected

Set the input image.

◆ ~RobustAutomaticThresholdCalculator()

template<typename TInputImage , typename TGradientImage >
itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::~RobustAutomaticThresholdCalculator ( )
overrideprotecteddefault

Set the input image.

Member Function Documentation

◆ Compute()

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

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.

◆ CreateAnother()

template<typename TInputImage , typename TGradientImage >
virtual::itk::LightObject::Pointer itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::CreateAnother ( ) 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.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from itk::Object.

◆ GetOutput()

template<typename TInputImage , typename TGradientImage >
const InputPixelType& itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GetOutput ( ) const

Set the input image.

◆ GetPow()

template<typename TInputImage , typename TGradientImage >
virtual double itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GetPow ( ) const
virtual

Set the input image.

◆ New()

template<typename TInputImage , typename TGradientImage >
static Pointer itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TInputImage , typename TGradientImage >
void itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Set the input image.

Reimplemented from itk::Object.

◆ SetGradient()

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

Set the input image.

Definition at line 87 of file itkRobustAutomaticThresholdCalculator.h.

◆ SetInput()

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

Set the input image.

Definition at line 75 of file itkRobustAutomaticThresholdCalculator.h.

◆ SetPow()

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

Set the input image.

Member Data Documentation

◆ ImageDimension

template<typename TInputImage , typename TGradientImage >
constexpr unsigned int itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::ImageDimension = TInputImage::ImageDimension
staticconstexpr

Extract the dimension of the image.

Definition at line 59 of file itkRobustAutomaticThresholdCalculator.h.

◆ m_Gradient

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

Set the input image.

Definition at line 123 of file itkRobustAutomaticThresholdCalculator.h.

◆ m_Input

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

Set the input image.

Definition at line 122 of file itkRobustAutomaticThresholdCalculator.h.

◆ m_Output

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

Set the input image.

Definition at line 120 of file itkRobustAutomaticThresholdCalculator.h.

◆ m_Pow

template<typename TInputImage , typename TGradientImage >
double itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::m_Pow { 1 }
private

Set the input image.

Definition at line 119 of file itkRobustAutomaticThresholdCalculator.h.

◆ m_Valid

template<typename TInputImage , typename TGradientImage >
bool itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::m_Valid { false }
private

Set the input image.

Definition at line 118 of file itkRobustAutomaticThresholdCalculator.h.


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