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 Attributes | List of all members
itk::GaussianDerivativeImageFunction< TInputImage, TOutput > Class Template Reference

#include <itkGaussianDerivativeImageFunction.h>

+ Inheritance diagram for itk::GaussianDerivativeImageFunction< TInputImage, TOutput >:
+ Collaboration diagram for itk::GaussianDerivativeImageFunction< TInputImage, TOutput >:

Detailed Description

template<class TInputImage, class TOutput = double>
class itk::GaussianDerivativeImageFunction< TInputImage, TOutput >

Compute the gaussian derivatives of an the image at a specific location in space, i.e. point, index or continuous index. This class is templated over the input image type.

See Also
NeighborhoodOperator
ImageFunction

Definition at line 38 of file itkGaussianDerivativeImageFunction.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef ContinuousIndex
< TOutput,
itkGetStaticConstMacro(ImageDimension2) > 
ContinuousIndexType
 
typedef
GaussianDerivativeFunctionType::Pointer 
GaussianDerivativeFunctionPointer
 
typedef
GaussianDerivativeSpatialFunction
< TOutput, 1 > 
GaussianDerivativeFunctionType
 
typedef
GaussianFunctionType::Pointer 
GaussianFunctionPointer
 
typedef
GaussianSpatialFunction
< TOutput, 1 > 
GaussianFunctionType
 
typedef InputImageType::IndexType IndexType
 
typedef TInputImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef Neighborhood
< InputPixelType,
itkGetStaticConstMacro(ImageDimension2) > 
NeighborhoodType
 
typedef FixedArray
< OperatorNeighborhoodType,
2 *itkGetStaticConstMacro(ImageDimension2) > 
OperatorArrayType
 
typedef
OperatorImageFunctionType::Pointer 
OperatorImageFunctionPointer
 
typedef
NeighborhoodOperatorImageFunction
< InputImageType, TOutput > 
OperatorImageFunctionType
 
typedef Neighborhood< TOutput,
itkGetStaticConstMacro(ImageDimension2) > 
OperatorNeighborhoodType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Point< TOutput,
itkGetStaticConstMacro(ImageDimension2) > 
PointType
 
typedef
GaussianDerivativeImageFunction 
Self
 
typedef ImageFunction
< TInputImage, Vector< TOutput,
TInputImage::ImageDimension >
, TOutput > 
Superclass
 
typedef Vector< TOutput,
itkGetStaticConstMacro(ImageDimension2) > 
VectorType
 
- Public Types inherited from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput >
typedef SmartPointer< const SelfConstPointer
 
typedef ContinuousIndex
< TOutput,
itkGetStaticConstMacro(ImageDimension) > 
ContinuousIndexType
 
typedef TOutput CoordRepType
 
typedef InputImageType::IndexType IndexType
 
typedef
InputImageType::IndexValueType 
IndexValueType
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef TInputImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef Vector< TOutput,
TInputImage::ImageDimension > 
OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Point< TOutput,
itkGetStaticConstMacro(ImageDimension) > 
PointType
 
typedef ImageFunction Self
 
typedef FunctionBase< Point
< TOutput,
itkGetStaticConstMacro(ImageDimension) >
, Vector< TOutput,
TInputImage::ImageDimension > > 
Superclass
 
- Public Types inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, Vector< TOutput, TInputImage::ImageDimension > >
typedef SmartPointer< const SelfConstPointer
 
typedef Point< TOutput,
TInputImage::ImageDimension > 
InputType
 
typedef Vector< TOutput,
TInputImage::ImageDimension > 
OutputType
 
typedef SmartPointer< SelfPointer
 
typedef FunctionBase 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

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputType Evaluate (const PointType &point) const
 
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const
 
virtual OutputType EvaluateAtIndex (const IndexType &index) const
 
const double * GetExtent () const
 
virtual const char * GetNameOfClass () const
 
const double * GetSigma () const
 
void SetExtent (const double *extent)
 
void SetExtent (const double extent)
 
virtual void SetInputImage (const InputImageType *ptr)
 
void SetSigma (const double *sigma)
 
void SetSigma (const double sigma)
 
