#include <itkBSplineKernelFunction2.h>
B-spline kernel used for density estimation and nonparameteric regression.
This class encapsulates B-spline kernel for density estimation or nonparametric regression. See documentation for KernelFunction for more details.
This class is templated over the spline order.
Definition at line 58 of file itkBSplineKernelFunction2.h.
Data Structures | |
struct | Dispatch |
Public Types | |
using | Pointer = SmartPointer<Self> |
using | Self = BSplineKernelFunction2 |
using | Superclass = KernelFunctionBase2<double> |
using | WeightArrayType = FixedArray<double, VSplineOrder + 1> |
Public Types inherited from itk::KernelFunctionBase2< double > | |
using | ConstPointer |
using | Pointer |
using | RealType |
using | Self |
using | Superclass |
Public Member Functions | |
double | Evaluate (const double &u) const override |
void | Evaluate (const double &u, double *weights) const override |
virtual const char * | GetClassName () const |
ITK_DISALLOW_COPY_AND_MOVE (BSplineKernelFunction2) | |
itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder) | |
Static Public Member Functions | |
static double | FastEvaluate (const double u) |
static void | FastEvaluate (const double u, double *const weights) |
static Pointer | New () |
Protected Member Functions | |
BSplineKernelFunction2 ()=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~BSplineKernelFunction2 () override=default | |
Protected Member Functions inherited from itk::KernelFunctionBase2< double > | |
KernelFunctionBase2 ()=default | |
~KernelFunctionBase2 () override=default | |
Static Private Member Functions | |
static double | Evaluate (const Dispatch< 0 > &, const double u) |
static void | Evaluate (const Dispatch< 0 > &, const double u, double *weights) |
static double | Evaluate (const Dispatch< 1 > &, const double u) |
static void | Evaluate (const Dispatch< 1 > &, const double u, double *weights) |
static double | Evaluate (const Dispatch< 2 > &, const double u) |
static void | Evaluate (const Dispatch< 2 > &, const double u, double *weights) |
static double | Evaluate (const Dispatch< 3 > &, const double u) |
static void | Evaluate (const Dispatch< 3 > &, const double u, double *weights) |
using itk::BSplineKernelFunction2< VSplineOrder >::Pointer = SmartPointer<Self> |
Definition at line 66 of file itkBSplineKernelFunction2.h.
using itk::BSplineKernelFunction2< VSplineOrder >::Self = BSplineKernelFunction2 |
Standard class typedefs.
Definition at line 64 of file itkBSplineKernelFunction2.h.
using itk::BSplineKernelFunction2< VSplineOrder >::Superclass = KernelFunctionBase2<double> |
Definition at line 65 of file itkBSplineKernelFunction2.h.
using itk::BSplineKernelFunction2< VSplineOrder >::WeightArrayType = FixedArray<double, VSplineOrder + 1> |
Store weights for the entire support.
Definition at line 78 of file itkBSplineKernelFunction2.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
inlinestaticprivate |
B-spline functions for one point. Zeroth order spline.
Definition at line 141 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
B-spline functions for all points in the support. Zeroth order spline.
Definition at line 226 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
First order spline
Definition at line 162 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
First order spline
Definition at line 247 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
Second order spline.
Definition at line 179 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
Second order spline.
Definition at line 258 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
Third order spline.
Definition at line 200 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
Third order spline.
Definition at line 271 of file itkBSplineKernelFunction2.h.
|
inlineoverridevirtual |
Evaluate the function at one point.
Implements itk::KernelFunctionBase2< double >.
Definition at line 101 of file itkBSplineKernelFunction2.h.
|
inlineoverridevirtual |
Evaluate the function at the entire support. This is slightly faster, since no if's are needed.
Implements itk::KernelFunctionBase2< double >.
Definition at line 111 of file itkBSplineKernelFunction2.h.
|
inlinestatic |
Evaluate the function at one point. Faster than the corresponding public Evaluate
member function, because it is static (whereas this Evaluate
member function is virtual).
Definition at line 83 of file itkBSplineKernelFunction2.h.
|
inlinestatic |
Evaluate the function at the entire support. This is slightly faster, since no if's are needed. It is also faster than the corresponding public Evaluate
member function, because it is static (whereas this Evaluate
member function is virtual).
Definition at line 93 of file itkBSplineKernelFunction2.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::KernelFunctionBase2< double >.
itk::BSplineKernelFunction2< VSplineOrder >::ITK_DISALLOW_COPY_AND_MOVE | ( | BSplineKernelFunction2< VSplineOrder > | ) |
itk::BSplineKernelFunction2< VSplineOrder >::itkStaticConstMacro | ( | SplineOrder | , |
unsigned int | , | ||
VSplineOrder | ) |
Enum of for spline order.
|
static |
Method for creation through the object factory.
|
inlineoverrideprotected |
Definition at line 122 of file itkBSplineKernelFunction2.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |