ITK  4.9.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::MinMaxCurvatureFlowFunction< TImage > Class Template Reference

#include <itkMinMaxCurvatureFlowFunction.h>

+ Inheritance diagram for itk::MinMaxCurvatureFlowFunction< TImage >:
+ Collaboration diagram for itk::MinMaxCurvatureFlowFunction< TImage >:

Detailed Description

template<typename TImage>
class itk::MinMaxCurvatureFlowFunction< TImage >

This class encapsulate the finite difference equation which drives a min/max curvature flow denoising algorithm.

This class uses a zero flux Neumann boundary condition when computing derivatives near the data boundary.

This class operates as part of the finite difference solver hierarchy.

See Also
MinMaxCurvatureFlowImageFilter
ZeroFluxNeumannBoundaryCondition

Definition at line 42 of file itkMinMaxCurvatureFlowFunction.h.

Classes

struct  Dispatch
 
struct  DispatchBase
 

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::FloatOffsetType FloatOffsetType
 
typedef Superclass::ImageType ImageType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef RadiusType::SizeValueType RadiusValueType
 
typedef MinMaxCurvatureFlowFunction Self
 
typedef CurvatureFlowFunction
< TImage > 
Superclass
 
- Public Types inherited from itk::CurvatureFlowFunction< TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::FloatOffsetType FloatOffsetType
 
typedef Superclass::ImageType ImageType
 
typedef
Superclass::NeighborhoodScalesType 
NeighborhoodScalesType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef Superclass::PixelRealType PixelRealType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef PixelType ScalarValueType
 
typedef CurvatureFlowFunction Self
 
typedef
FiniteDifferenceFunction
< TImage > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
- Public Types inherited from itk::FiniteDifferenceFunction< TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
ZeroFluxNeumannBoundaryCondition
< ImageType
DefaultBoundaryConditionType
 
typedef Vector< float,
itkGetStaticConstMacro(ImageDimension) > 
FloatOffsetType
 
typedef TImage ImageType
 
typedef Vector< PixelRealType,
itkGetStaticConstMacro(ImageDimension) > 
NeighborhoodScalesType
 
typedef
ConstNeighborhoodIterator
< TImage,
DefaultBoundaryConditionType
NeighborhoodType
 
typedef double PixelRealType
 
typedef ImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
ConstNeighborhoodIterator
< TImage >::RadiusType 
RadiusType
 
typedef FiniteDifferenceFunction Self
 
typedef LightObject Superclass
 
typedef double TimeStepType
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual PixelType ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0)) override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
const RadiusValueTypeGetRadiusValueType () const
 
const RadiusValueTypeGetStencilRadius () const
 
void SetStencilRadius (const RadiusValueType radius)
 
- Public Member Functions inherited from itk::CurvatureFlowFunction< TImage >
virtual TimeStepType ComputeGlobalTimeStep (void *GlobalData) const override
 
virtual void * GetGlobalDataPointer () const override
 
const TimeStepTypeGetTimeStep () const
 
virtual void ReleaseGlobalDataPointer (void *GlobalData) const override
 
void SetTimeStep (const TimeStepType &t)
 
- Public Member Functions inherited from itk::FiniteDifferenceFunction< TImage >
const NeighborhoodScalesType ComputeNeighborhoodScales () const
 
const RadiusTypeGetRadius () const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
virtual void InitializeIteration ()
 
void SetRadius (const RadiusType &r)
 
void SetScaleCoefficients (PixelRealType vals[ImageDimension])
 
- 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
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::CurvatureFlowFunction< TImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::CurvatureFlowFunction< TImage >
static const unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceFunction< TImage >
static const unsigned int ImageDimension
 

Protected Types

typedef Neighborhood
< PixelType,
itkGetStaticConstMacro(ImageDimension) > 
StencilOperatorType
 

Protected Member Functions

void InitializeStencilOperator ()
 
 MinMaxCurvatureFlowFunction ()
 
 ~MinMaxCurvatureFlowFunction ()
 
- Protected Member Functions inherited from itk::CurvatureFlowFunction< TImage >
 CurvatureFlowFunction ()
 
 ~CurvatureFlowFunction ()
 
- Protected Member Functions inherited from itk::FiniteDifferenceFunction< TImage >
 FiniteDifferenceFunction ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~FiniteDifferenceFunction ()
 
- 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

StencilOperatorType m_StencilOperator
 
- Protected Attributes inherited from itk::FiniteDifferenceFunction< TImage >
RadiusType m_Radius
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Member Functions

virtual PixelType ComputeThreshold (const Dispatch< 2 > &, const NeighborhoodType &neighborhood) const
 
virtual PixelType ComputeThreshold (const Dispatch< 3 > &, const NeighborhoodType &neighborhood) const
 
virtual PixelType ComputeThreshold (const DispatchBase &, const NeighborhoodType &neighborhood) const
 
 MinMaxCurvatureFlowFunction (const Self &) ITK_DELETE_FUNCTION
 
void operator= (const Self &) ITK_DELETE_FUNCTION
 

Private Attributes

RadiusValueType m_StencilRadius
 

Member Typedef Documentation

template<typename TImage >
typedef SmartPointer< const Self > itk::MinMaxCurvatureFlowFunction< TImage >::ConstPointer

