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

#include <itkGradientMagnitudeRecursiveGaussianImageFilter.h>

+ Inheritance diagram for itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >:

List of all members.

Classes

class  SqrSpacing

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
CumulativeImageType::Pointer 
CumulativeImagePointer
typedef Image
< InternalRealType,
itkGetStaticConstMacro(ImageDimension) > 
CumulativeImageType
typedef
DerivativeFilterType::Pointer 
DerivativeFilterPointer
typedef
RecursiveGaussianImageFilter
< InputImageType,
RealImageType
DerivativeFilterType
typedef GaussianFilterType::Pointer GaussianFilterPointer
typedef
RecursiveGaussianImageFilter
< RealImageType, RealImageType
GaussianFilterType
typedef TInputImage InputImageType
typedef float InternalRealType
typedef TOutputImage::Pointer OutputImagePointer
typedef TOutputImage OutputImageType
typedef OutputImageType::PixelType OutputPixelType
typedef InputImageType::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef Image
< InternalRealType,
itkGetStaticConstMacro(ImageDimension) > 
RealImageType
typedef NumericTraits
< PixelType >::RealType 
RealType
typedef
GradientMagnitudeRecursiveGaussianImageFilter 
Self
typedef SqrtFilterType::Pointer SqrtFilterPointer
typedef SqrtImageFilter
< RealImageType, TOutputImage > 
SqrtFilterType
typedef InPlaceImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
void SetNumberOfThreads (ThreadIdType nb)
 typedef (Concept::HasNumericTraits< PixelType >) InputHasNumericTraitsCheck
void SetSigma (RealType sigma)
RealType GetSigma ()
void SetNormalizeAcrossScale (bool normalizeInScaleSpace)
virtual bool GetNormalizeAcrossScale () const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension

Protected Member Functions

void EnlargeOutputRequestedRegion (DataObject *output)
void GenerateData (void)
virtual void GenerateInputRequestedRegion () throw ( InvalidRequestedRegionError )
 GradientMagnitudeRecursiveGaussianImageFilter ()
virtual ~GradientMagnitudeRecursiveGaussianImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Private Types

typedef
SqrSpacingFilterType::Pointer 
SqrSpacingFilterPointer
typedef
BinaryFunctorImageFilter
< RealImageType, RealImageType,
RealImageType, SqrSpacing
SqrSpacingFilterType

Private Member Functions

 GradientMagnitudeRecursiveGaussianImageFilter (const Self &)
void operator= (const Self &)

Private Attributes

DerivativeFilterPointer m_DerivativeFilter
bool m_NormalizeAcrossScale
GaussianFilterPointer m_SmoothingFilters [ImageDimension-1]
SqrSpacingFilterPointer m_SqrSpacingFilter
SqrtFilterPointer m_SqrtFilter

Detailed Description

template<typename TInputImage, typename TOutputImage = TInputImage>
class itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >

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

This filter is implemented using the recursive gaussian filters

Wiki Examples:

Definition at line 50 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.


Member Typedef Documentation

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef SmartPointer< const Self > itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::ConstPointer
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef CumulativeImageType::Pointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::CumulativeImagePointer
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef Image< InternalRealType, itkGetStaticConstMacro(ImageDimension) > itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::CumulativeImageType

Auxiliary image for holding the values of the squared gradient components

Definition at line 114 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef DerivativeFilterType::Pointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::DerivativeFilterPointer

Pointer to a derivative filter.

Definition at line 100 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef RecursiveGaussianImageFilter< InputImageType, RealImageType > itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::DerivativeFilterType

Derivative filter type, it will be the first in the pipeline

Definition at line 88 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef GaussianFilterType::Pointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GaussianFilterPointer

Pointer to a gaussian filter.

Definition at line 97 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef RecursiveGaussianImageFilter< RealImageType, RealImageType > itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GaussianFilterType

Smoothing filter type

Definition at line 82 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TInputImage itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::InputImageType

Pixel Type of the input image

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

Definition at line 61 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef float itk::GradientMagnitudeRecursiveGaussianImageFilter< 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 itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TOutputImage::Pointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImagePointer

Pointer to the Output Image

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

