ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkGaborImageSource.h>
Public Types | |
typedef FixedArray< double, itkGetStaticConstMacro(ImageDimension) > | ArrayType |
typedef SmartPointer< const Self > | ConstPointer |
typedef OutputImageType::DirectionType | DirectionType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
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 ArrayType & | GetMean () |
virtual const char * | GetNameOfClass () const |
virtual const ArrayType & | GetSigma () |
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 |
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.
typedef FixedArray< double, itkGetStaticConstMacro(ImageDimension) > itk::GaborImageSource< TOutputImage >::ArrayType |
Type used to store gabor parameters.
Definition at line 80 of file itkGaborImageSource.h.
typedef SmartPointer< const Self > itk::GaborImageSource< TOutputImage >::ConstPointer |
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 56 of file itkGaborImageSource.h.
typedef OutputImageType::DirectionType itk::GaborImageSource< TOutputImage >::DirectionType |
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 64 of file itkGaborImageSource.h.
typedef TOutputImage itk::GaborImageSource< TOutputImage >::OutputImageType |
Output image typedefs
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 59 of file itkGaborImageSource.h.
typedef OutputImageType::PixelType itk::GaborImageSource< TOutputImage >::PixelType |
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 60 of file itkGaborImageSource.h.
typedef SmartPointer< Self > itk::GaborImageSource< TOutputImage >::Pointer |
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 55 of file itkGaborImageSource.h.
typedef OutputImageType::PointType itk::GaborImageSource< TOutputImage >::PointType |
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 63 of file itkGaborImageSource.h.
typedef OutputImageType::RegionType itk::GaborImageSource< TOutputImage >::RegionType |
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 61 of file itkGaborImageSource.h.
typedef GaborImageSource itk::GaborImageSource< TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 53 of file itkGaborImageSource.h.
typedef RegionType::SizeType itk::GaborImageSource< TOutputImage >::SizeType |
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 66 of file itkGaborImageSource.h.
typedef OutputImageType::SpacingType itk::GaborImageSource< TOutputImage >::SpacingType |
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 62 of file itkGaborImageSource.h.
typedef GenerateImageSource< TOutputImage > itk::GaborImageSource< TOutputImage >::Superclass |
Reimplemented from itk::GenerateImageSource< TOutputImage >.
Definition at line 54 of file itkGaborImageSource.h.
itk::GaborImageSource< TOutputImage >::GaborImageSource | ( | ) | [protected] |
itk::GaborImageSource< TOutputImage >::GaborImageSource | ( | const GaborImageSource< TOutputImage > & | ) | [private] |
virtual void itk::GaborImageSource< TOutputImage >::CalculateImaginaryPartOff | ( | ) | [virtual] |
virtual void itk::GaborImageSource< TOutputImage >::CalculateImaginaryPartOn | ( | ) | [virtual] |
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.
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.
Reimplemented from itk::ImageSource< TOutputImage >.
virtual const bool& itk::GaborImageSource< TOutputImage >::GetCalculateImaginaryPart | ( | ) | [virtual] |
virtual const double& itk::GaborImageSource< TOutputImage >::GetFrequency | ( | ) | [virtual] |
virtual const ArrayType& itk::GaborImageSource< TOutputImage >::GetMean | ( | ) | [virtual] |
virtual const char* itk::GaborImageSource< TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::GenerateImageSource< TOutputImage >.
virtual const ArrayType& itk::GaborImageSource< TOutputImage >::GetSigma | ( | ) | [virtual] |
static Pointer itk::GaborImageSource< TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::GaborImageSource< TOutputImage >::operator= | ( | const GaborImageSource< TOutputImage > & | ) | [private] |
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 >.
virtual void itk::GaborImageSource< TOutputImage >::SetCalculateImaginaryPart | ( | bool | _arg | ) | [virtual] |
virtual void itk::GaborImageSource< TOutputImage >::SetFrequency | ( | double | _arg | ) | [virtual] |
virtual void itk::GaborImageSource< TOutputImage >::SetMean | ( | ArrayType | _arg | ) | [virtual] |
virtual void itk::GaborImageSource< TOutputImage >::SetSigma | ( | ArrayType | _arg | ) | [virtual] |
const unsigned int itk::GaborImageSource< TOutputImage >::ImageDimension = OutputImageType::ImageDimension [static] |
Dimensionality of the output image
Definition at line 76 of file itkGaborImageSource.h.
bool itk::GaborImageSource< TOutputImage >::m_CalculateImaginaryPart [private] |
Parameters for the Gabor. Evaluate using the complex part
Definition at line 108 of file itkGaborImageSource.h.
double itk::GaborImageSource< TOutputImage >::m_Frequency [private] |
Modulation frequency of the sine or cosine component
Definition at line 111 of file itkGaborImageSource.h.
ArrayType itk::GaborImageSource< TOutputImage >::m_Mean [private] |
The mean in each direction.
Definition at line 120 of file itkGaborImageSource.h.
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.
ArrayType itk::GaborImageSource< TOutputImage >::m_Sigma [private] |
The standard deviation in each direction.
Definition at line 117 of file itkGaborImageSource.h.