ITK  4.2.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 Types inherited from itk::ImageFunction< TInputImage, Vector< TOutput,::itk::GetImageDimension< TInputImage >::ImageDimension >, TOutput >
typedef TOutput CoordRepType
typedef
InputImageType::IndexValueType 
IndexValueType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
- Public Types inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, Vector< TOutput,::itk::GetImageDimension< TInputImage >::ImageDimension > >
typedef Point< TOutput,
TInputImage::ImageDimension > 
InputType
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

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,::itk::GetImageDimension< 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,::itk::GetImageDimension
< 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

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,::itk::GetImageDimension< 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,::itk::GetImageDimension< TInputImage >::ImageDimension >, TOutput >
 ImageFunction ()
 ~ImageFunction ()
- Protected Member Functions inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, Vector< TOutput,::itk::GetImageDimension< 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 Attributes inherited from itk::ImageFunction< TInputImage, Vector< TOutput,::itk::GetImageDimension< TInputImage >::ImageDimension >, TOutput >
ContinuousIndexType m_EndContinuousIndex
IndexType m_EndIndex
InputImageConstPointer m_Image
ContinuousIndexType m_StartContinuousIndex
IndexType m_StartIndex

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 ( )
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
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
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::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
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: