Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::GaussianBlurImageFunction< TInputImage, TOutput > Class Template Reference

Compute the convolution of a neighborhood operator with the image at a specific location in space, i.e. point, index or continuous index. This class is templated over the input image type. More...

#include <itkGaussianBlurImageFunction.h>

Inheritance diagram for itk::GaussianBlurImageFunction< TInputImage, TOutput >:

Inheritance graph
[legend]
Collaboration diagram for itk::GaussianBlurImageFunction< TInputImage, TOutput >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef GaussianBlurImageFunction Self
typedef ImageFunction< TInputImage,
TOutput > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage InputImageType
typedef InputImageType::PixelType InputPixelType
typedef Superclass::IndexType IndexType
typedef Superclass::ContinuousIndexType ContinuousIndexType
typedef GaussianOperator<
TOutput, itkGetStaticConstMacro(ImageDimension) 
GaussianOperatorType )
typedef Neighborhood< TOutput,
itkGetStaticConstMacro(ImageDimension) 
NeighborhoodType )
typedef FixedArray< NeighborhoodType,
itkGetStaticConstMacro(ImageDimension) 
OperatorArrayType )
typedef GaussianSpatialFunction<
TOutput, 1 > 
GaussianFunctionType
typedef GaussianFunctionType::Pointer GaussianFunctionPointer
typedef itk::Image< double,
itkGetStaticConstMacro(ImageDimension) 
InternalImageType )
typedef InternalImageType::Pointer InternalImagePointer
typedef NeighborhoodOperatorImageFunction<
InternalImageType, TOutput > 
OperatorImageFunctionType
typedef OperatorImageFunctionType::Pointer OperatorImageFunctionPointer
typedef itk::CastImageFilter<
InputImageType, InternalImageType
CastImageFilterType
typedef CastImageFilterType::Pointer CastImageFilterPointer
typedef itk::FixedArray< double,
itkGetStaticConstMacro(ImageDimension) 
ErrorArrayType )
typedef itk::FixedArray< double,
itkGetStaticConstMacro(ImageDimension) 
ExtentArrayType )
typedef itk::FixedArray< double,
itkGetStaticConstMacro(ImageDimension) 
SigmaArrayType )
typedef Superclass::PointType PointType

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (ImageDimension, unsigned int, InputImageType::ImageDimension)
virtual TOutput Evaluate (const PointType &point) const
virtual TOutput EvaluateAtIndex (const IndexType &index) const
virtual TOutput EvaluateAtContinuousIndex (const ContinuousIndexType &index) const
virtual void SetInputImage (const InputImageType *ptr)
void SetSigma (const double *sigma)
void SetSigma (const float *sigma)
void SetSigma (const double sigma)
virtual void SetSigma (SigmaArrayType _arg)
virtual const SigmaArrayTypeGetSigma ()
virtual void SetExtent (ExtentArrayType _arg)
virtual const ExtentArrayTypeGetExtent ()
void SetExtent (const double *extent)
void SetExtent (const double extent)
virtual void SetMaximumError (ErrorArrayType _arg)
virtual const ErrorArrayTypeGetMaximumError ()
virtual void SetMaximumKernelWidth (int _arg)
virtual int GetMaximumKernelWidth ()
virtual void SetUseImageSpacing (bool _arg)
virtual bool GetUseImageSpacing ()
virtual void UseImageSpacingOn ()
virtual void UseImageSpacingOff ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 GaussianBlurImageFunction ()
 GaussianBlurImageFunction (const Self &)
 ~GaussianBlurImageFunction ()
void operator= (const Self &)
void PrintSelf (std::ostream &os, Indent indent) const
void RecomputeGaussianKernel ()
void RecomputeContinuousGaussianKernel (const double *offset) const

Detailed Description

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

Compute the convolution of a neighborhood operator with 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 39 of file itkGaussianBlurImageFunction.h.


Member Typedef Documentation

template<class TInputImage, class TOutput = double>
typedef CastImageFilterType::Pointer itk::GaussianBlurImageFunction< TInputImage, TOutput >::CastImageFilterPointer
 

Definition at line 87 of file itkGaussianBlurImageFunction.h.

Referenced by itk::GaussianBlurImageFunction< TInputImage, TOutput >::operator=().

template<class TInputImage, class TOutput = double>
typedef itk::CastImageFilter<InputImageType,InternalImageType> itk::GaussianBlurImageFunction< TInputImage, TOutput >::CastImageFilterType
 