Definition at line 50 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
typedef Superclass::FloatOffsetType itk::MinMaxCurvatureFlowFunction< TImage >::FloatOffsetType

Definition at line 64 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
typedef Superclass::ImageType itk::MinMaxCurvatureFlowFunction< TImage >::ImageType

Inherit some parameters from the superclass type.

Definition at line 57 of file itkMinMaxCurvatureFlowFunction.h.

Definition at line 63 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
typedef Superclass::PixelType itk::MinMaxCurvatureFlowFunction< TImage >::PixelType

Definition at line 61 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
typedef SmartPointer< Self > itk::MinMaxCurvatureFlowFunction< TImage >::Pointer

Definition at line 49 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
typedef Superclass::RadiusType itk::MinMaxCurvatureFlowFunction< TImage >::RadiusType

Definition at line 62 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
typedef RadiusType::SizeValueType itk::MinMaxCurvatureFlowFunction< TImage >::RadiusValueType

Typedef support for the stencil radius.

Definition at line 71 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
typedef MinMaxCurvatureFlowFunction itk::MinMaxCurvatureFlowFunction< TImage >::Self

Standard class typedefs.

Definition at line 47 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
typedef Neighborhood< PixelType, itkGetStaticConstMacro(ImageDimension) > itk::MinMaxCurvatureFlowFunction< TImage >::StencilOperatorType
protected

Definition at line 94 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
typedef CurvatureFlowFunction< TImage > itk::MinMaxCurvatureFlowFunction< TImage >::Superclass

Definition at line 48 of file itkMinMaxCurvatureFlowFunction.h.

Constructor & Destructor Documentation

template<typename TImage >
itk::MinMaxCurvatureFlowFunction< TImage >::MinMaxCurvatureFlowFunction ( )
protected
template<typename TImage >
itk::MinMaxCurvatureFlowFunction< TImage >::~MinMaxCurvatureFlowFunction ( )
inlineprotected

Definition at line 92 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
itk::MinMaxCurvatureFlowFunction< TImage >::MinMaxCurvatureFlowFunction ( const Self )
private

Member Function Documentation

template<typename TImage >
virtual PixelType itk::MinMaxCurvatureFlowFunction< TImage >::ComputeThreshold ( const Dispatch< 2 > &  ,
const NeighborhoodType neighborhood 
) const
privatevirtual

This method computes the threshold by averaging the intensity in direction perpendicular to the image gradient.

template<typename TImage >
virtual PixelType itk::MinMaxCurvatureFlowFunction< TImage >::ComputeThreshold ( const Dispatch< 3 > &  ,
const NeighborhoodType neighborhood 
) const
privatevirtual
template<typename TImage >
virtual PixelType itk::MinMaxCurvatureFlowFunction< TImage >::ComputeThreshold ( const DispatchBase ,
const NeighborhoodType neighborhood 
) const
privatevirtual
template<typename TImage >
virtual PixelType itk::MinMaxCurvatureFlowFunction< TImage >::ComputeUpdate ( const NeighborhoodType neighborhood,
void *  globalData,
const FloatOffsetType offset = FloatOffsetType(0.0) 
)
overridevirtual

This method computes the solution update for each pixel that does not lie on a the data set boundary.

Reimplemented from itk::CurvatureFlowFunction< TImage >.

Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >.

template<typename TImage >
virtual::itk::LightObject::Pointer itk::MinMaxCurvatureFlowFunction< TImage >::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::CurvatureFlowFunction< TImage >.

template<typename TImage >
virtual const char* itk::MinMaxCurvatureFlowFunction< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::CurvatureFlowFunction< TImage >.

template<typename TImage >
const RadiusValueType& itk::MinMaxCurvatureFlowFunction< TImage >::GetRadiusValueType ( ) const
inline
template<typename TImage >
const RadiusValueType& itk::MinMaxCurvatureFlowFunction< TImage >::GetStencilRadius ( ) const
inline

Convenience function for symmetry with SetStencilRadius.

Definition at line 80 of file itkMinMaxCurvatureFlowFunction.h.

References itk::MinMaxCurvatureFlowFunction< TImage >::GetRadiusValueType().

template<typename TImage >
void itk::MinMaxCurvatureFlowFunction< TImage >::InitializeStencilOperator ( )
protected

Initialize the stencil opearator to be an N-Dimensional sphere of radius m_StencilRadius.

template<typename TImage >
static Pointer itk::MinMaxCurvatureFlowFunction< TImage >::New ( )
static

Method for creation through the object factory.

template<typename TImage >
void itk::MinMaxCurvatureFlowFunction< TImage >::operator= ( const Self )
private
template<typename TImage >
void itk::MinMaxCurvatureFlowFunction< TImage >::SetStencilRadius ( const RadiusValueType  radius)

Set/Get the stencil radius.

Member Data Documentation

template<typename TImage >
const unsigned int itk::MinMaxCurvatureFlowFunction< TImage >::ImageDimension = Superclass::ImageDimension
static

Extract superclass dimension.

Definition at line 68 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
StencilOperatorType itk::MinMaxCurvatureFlowFunction< TImage >::m_StencilOperator
protected

Definition at line 95 of file itkMinMaxCurvatureFlowFunction.h.

template<typename TImage >
RadiusValueType itk::MinMaxCurvatureFlowFunction< TImage >::m_StencilRadius
private

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