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

itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage > Class Template Reference
[Image Gradient FiltersSinglethreaded Filters]

Computes the gradient of an image by convolution with the first derivative of a Gaussian. More...

#include <itkGradientRecursiveGaussianImageFilter.h>

Inheritance diagram for itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef GradientRecursiveGaussianImageFilter Self
typedef ImageToImageFilter<
TInputImage, TOutputImage > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage InputImageType
typedef TInputImage::PixelType PixelType
typedef NumericTraits< PixelType
>::RealType 
RealType
typedef float InternalRealType
typedef Image< InternalRealType,
itkGetStaticConstMacro(ImageDimension) 
RealImageType )
typedef NthElementImageAdaptor<
TOutputImage, InternalRealType
OutputImageAdaptorType
typedef OutputImageAdaptorType::Pointer OutputImageAdaptorPointer
typedef RecursiveGaussianImageFilter<
RealImageType, RealImageType
GaussianFilterType
typedef RecursiveGaussianImageFilter<
InputImageType, RealImageType
DerivativeFilterType
typedef GaussianFilterType::Pointer GaussianFilterPointer
typedef DerivativeFilterType::Pointer DerivativeFilterPointer
typedef TOutputImage::Pointer OutputImagePointer
typedef TOutputImage OutputImageType
typedef OutputImageType::PixelType OutputPixelType
typedef PixelTraits< OutputPixelType
>::ValueType 
OutputComponentType
typedef MemberCommand< SelfCommandType
typedef CommandType::Pointer CommandPointer

Public Member Functions

 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
void SetSigma (RealType sigma)
virtual void GenerateInputRequestedRegion () throw (InvalidRequestedRegionError)
void SetNormalizeAcrossScale (bool normalizeInScaleSpace)
virtual bool GetNormalizeAcrossScale ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 GradientRecursiveGaussianImageFilter ()
virtual ~GradientRecursiveGaussianImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
void GenerateData (void)
void EnlargeOutputRequestedRegion (DataObject *output)
void ReportProgress (const Object *object, const EventObject &event)

Detailed Description

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
class itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >

Computes the gradient of an image by convolution with the first derivative of a Gaussian.

This filter is implemented using the recursive gaussian filters

Definition at line 49 of file itkGradientRecursiveGaussianImageFilter.h.


Member Typedef Documentation

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef CommandType::Pointer itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::CommandPointer
 

Definition at line 119 of file itkGradientRecursiveGaussianImageFilter.h.

Referenced by itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::~GradientRecursiveGaussianImageFilter().

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef MemberCommand< Self > itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::CommandType
 

Command for observing progress of internal pipeline filters Definition at line 118 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef SmartPointer<const Self> itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::ConstPointer
 

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 57 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef DerivativeFilterType::Pointer itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::DerivativeFilterPointer
 

Pointer to a derivative filter. Definition at line 106 of file itkGradientRecursiveGaussianImageFilter.h.

Referenced by itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::~GradientRecursiveGaussianImageFilter().

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef RecursiveGaussianImageFilter< InputImageType, RealImageType > itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::DerivativeFilterType
 

Derivative filter type, it will be the first in the pipeline Definition at line 99 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef GaussianFilterType::Pointer itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GaussianFilterPointer
 

Pointer to a gaussian filter. Definition at line 103 of file itkGradientRecursiveGaussianImageFilter.h.

Referenced by itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::~GradientRecursiveGaussianImageFilter().

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef RecursiveGaussianImageFilter< RealImageType, RealImageType > itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GaussianFilterType
 

Smoothing filter type Definition at line 93 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef TInputImage itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::InputImageType
 

Pixel Type of the input image

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 61 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef float itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::InternalRealType
 

Define the image type for internal computations RealType is usually 'double' in NumericTraits. Here we prefer float in order to save memory. Definition at line 74 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef PixelTraits<OutputPixelType>::ValueType itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputComponentType
 