Definition at line 86 of file itkGaussianBlurImageFunction.h.

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

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

Definition at line 52 of file itkGaussianBlurImageFunction.h.

template<class TInputImage, class TOutput = double>
typedef Superclass::ContinuousIndexType itk::GaussianBlurImageFunction< TInputImage, TOutput >::ContinuousIndexType
 

ContinuousIndex Type.

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

Definition at line 64 of file itkGaussianBlurImageFunction.h.

template<class TInputImage, class TOutput = double>
typedef itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) itk::GaussianBlurImageFunction< TInputImage, TOutput >::ErrorArrayType)
 

Definition at line 90 of file itkGaussianBlurImageFunction.h.

Referenced by itk::GaussianBlurImageFunction< TInputImage, TOutput >::operator=().

template<class TInputImage, class TOutput = double>
typedef itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) itk::GaussianBlurImageFunction< TInputImage, TOutput >::ExtentArrayType)
 

Definition at line 93 of file itkGaussianBlurImageFunction.h.

Referenced by itk::GaussianBlurImageFunction< TInputImage, TOutput >::operator=().

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

Definition at line 78 of file itkGaussianBlurImageFunction.h.

Referenced by itk::GaussianBlurImageFunction< TInputImage, TOutput >::operator=().

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

Definition at line 77 of file itkGaussianBlurImageFunction.h.

template<class TInputImage, class TOutput = double>
typedef GaussianOperator<TOutput, itkGetStaticConstMacro(ImageDimension) itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianOperatorType)
 

Definition at line 73 of file itkGaussianBlurImageFunction.h.

template<class TInputImage, class TOutput = double>
typedef Superclass::IndexType itk::GaussianBlurImageFunction< TInputImage, TOutput >::IndexType
 

Index Type.

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

Definition at line 63 of file itkGaussianBlurImageFunction.h.

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

InputImageType typedef support.

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

Definition at line 61 of file itkGaussianBlurImageFunction.h.

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

InputPixel typedef support

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

Definition at line 62 of file itkGaussianBlurImageFunction.h.

template<class TInputImage, class TOutput = double>
typedef InternalImageType::Pointer itk::GaussianBlurImageFunction< TInputImage, TOutput >::InternalImagePointer
 

Definition at line 80 of file itkGaussianBlurImageFunction.h.

Referenced by itk::GaussianBlurImageFunction< TInputImage, TOutput >::operator=().

template<class TInputImage, class TOutput = double>
typedef itk::Image<double,itkGetStaticConstMacro(ImageDimension) itk::GaussianBlurImageFunction< TInputImage, TOutput >::InternalImageType)
 

Definition at line 79 of file itkGaussianBlurImageFunction.h.

template<class TInputImage, class TOutput = double>
typedef Neighborhood<TOutput, itkGetStaticConstMacro(ImageDimension) itk::GaussianBlurImageFunction< TInputImage, TOutput >::NeighborhoodType)
 

Definition at line 74 of file itkGaussianBlurImageFunction.h.

template<class TInputImage, class TOutput = double>
typedef FixedArray<NeighborhoodType,itkGetStaticConstMacro(ImageDimension) itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorArrayType)
 

Definition at line 75 of file itkGaussianBlurImageFunction.h.

Referenced by itk::GaussianBlurImageFunction< TInputImage, TOutput >::operator=().

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

Definition at line 84 of file itkGaussianBlurImageFunction.h.

Referenced by itk::GaussianBlurImageFunction< TInputImage, TOutput >::operator=().

template<class TInputImage, class TOutput = double>
typedef NeighborhoodOperatorImageFunction<InternalImageType, TOutput> itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorImageFunctionType
 

Definition at line 83 of file itkGaussianBlurImageFunction.h.

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

Smart pointer typedef support.

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

Definition at line 51 of file itkGaussianBlurImageFunction.h.

template<class TInputImage, class TOutput = double>
typedef Superclass::PointType itk::GaussianBlurImageFunction< TInputImage, TOutput >::PointType
 

Point typedef support.

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

Definition at line 99 of file itkGaussianBlurImageFunction.h.

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

Standard "Self" typedef

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

Definition at line 45 of file itkGaussianBlurImageFunction.h.

template<class TInputImage, class TOutput = double>
typedef itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) itk::GaussianBlurImageFunction< TInputImage, TOutput >::SigmaArrayType)
 

Definition at line 96 of file itkGaussianBlurImageFunction.h.

