#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 [60] for a basic discussion including additional references.
This implementation was contributed as a paper to the Insight Journal https://doi.org/10.54294/dhogdz
Definition at line 46 of file itkGaborKernelFunction.h.
Public Types | |
using | Pointer = SmartPointer<Self> |
using | Self = GaborKernelFunction |
using | Superclass = KernelFunctionBase<TRealValueType> |
![]() | |
using | ConstPointer |
using | ConstPointer |
using | Pointer |
using | Pointer |
using | RealType |
using | RealType |
using | Self |
using | Self |
using | Superclass |
using | Superclass |
![]() | |
using | ConstPointer |
using | InputType |
using | OutputType |
using | Pointer |
using | Self |
using | Superclass |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = LightObject |
Public Member Functions | |
virtual::itk::LightObject::Pointer | CreateAnother () const |
const char * | GetNameOfClass () const override |
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 () |
![]() | |
const char * | GetNameOfClass () const override |
const char * | GetNameOfClass () const override |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
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 |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
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 val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
GaborKernelFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~GaborKernelFunction () override=default | |
![]() | |
KernelFunctionBase ()=default | |
KernelFunctionBase ()=default | |
~KernelFunctionBase () override=default | |
~KernelFunctionBase () override=default | |
![]() | |
FunctionBase ()=default | |
FunctionBase ()=default | |
~FunctionBase () override=default | |
~FunctionBase () override=default | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~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 | |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::GaborKernelFunction< TRealValueType >::Pointer = SmartPointer<Self> |
Definition at line 54 of file itkGaborKernelFunction.h.
using itk::GaborKernelFunction< TRealValueType >::Self = GaborKernelFunction |
Standard class type aliases.
Definition at line 52 of file itkGaborKernelFunction.h.
using itk::GaborKernelFunction< TRealValueType >::Superclass = KernelFunctionBase<TRealValueType> |
Definition at line 53 of file itkGaborKernelFunction.h.
|
inlineprotected |
Definition at line 102 of file itkGaborKernelFunction.h.
References m_CalculateImaginaryPart, m_Frequency, m_PhaseOffset, and m_Sigma.
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
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::LightObject.
|
inlineoverridevirtual |
Evaluate the function.
Implements itk::KernelFunctionBase< TRealValueType >.
Definition at line 64 of file itkGaborKernelFunction.h.
References m_CalculateImaginaryPart, m_Frequency, m_PhaseOffset, m_Sigma, and itk::Math::pi.
|
virtual |
Set/Get whether the kernel function evaluation is performed using the complex part. Default is false.
Referenced by PrintSelf().
|
virtual |
Set/Get the modulation frequency of the sine or cosine component.
Referenced by PrintSelf().
|
overridevirtual |
Reimplemented from itk::FunctionBase< TRealValueType, TRealValueType >.
References GaborKernelFunction().
|
virtual |
Set/Get the phase offset of the sine or cosine component .
Referenced by PrintSelf().
|
virtual |
Set/Get the standard deviation of the Gaussian envelope.
Referenced by 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::LightObject.
Definition at line 111 of file itkGaborKernelFunction.h.
References GetCalculateImaginaryPart(), GetFrequency(), GetPhaseOffset(), GetSigma(), and itk::LightObject::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 128 of file itkGaborKernelFunction.h.
Referenced by Evaluate(), and GaborKernelFunction().
|
private |
Definition at line 124 of file itkGaborKernelFunction.h.
Referenced by Evaluate(), and GaborKernelFunction().
|
private |
Definition at line 126 of file itkGaborKernelFunction.h.
Referenced by Evaluate(), and GaborKernelFunction().
|
private |
Definition at line 122 of file itkGaborKernelFunction.h.
Referenced by Evaluate(), and GaborKernelFunction().