#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.

Classes | |
| 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 |
| ITK_DISALLOW_COPY_AND_MOVE (BSplineKernelFunction2) | |
| itkOverrideGetNameOfClassMacro (BSplineKernelFunction2) | |
| itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder) | |
| Public Member Functions inherited from itk::KernelFunctionBase2< double > | |
| itkOverrideGetNameOfClassMacro (KernelFunctionBase2) | |
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 140 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
B-spline functions for all points in the support. Zeroth order spline.
Definition at line 225 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
First order spline
Definition at line 161 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
First order spline
Definition at line 246 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
Second order spline.
Definition at line 178 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
Second order spline.
Definition at line 257 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
Third order spline.
Definition at line 199 of file itkBSplineKernelFunction2.h.
|
inlinestaticprivate |
Third order spline.
Definition at line 270 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.
| itk::BSplineKernelFunction2< VSplineOrder >::ITK_DISALLOW_COPY_AND_MOVE | ( | BSplineKernelFunction2< VSplineOrder > | ) |
| itk::BSplineKernelFunction2< VSplineOrder >::itkOverrideGetNameOfClassMacro | ( | BSplineKernelFunction2< VSplineOrder > | ) |
Run-time type information (and related methods).
| 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 26-02-2026
for elastix by 1.16.1 (669aeeefca743c148e2d935b3d3c69535c7491e6) |