Referenced by itk::GaussianBlurImageFunction< TInputImage, TOutput >::operator=().

template<class TInputImage, class TOutput = double>
typedef ImageFunction<TInputImage, TOutput> itk::GaussianBlurImageFunction< TInputImage, TOutput >::Superclass
 

Standard "Superclass" typedef

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

Definition at line 48 of file itkGaussianBlurImageFunction.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutput = double>
itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianBlurImageFunction  )  [protected]
 

template<class TInputImage, class TOutput = double>
itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianBlurImageFunction const Self  )  [inline, protected]
 

Definition at line 168 of file itkGaussianBlurImageFunction.h.

template<class TInputImage, class TOutput = double>
itk::GaussianBlurImageFunction< TInputImage, TOutput >::~GaussianBlurImageFunction  )  [inline, protected]
 

Definition at line 170 of file itkGaussianBlurImageFunction.h.


Member Function Documentation

template<class TInputImage, class TOutput = double>
virtual TOutput itk::GaussianBlurImageFunction< TInputImage, TOutput >::Evaluate const PointType point  )  const [virtual]
 

Evalutate the in the given dimension at specified point

Implements itk::ImageFunction< TInputImage, TOutput >.

template<class TInputImage, class TOutput = double>
virtual TOutput itk::GaussianBlurImageFunction< TInputImage, TOutput >::EvaluateAtContinuousIndex const ContinuousIndexType index  )  const [virtual]
 

Evaluate the function at specified ContinousIndex position.

Implements itk::ImageFunction< TInputImage, TOutput >.

template<class TInputImage, class TOutput = double>
virtual TOutput itk::GaussianBlurImageFunction< TInputImage, TOutput >::EvaluateAtIndex const IndexType index  )  const [virtual]
 

Evaluate the function at specified Index position

Implements itk::ImageFunction< TInputImage, TOutput >.

template<class TInputImage, class TOutput = double>
virtual const ExtentArrayType& itk::GaussianBlurImageFunction< TInputImage, TOutput >::GetExtent  )  [virtual]
 

Set/Get the Extent of the array holding the coefficients of the Gaussian kernel computed by the GaussianOperator.

template<class TInputImage, class TOutput = double>
virtual const ErrorArrayType& itk::GaussianBlurImageFunction< TInputImage, TOutput >::GetMaximumError  )  [virtual]
 

Set/Get the maximum error acceptable for the approximation of the Gaussian kernel with the GaussianOperator.

template<class TInputImage, class TOutput = double>
virtual int itk::GaussianBlurImageFunction< TInputImage, TOutput >::GetMaximumKernelWidth  )  [virtual]
 

Set/GetMaximumKernelWidth() This value is used by the underling GaussianOperator for computing the number of coefficients to be used in the Gaussian kernel

template<class TInputImage, class TOutput = double>
virtual const char* itk::GaussianBlurImageFunction< TInputImage, TOutput >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

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

template<class TInputImage, class TOutput = double>
virtual const SigmaArrayType& itk::GaussianBlurImageFunction< TInputImage, TOutput >::GetSigma  )  [virtual]
 

The standard deviation for the discrete Gaussian kernel. Sets the standard deviation independently for each dimension. The default is 1.0 in each dimension. If UseImageSpacing is true (default), the units are the physical units of your image. If UseImageSpacing is false then the units are pixels.

template<class TInputImage, class TOutput = double>
virtual bool itk::GaussianBlurImageFunction< TInputImage, TOutput >::GetUseImageSpacing  )  [virtual]
 

Set/GetUseImageSpacing() This flag is used by the underling GaussianOperator to decide if the image spacing should be used to scale the value of sigma or not. The methods UseImageSpacingOn() and UseImageSpacingOff() provide a similar functionality.

template<class TInputImage, class TOutput = double>
itk::GaussianBlurImageFunction< TInputImage, TOutput >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
InputImageType::ImageDimension 
 

Dimension of the underlying image.

template<class TInputImage, class TOutput = double>
Pointer itk::GaussianBlurImageFunction< TInputImage, TOutput >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

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

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

Definition at line 172 of file itkGaussianBlurImageFunction.h.

