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 Member Functions | Private Attributes
itk::GaborImageSource< TOutputImage > Class Template Reference

#include <itkGaborImageSource.h>

+ Inheritance diagram for itk::GaborImageSource< TOutputImage >:
+ Collaboration diagram for itk::GaborImageSource< TOutputImage >:

List of all members.

Public Types

typedef FixedArray< double,
itkGetStaticConstMacro(ImageDimension) > 
ArrayType
typedef SmartPointer< const SelfConstPointer
typedef
OutputImageType::DirectionType 
DirectionType
typedef TOutputImage OutputImageType
typedef OutputImageType::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef OutputImageType::PointType PointType
typedef OutputImageType::RegionType RegionType
typedef GaborImageSource Self
typedef RegionType::SizeType SizeType
typedef
OutputImageType::SpacingType 
SpacingType
typedef GenerateImageSource
< TOutputImage > 
Superclass

Public Member Functions

virtual void CalculateImaginaryPartOff ()
virtual void CalculateImaginaryPartOn ()
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const bool & GetCalculateImaginaryPart ()
virtual const double & GetFrequency ()
virtual const ArrayTypeGetMean ()
virtual const char * GetNameOfClass () const
virtual const ArrayTypeGetSigma ()
virtual void SetCalculateImaginaryPart (bool _arg)
virtual void SetFrequency (double _arg)
virtual void SetMean (ArrayType _arg)
virtual void SetSigma (ArrayType _arg)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = OutputImageType::ImageDimension

Protected Member Functions

 GaborImageSource ()
void GenerateData ()
void PrintSelf (std::ostream &os, Indent indent) const

Private Member Functions

 GaborImageSource (const GaborImageSource &)
void operator= (const GaborImageSource &)

Private Attributes

bool m_CalculateImaginaryPart
double m_Frequency
ArrayType m_Mean
double m_PhaseOffset
ArrayType m_Sigma

Detailed Description

template<typename TOutputImage>
class itk::GaborImageSource< TOutputImage >

Generate an n-dimensional image of a Gabor filter.

GaborImageSource generates an image of either the real (i.e. symmetric) or complex (i.e. antisymmetric) part of the Gabor filter with the orientation directed along the x-axis. The GaborKernelFunction is used to evaluate the contribution along the x-axis whereas a non-normalized 1-D Gaussian envelope provides the contribution in each of the remaining N dimensions. Orientation can be manipulated via the Transform classes of the toolkit.

The output image may be of any dimension.

This implementation was contributed as a paper to the Insight Journal http://hdl.handle.net/1926/500

Definition at line 47 of file itkGaborImageSource.h.


Member Typedef Documentation

template<typename TOutputImage >
typedef FixedArray< double, itkGetStaticConstMacro(ImageDimension) > itk::GaborImageSource< TOutputImage >::ArrayType

Type used to store gabor parameters.

Definition at line 80 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef SmartPointer< const Self > itk::GaborImageSource< TOutputImage >::ConstPointer

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 56 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef OutputImageType::DirectionType itk::GaborImageSource< TOutputImage >::DirectionType

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 64 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef TOutputImage itk::GaborImageSource< TOutputImage >::OutputImageType

Output image typedefs

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 59 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef OutputImageType::PixelType itk::GaborImageSource< TOutputImage >::PixelType

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 60 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef SmartPointer< Self > itk::GaborImageSource< TOutputImage >::Pointer

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 55 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef OutputImageType::PointType itk::GaborImageSource< TOutputImage >::PointType

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 63 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef OutputImageType::RegionType itk::GaborImageSource< TOutputImage >::RegionType

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 61 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef GaborImageSource itk::GaborImageSource< TOutputImage >::Self

Standard class typedefs.

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 53 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef RegionType::SizeType itk::GaborImageSource< TOutputImage >::SizeType

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 66 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef OutputImageType::SpacingType itk::GaborImageSource< TOutputImage >::SpacingType

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 62 of file itkGaborImageSource.h.

