![]() |
ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkGaborKernelFunction.h>
Gabor kernel used for various computer vision tasks.
This class encapsulates a complex Gabor kernel used for various computer vision tasks such as texture segmentation, motion analysis, and object recognition. It is essentially a complex sinusoid enveloped within a Gaussian. See the discussion in
Andreas Klein, Forester Lee, and Amir A. Amini, "Quantitative Coronary Angiography with Deformable Spline Models", IEEE-TMI 16(5):468-482, October 1997.
for a basic discussion including additional references.
This implementation was contributed as a paper to the Insight Journal https://hdl.handle.net/1926/500
Definition at line 50 of file itkGaborKernelFunction.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
TRealValueType | Evaluate (const TRealValueType &u) const override |
virtual void | SetSigma (TRealValueType _arg) |
virtual TRealValueType | GetSigma () const |
virtual void | SetFrequency (TRealValueType _arg) |
virtual TRealValueType | GetFrequency () const |
virtual void | SetPhaseOffset (TRealValueType _arg) |
virtual TRealValueType | GetPhaseOffset () const |
virtual void | SetCalculateImaginaryPart (bool _arg) |
virtual bool | GetCalculateImaginaryPart () const |
virtual void | CalculateImaginaryPartOn () |
virtual void | CalculateImaginaryPartOff () |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
GaborKernelFunction () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
~GaborKernelFunction () override | |
![]() | |
KernelFunctionBase () | |
virtual | ~KernelFunctionBase () override |
![]() | |
FunctionBase () | |
~FunctionBase () override | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () override |
![]() | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
bool | m_CalculateImaginaryPart |
TRealValueType | m_Frequency |
TRealValueType | m_PhaseOffset |
TRealValueType | m_Sigma |
Additional Inherited Members | |
![]() | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< Self > itk::GaborKernelFunction< TRealValueType >::Pointer |
Definition at line 56 of file itkGaborKernelFunction.h.
typedef GaborKernelFunction itk::GaborKernelFunction< TRealValueType >::Self |
Standard class typedefs.
Definition at line 54 of file itkGaborKernelFunction.h.
typedef KernelFunctionBase<TRealValueType> itk::GaborKernelFunction< TRealValueType >::Superclass |
Definition at line 55 of file itkGaborKernelFunction.h.
|
inlineprotected |
Definition at line 106 of file itkGaborKernelFunction.h.
References itk::GaborKernelFunction< TRealValueType >::m_CalculateImaginaryPart, itk::GaborKernelFunction< TRealValueType >::m_Frequency, itk::GaborKernelFunction< TRealValueType >::m_PhaseOffset, itk::GaborKernelFunction< TRealValueType >::m_Sigma, itk::NumericTraits< T >::OneValue(), and itk::NumericTraits< T >::ZeroValue().
|
inlineoverrideprotected |
Definition at line 113 of file itkGaborKernelFunction.h.
|
virtual |
Set/Get whether the kernel function evaluation is performed using the complex part. Default is false.
|
virtual |
Set/Get whether the kernel function evaluation is performed using the complex part. Default is false.
|
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.
|
inlineoverridevirtual |
Evaluate the function.
Implements itk::KernelFunctionBase< TRealValueType >.
Definition at line 65 of file itkGaborKernelFunction.h.
References itk::GaborKernelFunction< TRealValueType >::m_CalculateImaginaryPart, itk::GaborKernelFunction< TRealValueType >::m_Frequency, itk::GaborKernelFunction< TRealValueType >::m_PhaseOffset, itk::GaborKernelFunction< TRealValueType >::m_Sigma, itk::Math::pi, and itk::Math::sqr().
|
virtual |
Set/Get whether the kernel function evaluation is performed using the complex part. Default is false.
Referenced by itk::GaborKernelFunction< TRealValueType >::PrintSelf().
|
virtual |
Set/Get the modulation frequency of the sine or cosine component.
Referenced by itk::GaborKernelFunction< TRealValueType >::PrintSelf().
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::KernelFunctionBase< TRealValueType >.
|
virtual |
Set/Get the phase offset of the sine or cosine component .
Referenced by itk::GaborKernelFunction< TRealValueType >::PrintSelf().
|
virtual |
Evaluate the function.
Referenced by itk::GaborKernelFunction< TRealValueType >::PrintSelf().
|
static |
Method for creation through the object factory.
|
inlineoverrideprotectedvirtual |
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::KernelFunctionBase< TRealValueType >.
Definition at line 114 of file itkGaborKernelFunction.h.
References itk::GaborKernelFunction< TRealValueType >::GetCalculateImaginaryPart(), itk::GaborKernelFunction< TRealValueType >::GetFrequency(), itk::GaborKernelFunction< TRealValueType >::GetPhaseOffset(), itk::GaborKernelFunction< TRealValueType >::GetSigma(), and itk::KernelFunctionBase< TRealValueType >::PrintSelf().
|
virtual |
Set/Get whether the kernel function evaluation is performed using the complex part. Default is false.
|
virtual |
Set/Get the modulation frequency of the sine or cosine component.
|
virtual |
Set/Get the phase offset of the sine or cosine component .
|
virtual |
Set/Get the standard deviation of the Gaussian envelope.
|
private |
Definition at line 133 of file itkGaborKernelFunction.h.
Referenced by itk::GaborKernelFunction< TRealValueType >::Evaluate(), and itk::GaborKernelFunction< TRealValueType >::GaborKernelFunction().
|
private |
Definition at line 129 of file itkGaborKernelFunction.h.
Referenced by itk::GaborKernelFunction< TRealValueType >::Evaluate(), and itk::GaborKernelFunction< TRealValueType >::GaborKernelFunction().
|
private |
Definition at line 131 of file itkGaborKernelFunction.h.
Referenced by itk::GaborKernelFunction< TRealValueType >::Evaluate(), and itk::GaborKernelFunction< TRealValueType >::GaborKernelFunction().
|
private |
Definition at line 125 of file itkGaborKernelFunction.h.
Referenced by itk::GaborKernelFunction< TRealValueType >::Evaluate(), and itk::GaborKernelFunction< TRealValueType >::GaborKernelFunction().