Definition at line 115 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef OutputImageAdaptorType::Pointer itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImageAdaptorPointer
 

Definition at line 87 of file itkGradientRecursiveGaussianImageFilter.h.

Referenced by itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::~GradientRecursiveGaussianImageFilter().

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef NthElementImageAdaptor< TOutputImage, InternalRealType > itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImageAdaptorType
 

Output Image Nth Element Adaptor This adaptor allows to use conventional scalar smoothing filters to compute each one of the components of the gradient image pixels. Definition at line 86 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef TOutputImage::Pointer itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImagePointer
 

Pointer to the Output Image

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 109 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef TOutputImage itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImageType
 

Type of the output Image

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 113 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef OutputImageType::PixelType itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputPixelType
 

Definition at line 114 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef TInputImage::PixelType itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::PixelType
 

Definition at line 62 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef SmartPointer<Self> itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::Pointer
 

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 56 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef Image<InternalRealType, itkGetStaticConstMacro(ImageDimension) itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::RealImageType)
 

Definition at line 76 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef NumericTraits<PixelType>::RealType itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::RealType
 

Definition at line 63 of file itkGradientRecursiveGaussianImageFilter.h.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef GradientRecursiveGaussianImageFilter itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::Self
 

Standard class typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 54 of file itkGradientRecursiveGaussianImageFilter.h.

Referenced by itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::~GradientRecursiveGaussianImageFilter().

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
typedef ImageToImageFilter<TInputImage,TOutputImage> itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::Superclass
 

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 55 of file itkGradientRecursiveGaussianImageFilter.h.


Constructor & Destructor Documentation

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GradientRecursiveGaussianImageFilter  )  [protected]
 

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
virtual itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::~GradientRecursiveGaussianImageFilter  )  [inline, protected, virtual]
 

Definition at line 141 of file itkGradientRecursiveGaussianImageFilter.h.

References itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::CommandPointer, itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::DerivativeFilterPointer, itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GaussianFilterPointer, itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImageAdaptorPointer, and itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::Self.


Member Function Documentation

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
void itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion DataObject output  )  [protected, virtual]
 

Give the process object a chance to indictate that it will produce more output than it was requested to produce. For example, many imaging filters must compute the entire output at once or can only produce output in complete slices. Such filters cannot handle smaller requested regions. These filters must provide an implementation of this method, setting the output requested region to the size they will produce. By default, a process object does not modify the size of the output requested region.

Reimplemented from itk::ProcessObject.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
void itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GenerateData void   )  [protected, virtual]
 

Generate Data

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
virtual void itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion  )  throw (InvalidRequestedRegionError) [virtual]
 

GradientRecursiveGaussianImageFilter needs all of the input to produce an output. Therefore, GradientRecursiveGaussianImageFilter needs to provide an implementation for GenerateInputRequestedRegion in order to inform the pipeline execution model.

See also:
ImageToImageFilter::GenerateInputRequestedRegion()

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
virtual bool itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GetNormalizeAcrossScale  )  [virtual]
 

Define which normalization factor will be used for the Gaussian

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
TInputImage::ImageDimension 
 

Image dimension.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
Pointer itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
void itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::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::ImageToImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
void itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::ReportProgress const Object object,
const EventObject event
[protected]
 

Compute progress by weighting the contributions of the internal filters

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
void itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SetNormalizeAcrossScale bool  normalizeInScaleSpace  ) 
 

Define which normalization factor will be used for the Gaussian

template<typename TInputImage, typename TOutputImage = Image< CovariantVector< typename NumericTraits< typename TInputImage::PixelType>::RealType, ::itk::GetImageDimension<TInputImage>::ImageDimension >, ::itk::GetImageDimension<TInputImage>::ImageDimension >>
void itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SetSigma RealType  sigma  ) 
 

Set Sigma value. Sigma is measured in the units of image spacing.


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:44:51 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000