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

#include <itkGaussianDerivativeImageFunction.h>

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

List of all members.

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,::itk::GetImageDimension
< TInputImage >
::ImageDimension >, TOutput > 
Superclass
typedef Vector< TOutput,
itkGetStaticConstMacro(ImageDimension2) > 
VectorType

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)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension2 = InputImageType::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 ()

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

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.


Member Typedef Documentation

template<class TInputImage , class TOutput = double>
typedef SmartPointer< const Self > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::ConstPointer
template<class TInputImage , class TOutput = double>
typedef ContinuousIndex< TOutput, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::ContinuousIndexType
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
template<class TInputImage , class TOutput = double>
typedef TInputImage itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::InputImageType
template<class TInputImage , class TOutput = double>
typedef InputImageType::PixelType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::InputPixelType
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
template<class TInputImage , class TOutput = double>
typedef SmartPointer< Self > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::Pointer
template<class TInputImage , class TOutput = double>
typedef Point< TOutput, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::PointType
template<class TInputImage , class TOutput = double>
typedef GaussianDerivativeImageFunction itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::Self
template<class TInputImage , class TOutput = double>
typedef ImageFunction< TInputImage, Vector< TOutput, ::itk::GetImageDimension< TInputImage >::ImageDimension >, TOutput > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::Superclass
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 ( ) [inline, protected]

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]
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]
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.

Reimplemented from itk::Object.

template<class TInputImage , class TOutput = double>
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::operator= ( const Self ) [protected]

Mutex lock to protect modification to the reference count

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

template<class TInputImage , class TOutput = double>
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

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::ImageFunction< TInputImage, Vector< TOutput,::itk::GetImageDimension< TInputImage >::ImageDimension >, TOutput >.

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,::itk::GetImageDimension< 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 [mutable, private]

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 [mutable, private]

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: