#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 Types | |
using | Pointer = SmartPointer<Self> |
using | RealType |
using | Self = BSplineKernelFunction |
using | Superclass = KernelFunctionBase<TRealValueType> |
![]() | |
using | ConstPointer |
using | Pointer |
using | RealType |
using | Self |
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 |
TRealValueType | Evaluate (const TRealValueType &u) const override |
const char * | GetNameOfClass () const override |
![]() | |
double | Evaluate (const double &u) const override=0 |
double | Evaluate (const double &u) const override=0 |
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 TRealValueType | FastEvaluate (const TRealValueType u) |
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 () |
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 | |
![]() | |
KernelFunctionBase ()=default | |
KernelFunctionBase ()=default | |
~KernelFunctionBase () override=default | |
~KernelFunctionBase () override=default | |
![]() | |
FunctionBase ()=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 () |
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 | |
![]() | |
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 |
Definition at line 49 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 |
|
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.
|
inlinestaticprivate |
Zeroth order spline.
Definition at line 99 of file itkBSplineKernelFunction.h.
|
inlinestaticprivate |
First order spline
Definition at line 119 of file itkBSplineKernelFunction.h.
|
inlinestaticprivate |
Second order spline.
Definition at line 133 of file itkBSplineKernelFunction.h.
|
inlinestaticprivate |
Third order spline.
Definition at line 157 of file itkBSplineKernelFunction.h.
|
inlinestaticprivate |
Unimplemented spline order
Definition at line 182 of file itkBSplineKernelFunction.h.
|
inlineoverride |
Evaluate the function.
Definition at line 73 of file itkBSplineKernelFunction.h.
Referenced by itk::BSplineKernelFunction< 0 >::FastEvaluate().
|
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.
Referenced by itk::BSplineKernelFunction< 0 >::Evaluate().
|
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.