- Public Member Functions inherited from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput >
void ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const
 
void ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const
 
void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const
 
virtual Vector< TOutput,
TInputImage::ImageDimension > 
Evaluate (const PointType &point) const =0
 
virtual Vector< TOutput,
TInputImage::ImageDimension > 
EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
 
virtual const ContinuousIndexTypeGetEndContinuousIndex ()
 
virtual const IndexTypeGetEndIndex ()
 
const InputImageTypeGetInputImage () const
 
virtual const ContinuousIndexTypeGetStartContinuousIndex ()
 
virtual const IndexTypeGetStartIndex ()
 
virtual bool IsInsideBuffer (const IndexType &index) const
 
virtual bool IsInsideBuffer (const ContinuousIndexType &index) const
 
virtual bool IsInsideBuffer (const PointType &point) const
 
- Public Member Functions inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, Vector< TOutput, TInputImage::ImageDimension > >
virtual OutputType Evaluate (const InputType &input) const =0
 
- 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 Attributes

static const unsigned int ImageDimension2 = InputImageType::ImageDimension
 
- Static Public Attributes inherited from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput >
static const unsigned int ImageDimension
 

Protected Member Functions

 GaussianDerivativeImageFunction ()
 
 GaussianDerivativeImageFunction (const Self &)
 
void operator= (const Self &)
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void RecomputeContinuousGaussianKernel (const double *offset) const
 
void RecomputeGaussianKernel ()
 
 ~GaussianDerivativeImageFunction ()
 
- Protected Member Functions inherited from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput >
 ImageFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~ImageFunction ()
 
- Protected Member Functions inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, Vector< TOutput, TInputImage::ImageDimension > >
 FunctionBase ()
 
 ~FunctionBase ()
 
- 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 Attributes

OperatorArrayType m_ContinuousOperatorArray
 
double m_Extent [ImageDimension2]
 
GaussianDerivativeFunctionPointer m_GaussianDerivativeFunction
 
GaussianFunctionPointer m_GaussianFunction
 
OperatorArrayType m_OperatorArray
 
OperatorImageFunctionPointer m_OperatorImageFunction
 
double m_Sigma [ImageDimension2]
 
bool m_UseImageSpacing
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput >
ContinuousIndexType m_EndContinuousIndex
 
IndexType m_EndIndex
 
InputImageConstPointer m_Image
 
ContinuousIndexType m_StartContinuousIndex
 
IndexType m_StartIndex
 

Member Typedef Documentation

template<class TInputImage , class TOutput = double>
typedef SmartPointer< const Self > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::ConstPointer

Definition at line 55 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef ContinuousIndex< TOutput, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::ContinuousIndexType

Definition at line 73 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef GaussianDerivativeFunctionType::Pointer itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GaussianDerivativeFunctionPointer

Definition at line 86 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef GaussianDerivativeSpatialFunction< TOutput, 1 > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GaussianDerivativeFunctionType

Definition at line 85 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef GaussianFunctionType::Pointer itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GaussianFunctionPointer

Definition at line 89 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef GaussianSpatialFunction< TOutput, 1 > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GaussianFunctionType

Definition at line 88 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef InputImageType::IndexType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::IndexType

Definition at line 66 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef TInputImage itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::InputImageType

InputImageType typedef support.

Definition at line 61 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef InputImageType::PixelType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::InputPixelType

Definition at line 65 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef Neighborhood< InputPixelType, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::NeighborhoodType

Definition at line 75 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef FixedArray< OperatorNeighborhoodType, 2 *itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::OperatorArrayType

Definition at line 80 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef OperatorImageFunctionType::Pointer itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::OperatorImageFunctionPointer

Definition at line 83 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef NeighborhoodOperatorImageFunction< InputImageType, TOutput > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::OperatorImageFunctionType

Definition at line 82 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef Neighborhood< TOutput, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::OperatorNeighborhoodType

Definition at line 76 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef Superclass::OutputType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::OutputType

Definition at line 79 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef SmartPointer< Self > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::Pointer

Smart pointer typedef support.

Definition at line 54 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef Point< TOutput, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::PointType

Point typedef support.