Definition at line 105 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TOutputImage itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImageType
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef OutputImageType::PixelType itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputPixelType
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef InputImageType::PixelType itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::PixelType
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef SmartPointer< Self > itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::Pointer
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef Image< InternalRealType, itkGetStaticConstMacro(ImageDimension) > itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::RealImageType
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef NumericTraits< PixelType >::RealType itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::RealType
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef GradientMagnitudeRecursiveGaussianImageFilter itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

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

Definition at line 55 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef SqrSpacingFilterType::Pointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SqrSpacingFilterPointer [private]
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef BinaryFunctorImageFilter< RealImageType, RealImageType, RealImageType, SqrSpacing > itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SqrSpacingFilterType [private]
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef SqrtFilterType::Pointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SqrtFilterPointer
template<typename TInputImage , typename TOutputImage = TInputImage>
typedef SqrtImageFilter< RealImageType, TOutputImage > itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SqrtFilterType

Smoothing filter type

Definition at line 94 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef InPlaceImageFilter< TInputImage, TOutputImage > itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GradientMagnitudeRecursiveGaussianImageFilter ( ) [protected]

End concept checking

template<typename TInputImage , typename TOutputImage = TInputImage>
virtual itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::~GradientMagnitudeRecursiveGaussianImageFilter ( ) [inline, protected, virtual]

End concept checking

Definition at line 147 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GradientMagnitudeRecursiveGaussianImageFilter ( const Self ) [private]

Member Function Documentation

template<typename TInputImage , typename TOutputImage = TInputImage>
virtual::itk::LightObject::Pointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::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<typename TInputImage , typename TOutputImage = TInputImage>
void itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion ( DataObject output) [protected, virtual]

GradientMagnitudeRecursiveGaussianImageFilter produces all of the output. Therefore, it needs to provide an implementation of EnlargeOutputRequestedRegion().

Reimplemented from itk::ProcessObject.

template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GenerateData ( void  ) [protected, virtual]

Generate Data

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TInputImage , typename TOutputImage = TInputImage>
virtual void itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( ) throw ( InvalidRequestedRegionError ) [protected, virtual]

GradientMagnitudeRecursiveGaussianImageFilter needs all of the input to produce an output. Therefore, GradientMagnitudeRecursiveGaussianImageFilter 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 = TInputImage>
virtual const char* itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Runtime information support.

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

template<typename TInputImage , typename TOutputImage = TInputImage>
virtual bool itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GetNormalizeAcrossScale ( ) const [virtual]

Define which normalization factor will be used for the Gaussian

See also:
RecursiveGaussianImageFilter::SetNormalizeAcrossScale
template<typename TInputImage , typename TOutputImage = TInputImage>
RealType itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GetSigma ( )

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

template<typename TInputImage , typename TOutputImage = TInputImage>
static Pointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

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

template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

End concept checking

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

template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SetNormalizeAcrossScale ( bool  normalizeInScaleSpace)

Define which normalization factor will be used for the Gaussian

See also:
RecursiveGaussianImageFilter::SetNormalizeAcrossScale
template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SetNumberOfThreads ( ThreadIdType  _arg) [virtual]

Get/Set the number of threads to create when executing.

Reimplemented from itk::ProcessObject.

template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SetSigma ( RealType  sigma)

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

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< PixelType )

Begin concept checking This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< PixelType > )


Member Data Documentation

template<typename TInputImage , typename TOutputImage = TInputImage>
const unsigned int itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension [static]

Image dimension.

Definition at line 66 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
DerivativeFilterPointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::m_DerivativeFilter [private]
template<typename TInputImage , typename TOutputImage = TInputImage>
bool itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::m_NormalizeAcrossScale [private]

Normalize the image across scale space

Definition at line 207 of file itkGradientMagnitudeRecursiveGaussianImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
GaussianFilterPointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::m_SmoothingFilters[ImageDimension-1] [private]
template<typename TInputImage , typename TOutputImage = TInputImage>
SqrSpacingFilterPointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::m_SqrSpacingFilter [private]
template<typename TInputImage , typename TOutputImage = TInputImage>
SqrtFilterPointer itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >::m_SqrtFilter [private]

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