ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::GaussianDistanceKernel< TRealValueType > Class Template Reference

#include <itkVectorFieldPCA.h>

Detailed Description

template<typename TRealValueType = double>
class itk::GaussianDistanceKernel< TRealValueType >

Definition at line 55 of file itkVectorFieldPCA.h.

+ Inheritance diagram for itk::GaussianDistanceKernel< TRealValueType >:
+ Collaboration diagram for itk::GaussianDistanceKernel< TRealValueType >:

Public Types

using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = GaussianDistanceKernel
 
using Superclass = KernelFunctionBase<TRealValueType>
 
- Public Types inherited from itk::KernelFunctionBase< double >
using ConstPointer
 
using Pointer
 
using RealType
 
using Self
 
using Superclass
 
- Public Types inherited from itk::FunctionBase< double, double >
using ConstPointer
 
using InputType
 
using OutputType
 
using Pointer
 
using Self
 
using Superclass
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightObject
 

Public Member Functions

virtual::itk::LightObject::Pointer CreateAnother () const
 
TRealValueType Evaluate (const TRealValueType &u) const override
 
virtual double GetKernelSigma ()
 
virtual const char * GetNameOfClass () const
 
void SetKernelSigma (double s)
 
- Public Member Functions inherited from itk::KernelFunctionBase< double >
double Evaluate (const double &u) const override=0
 
double Evaluate (const double &u) const override=0
 
- Public Member Functions inherited from itk::Object
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
 
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
 
- Public Member Functions inherited from itk::LightObject
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 Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 GaussianDistanceKernel ()=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~GaussianDistanceKernel () override=default
 
- Protected Member Functions inherited from itk::KernelFunctionBase< double >
 KernelFunctionBase ()=default
 
 KernelFunctionBase ()=default
 
 ~KernelFunctionBase () override=default
 
 ~KernelFunctionBase () override=default
 
- Protected Member Functions inherited from itk::FunctionBase< double, double >
 FunctionBase ()=default
 
 ~FunctionBase () override=default
 
- Protected Member Functions inherited from itk::Object
 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
 
- Protected Member Functions inherited from itk::LightObject
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

double m_KernelSigma { 1.0 }
 
double m_OneOverMinusTwoSigmaSqr { -0.5 }
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstPointer

template<typename TRealValueType = double>
using itk::GaussianDistanceKernel< TRealValueType >::ConstPointer = SmartPointer<const Self>

Definition at line 62 of file itkVectorFieldPCA.h.

◆ Pointer

template<typename TRealValueType = double>
using itk::GaussianDistanceKernel< TRealValueType >::Pointer = SmartPointer<Self>

Definition at line 61 of file itkVectorFieldPCA.h.

◆ Self

template<typename TRealValueType = double>
using itk::GaussianDistanceKernel< TRealValueType >::Self = GaussianDistanceKernel

Standard class type alias.

Definition at line 59 of file itkVectorFieldPCA.h.

◆ Superclass

template<typename TRealValueType = double>
using itk::GaussianDistanceKernel< TRealValueType >::Superclass = KernelFunctionBase<TRealValueType>

Definition at line 60 of file itkVectorFieldPCA.h.

Constructor & Destructor Documentation

◆ GaussianDistanceKernel()

template<typename TRealValueType = double>
itk::GaussianDistanceKernel< TRealValueType >::GaussianDistanceKernel ( )
protecteddefault

Referenced by GetNameOfClass().

◆ ~GaussianDistanceKernel()

template<typename TRealValueType = double>
itk::GaussianDistanceKernel< TRealValueType >::~GaussianDistanceKernel ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

template<typename TRealValueType = double>
virtual::itk::LightObject::Pointer itk::GaussianDistanceKernel< TRealValueType >::CreateAnother ( ) 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::LightObject.

◆ Evaluate()

template<typename TRealValueType = double>
TRealValueType itk::GaussianDistanceKernel< TRealValueType >::Evaluate ( const TRealValueType & u) const
inlineoverride

Evaluate the function. Input is the squared distance.

Definition at line 85 of file itkVectorFieldPCA.h.

References m_OneOverMinusTwoSigmaSqr.

◆ GetKernelSigma()

template<typename TRealValueType = double>
virtual double itk::GaussianDistanceKernel< TRealValueType >::GetKernelSigma ( )
virtual

◆ GetNameOfClass()

template<typename TRealValueType = double>
virtual const char * itk::GaussianDistanceKernel< TRealValueType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::KernelFunctionBase< double >.

References GaussianDistanceKernel().

◆ New()

template<typename TRealValueType = double>
static Pointer itk::GaussianDistanceKernel< TRealValueType >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TRealValueType = double>
void itk::GaussianDistanceKernel< TRealValueType >::PrintSelf ( std::ostream & os,
Indent indent ) const
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 94 of file itkVectorFieldPCA.h.

References itk::LightObject::PrintSelf().

◆ SetKernelSigma()

template<typename TRealValueType = double>
void itk::GaussianDistanceKernel< TRealValueType >::SetKernelSigma ( double s)
inline

Set and get the Kernel sigma.

Definition at line 74 of file itkVectorFieldPCA.h.

References m_KernelSigma, and m_OneOverMinusTwoSigmaSqr.

Member Data Documentation

◆ m_KernelSigma

template<typename TRealValueType = double>
double itk::GaussianDistanceKernel< TRealValueType >::m_KernelSigma { 1.0 }
private

Definition at line 100 of file itkVectorFieldPCA.h.

Referenced by SetKernelSigma().

◆ m_OneOverMinusTwoSigmaSqr

template<typename TRealValueType = double>
double itk::GaussianDistanceKernel< TRealValueType >::m_OneOverMinusTwoSigmaSqr { -0.5 }
private

Definition at line 101 of file itkVectorFieldPCA.h.

Referenced by Evaluate(), and SetKernelSigma().


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