Definition at line 92 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef GaussianDerivativeImageFunction itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::Self

Standard "Self" typedef

Definition at line 46 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::Superclass

Standard "Superclass" typedef

Definition at line 51 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef Vector< TOutput, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::VectorType

Definition at line 78 of file itkGaussianDerivativeImageFunction.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutput = double>
itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GaussianDerivativeImageFunction ( )
protected
template<class TInputImage , class TOutput = double>
itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GaussianDerivativeImageFunction ( const Self )
protected
template<class TInputImage , class TOutput = double>
itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::~GaussianDerivativeImageFunction ( )
inlineprotected

Definition at line 133 of file itkGaussianDerivativeImageFunction.h.

Member Function Documentation

template<class TInputImage , class TOutput = double>
virtual::itk::LightObject::Pointer itk::GaussianDerivativeImageFunction< TInputImage, 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.

template<class TInputImage , class TOutput = double>
virtual OutputType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::Evaluate ( const PointType point) const
virtual

Evalutate the in the given dimension at specified point

template<class TInputImage , class TOutput = double>
virtual OutputType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::EvaluateAtContinuousIndex ( const ContinuousIndexType index) const
virtual

Evaluate the function at specified ContinousIndex position.

template<class TInputImage , class TOutput = double>
virtual OutputType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::EvaluateAtIndex ( const IndexType index) const
virtual
template<class TInputImage , class TOutput = double>
const double* itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GetExtent ( ) const
inline

Definition at line 121 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
virtual const char* itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput >.

template<class TInputImage , class TOutput = double>
const double* itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GetSigma ( ) const
inline

Definition at line 114 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
static Pointer itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutput = double>
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::operator= ( const Self )
protected
template<class TInputImage , class TOutput = double>
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::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 TOutput = double>
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::RecomputeContinuousGaussianKernel ( const double *  offset) const
protected
template<class TInputImage , class TOutput = double>
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::RecomputeGaussianKernel ( )
protected
template<class TInputImage , class TOutput = double>
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::SetExtent ( const double *  extent)

Set the extent of the kernel

template<class TInputImage , class TOutput = double>
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::SetExtent ( const double  extent)
template<class TInputImage , class TOutput = double>
virtual void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::SetInputImage ( const InputImageType ptr)
virtual

Set the input image.

Warning
this method caches BufferedRegion information. If the BufferedRegion has changed, user must call SetInputImage again to update cached values.

Reimplemented from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput >.

template<class TInputImage , class TOutput = double>
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::SetSigma ( const double *  sigma)

The variance for the discrete Gaussian kernel. Sets the variance independently for each dimension, but see also SetVariance(const double v). The default is 0.0 in each dimension. If UseImageSpacing is true, the units are the physical units of your image. If UseImageSpacing is false then the units are pixels.

template<class TInputImage , class TOutput = double>
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::SetSigma ( const double  sigma)

Member Data Documentation

template<class TInputImage , class TOutput = double>
const unsigned int itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::ImageDimension2 = InputImageType::ImageDimension
static

Dimension of the underlying image.

Definition at line 70 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
OperatorArrayType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::m_ContinuousOperatorArray
mutableprivate

Definition at line 151 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
double itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::m_Extent[ImageDimension2]
private

Definition at line 155 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
GaussianDerivativeFunctionPointer itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::m_GaussianDerivativeFunction
private
template<class TInputImage , class TOutput = double>
GaussianFunctionPointer itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::m_GaussianFunction
private

Definition at line 162 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
OperatorArrayType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::m_OperatorArray
mutableprivate

Array of 1D operators. Contains a derivative kernel and a gaussian kernel for each dimension

Definition at line 150 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
OperatorImageFunctionPointer itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::m_OperatorImageFunction
private

OperatorImageFunction

Definition at line 154 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
double itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::m_Sigma[ImageDimension2]
private

Definition at line 146 of file itkGaussianDerivativeImageFunction.h.

template<class TInputImage , class TOutput = double>
bool itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::m_UseImageSpacing
private

Flag to indicate whether to use image spacing

Definition at line 158 of file itkGaussianDerivativeImageFunction.h.


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