References itk::GaussianBlurImageFunction< TInputImage, TOutput >::CastImageFilterPointer, itk::GaussianBlurImageFunction< TInputImage, TOutput >::ErrorArrayType, itk::GaussianBlurImageFunction< TInputImage, TOutput >::ExtentArrayType, itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianFunctionPointer, itk::GaussianBlurImageFunction< TInputImage, TOutput >::InternalImagePointer, itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorArrayType, itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorImageFunctionPointer, and itk::GaussianBlurImageFunction< TInputImage, TOutput >::SigmaArrayType.

template<class TInputImage, class TOutput = double>
void itk::GaussianBlurImageFunction< 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, TOutput >.

template<class TInputImage, class TOutput = double>
void itk::GaussianBlurImageFunction< TInputImage, TOutput >::RecomputeContinuousGaussianKernel const double *  offset  )  const [protected]
 

template<class TInputImage, class TOutput = double>
void itk::GaussianBlurImageFunction< TInputImage, TOutput >::RecomputeGaussianKernel  )  [protected]
 

template<class TInputImage, class TOutput = double>
void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetExtent const double  extent  ) 
 

Set/Get the Extent of the array holding the coefficients of the Gaussian kernel computed by the GaussianOperator.

template<class TInputImage, class TOutput = double>
void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetExtent const double *  extent  ) 
 

Set/Get the Extent of the array holding the coefficients of the Gaussian kernel computed by the GaussianOperator.

template<class TInputImage, class TOutput = double>
virtual void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetExtent ExtentArrayType  _arg  )  [virtual]
 

Set/Get the Extent of the array holding the coefficients of the Gaussian kernel computed by the GaussianOperator.

template<class TInputImage, class TOutput = double>
virtual void itk::GaussianBlurImageFunction< 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, TOutput >.

template<class TInputImage, class TOutput = double>
virtual void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetMaximumError ErrorArrayType  _arg  )  [virtual]
 

Set/Get the maximum error acceptable for the approximation of the Gaussian kernel with the GaussianOperator.

template<class TInputImage, class TOutput = double>
virtual void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetMaximumKernelWidth int  _arg  )  [virtual]
 

Set/GetMaximumKernelWidth() This value is used by the underling GaussianOperator for computing the number of coefficients to be used in the Gaussian kernel

template<class TInputImage, class TOutput = double>
virtual void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetSigma SigmaArrayType  _arg  )  [virtual]
 

The standard deviation for the discrete Gaussian kernel. Sets the standard deviation independently for each dimension. The default is 1.0 in each dimension. If UseImageSpacing is true (default), 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::GaussianBlurImageFunction< TInputImage, TOutput >::SetSigma const double  sigma  ) 
 

The standard deviation for the discrete Gaussian kernel. Sets the standard deviation independently for each dimension. The default is 1.0 in each dimension. If UseImageSpacing is true (default), 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::GaussianBlurImageFunction< TInputImage, TOutput >::SetSigma const float *  sigma  ) 
 

The standard deviation for the discrete Gaussian kernel. Sets the standard deviation independently for each dimension. The default is 1.0 in each dimension. If UseImageSpacing is true (default), 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::GaussianBlurImageFunction< TInputImage, TOutput >::SetSigma const double *  sigma  ) 
 

The standard deviation for the discrete Gaussian kernel. Sets the standard deviation independently for each dimension. The default is 1.0 in each dimension. If UseImageSpacing is true (default), the units are the physical units of your image. If UseImageSpacing is false then the units are pixels.

template<class TInputImage, class TOutput = double>
virtual void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetUseImageSpacing bool  _arg  )  [virtual]
 

Set/GetUseImageSpacing() This flag is used by the underling GaussianOperator to decide if the image spacing should be used to scale the value of sigma or not. The methods UseImageSpacingOn() and UseImageSpacingOff() provide a similar functionality.

template<class TInputImage, class TOutput = double>
virtual void itk::GaussianBlurImageFunction< TInputImage, TOutput >::UseImageSpacingOff  )  [virtual]
 

Set/GetUseImageSpacing() This flag is used by the underling GaussianOperator to decide if the image spacing should be used to scale the value of sigma or not. The methods UseImageSpacingOn() and UseImageSpacingOff() provide a similar functionality.

template<class TInputImage, class TOutput = double>
virtual void itk::GaussianBlurImageFunction< TInputImage, TOutput >::UseImageSpacingOn  )  [virtual]
 

Set/GetUseImageSpacing() This flag is used by the underling GaussianOperator to decide if the image spacing should be used to scale the value of sigma or not. The methods UseImageSpacingOn() and UseImageSpacingOff() provide a similar functionality.


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:59:45 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000