ITK
6.0.0
Insight Toolkit
|
#include <itkBSplineKernelFunction.h>
BSpline kernel used for density estimation and nonparametric regression.
This class encapsulates BSpline kernel for density estimation or nonparametric regression. See documentation for KernelFunctionBase for more details.
This class is templated over the spline order.
Definition at line 43 of file itkBSplineKernelFunction.h.
Classes | |
struct | Dispatch |
struct | DispatchBase |
Public Member Functions | |
TRealValueType | Evaluate (const TRealValueType &u) const override |
const char * | GetNameOfClass () const override |
Public Member Functions inherited from itk::KernelFunctionBase< TRealValueType > | |
const char * | GetNameOfClass () const override |
Public Member Functions inherited from itk::FunctionBase< TRealValueType, TRealValueType > | |
const char * | GetNameOfClass () const override |
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 TRealValueType | FastEvaluate (const TRealValueType u) |
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 () |
Static Public Attributes | |
static constexpr unsigned int | SplineOrder = VSplineOrder |
Protected Member Functions | |
BSplineKernelFunction ()=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~BSplineKernelFunction () override=default | |
Protected Member Functions inherited from itk::KernelFunctionBase< TRealValueType > | |
KernelFunctionBase ()=default | |
~KernelFunctionBase () override=default | |
Protected Member Functions inherited from itk::FunctionBase< TRealValueType, TRealValueType > | |
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 () |
Static Private Member Functions | |
static TRealValueType | Evaluate (const Dispatch< 0 > &, const TRealValueType &u) |
static TRealValueType | Evaluate (const Dispatch< 1 > &, const TRealValueType &u) |
static TRealValueType | Evaluate (const Dispatch< 2 > &, const TRealValueType &u) |
static TRealValueType | Evaluate (const Dispatch< 3 > &, const TRealValueType &u) |
static TRealValueType | Evaluate (const DispatchBase &, const TRealValueType &) |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::BSplineKernelFunction< VSplineOrder, TRealValueType >::Pointer = SmartPointer<Self> |
Definition at line 51 of file itkBSplineKernelFunction.h.
using itk::KernelFunctionBase< TRealValueType >::RealType = TRealValueType |
Definition at line 52 of file itkKernelFunctionBase.h.
using itk::BSplineKernelFunction< VSplineOrder, TRealValueType >::Self = BSplineKernelFunction |
Standard class type aliases.
Definition at line 49 of file itkBSplineKernelFunction.h.
using itk::BSplineKernelFunction< VSplineOrder, TRealValueType >::Superclass = KernelFunctionBase<TRealValueType> |
Definition at line 50 of file itkBSplineKernelFunction.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
inlinestaticprivate |
Zeroth order spline.
Definition at line 99 of file itkBSplineKernelFunction.h.
References itk::Math::abs(), and itk::Math::ExactlyEquals().
|
inlinestaticprivate |
First order spline
Definition at line 119 of file itkBSplineKernelFunction.h.
References itk::Math::abs().
|
inlinestaticprivate |
Second order spline.
Definition at line 135 of file itkBSplineKernelFunction.h.
References itk::Math::abs().
|
inlinestaticprivate |
Third order spline.
Definition at line 159 of file itkBSplineKernelFunction.h.
References itk::Math::abs().
|
inlinestaticprivate |
Unimplemented spline order
Definition at line 184 of file itkBSplineKernelFunction.h.
|
inlineoverridevirtual |
Evaluate the function.
Implements itk::KernelFunctionBase< TRealValueType >.
Definition at line 73 of file itkBSplineKernelFunction.h.
|
inlinestatic |
Evaluate the function. Faster than the Evaluate
member function, because it is static (while Evaluate
is virtual).
Definition at line 66 of file itkBSplineKernelFunction.h.
|
overridevirtual |
Reimplemented from itk::LightObject.
|
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 82 of file itkBSplineKernelFunction.h.
|
staticconstexpr |
Enum of for spline order.
Definition at line 61 of file itkBSplineKernelFunction.h.