template<typename TOutputImage >
typedef GenerateImageSource< TOutputImage > itk::GaborImageSource< TOutputImage >::Superclass

Reimplemented from itk::GenerateImageSource< TOutputImage >.

Definition at line 54 of file itkGaborImageSource.h.


Constructor & Destructor Documentation

template<typename TOutputImage >
itk::GaborImageSource< TOutputImage >::GaborImageSource ( ) [protected]
template<typename TOutputImage >
itk::GaborImageSource< TOutputImage >::GaborImageSource ( const GaborImageSource< TOutputImage > &  ) [private]

Member Function Documentation

template<typename TOutputImage >
virtual void itk::GaborImageSource< TOutputImage >::CalculateImaginaryPartOff ( ) [virtual]
template<typename TOutputImage >
virtual void itk::GaborImageSource< TOutputImage >::CalculateImaginaryPartOn ( ) [virtual]
template<typename TOutputImage >
virtual::itk::LightObject::Pointer itk::GaborImageSource< 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 TOutputImage >
void itk::GaborImageSource< TOutputImage >::GenerateData ( ) [protected, virtual]

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TOutputImage >
virtual const bool& itk::GaborImageSource< TOutputImage >::GetCalculateImaginaryPart ( ) [virtual]
template<typename TOutputImage >
virtual const double& itk::GaborImageSource< TOutputImage >::GetFrequency ( ) [virtual]
template<typename TOutputImage >
virtual const ArrayType& itk::GaborImageSource< TOutputImage >::GetMean ( ) [virtual]
template<typename TOutputImage >
virtual const char* itk::GaborImageSource< TOutputImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::GenerateImageSource< TOutputImage >.

template<typename TOutputImage >
virtual const ArrayType& itk::GaborImageSource< TOutputImage >::GetSigma ( ) [virtual]
template<typename TOutputImage >
static Pointer itk::GaborImageSource< TOutputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

template<typename TOutputImage >
void itk::GaborImageSource< TOutputImage >::operator= ( const GaborImageSource< TOutputImage > &  ) [private]
template<typename TOutputImage >
void itk::GaborImageSource< 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::GenerateImageSource< TOutputImage >.

template<typename TOutputImage >
virtual void itk::GaborImageSource< TOutputImage >::SetCalculateImaginaryPart ( bool  _arg) [virtual]
template<typename TOutputImage >
virtual void itk::GaborImageSource< TOutputImage >::SetFrequency ( double  _arg) [virtual]
template<typename TOutputImage >
virtual void itk::GaborImageSource< TOutputImage >::SetMean ( ArrayType  _arg) [virtual]
template<typename TOutputImage >
virtual void itk::GaborImageSource< TOutputImage >::SetSigma ( ArrayType  _arg) [virtual]

Member Data Documentation

template<typename TOutputImage >
const unsigned int itk::GaborImageSource< TOutputImage >::ImageDimension = OutputImageType::ImageDimension [static]

Dimensionality of the output image

Definition at line 76 of file itkGaborImageSource.h.

template<typename TOutputImage >
bool itk::GaborImageSource< TOutputImage >::m_CalculateImaginaryPart [private]

Parameters for the Gabor. Evaluate using the complex part

Definition at line 108 of file itkGaborImageSource.h.

template<typename TOutputImage >
double itk::GaborImageSource< TOutputImage >::m_Frequency [private]

Modulation frequency of the sine or cosine component

Definition at line 111 of file itkGaborImageSource.h.

template<typename TOutputImage >
ArrayType itk::GaborImageSource< TOutputImage >::m_Mean [private]

The mean in each direction.

Definition at line 120 of file itkGaborImageSource.h.

template<typename TOutputImage >
double itk::GaborImageSource< TOutputImage >::m_PhaseOffset [private]

Evaluate using a stretched gabor filter (ensure zero dc response)

Definition at line 114 of file itkGaborImageSource.h.

template<typename TOutputImage >
ArrayType itk::GaborImageSource< TOutputImage >::m_Sigma [private]

The standard deviation in each direction.

Definition at line 117 of file itkGaborImageSource.h.


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