go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Data Structures | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::BSplineKernelFunction2< VSplineOrder > Class Template Reference

#include <itkBSplineKernelFunction2.h>

Detailed Description

template<unsigned int VSplineOrder = 3>
class itk::BSplineKernelFunction2< VSplineOrder >

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.

Warning
Evaluate is only implemented for spline order 0 to 3
See also
KernelFunction

Definition at line 59 of file itkBSplineKernelFunction2.h.

Inheritance diagram for itk::BSplineKernelFunction2< VSplineOrder >:
Inheritance graph
[legend]

Data Structures

struct  Dispatch
 
struct  DispatchBase
 

Public Types

typedef SmartPointer< SelfPointer
 
typedef BSplineKernelFunction2 Self
 
typedef KernelFunctionBase< doubleSuperclass
 
typedef FixedArray< double, itkGetStaticConstMacro(SplineOrder)+1 > WeightArrayType
 

Public Member Functions

double Evaluate (const double &u) const
 
void Evaluate (const double &u, WeightArrayType &weights) const
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 BSplineKernelFunction2 ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~BSplineKernelFunction2 ()
 

Private Member Functions

 BSplineKernelFunction2 (const Self &)
 
double Evaluate (const Dispatch< 0 > &, const double &u) const
 
double Evaluate (const Dispatch< 1 > &, const double &u) const
 
double Evaluate (const Dispatch< 2 > &, const double &u) const
 
double Evaluate (const Dispatch< 3 > &, const double &u) const
 
double Evaluate (const DispatchBase &, const double &) const
 
void Evaluate (const Dispatch< 0 > &, const double &u, WeightArrayType &weights) const
 
void Evaluate (const Dispatch< 1 > &, const double &u, WeightArrayType &weights) const
 
void Evaluate (const Dispatch< 2 > &, const double &u, WeightArrayType &weights) const
 
void Evaluate (const Dispatch< 3 > &, const double &u, WeightArrayType &weights) const
 
double Evaluate (const DispatchBase &, const double &, WeightArrayType &) const
 
void operator= (const Self &)
 

Member Typedef Documentation

template<unsigned int VSplineOrder = 3>
typedef SmartPointer< Self > itk::BSplineKernelFunction2< VSplineOrder >::Pointer

Definition at line 66 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
typedef BSplineKernelFunction2 itk::BSplineKernelFunction2< VSplineOrder >::Self

Standard class typedefs.

Definition at line 64 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
typedef KernelFunctionBase< double > itk::BSplineKernelFunction2< VSplineOrder >::Superclass

Definition at line 65 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
typedef FixedArray< double, itkGetStaticConstMacro( SplineOrder ) + 1 > itk::BSplineKernelFunction2< VSplineOrder >::WeightArrayType

Store weights for the entire support.

Definition at line 79 of file itkBSplineKernelFunction2.h.

Constructor & Destructor Documentation

template<unsigned int VSplineOrder = 3>
itk::BSplineKernelFunction2< VSplineOrder >::BSplineKernelFunction2 ( )
inlineprotected

Definition at line 99 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
itk::BSplineKernelFunction2< VSplineOrder >::~BSplineKernelFunction2 ( )
inlineprotected

Definition at line 100 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
itk::BSplineKernelFunction2< VSplineOrder >::BSplineKernelFunction2 ( const Self )
private

Member Function Documentation

template<unsigned int VSplineOrder = 3>
double itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const double u) const
inline

Evaluate the function at one point.

Definition at line 82 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
void itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const double u,
WeightArrayType weights 
) const
inline

Evaluate the function at the entire support. This is slightly faster, since no if's are needed.

Definition at line 91 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
double itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const Dispatch< 0 > &  ,
const double u 
) const
inlineprivate

B-spline functions for one point.Zeroth order spline.

Definition at line 124 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
double itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const Dispatch< 1 > &  ,
const double u 
) const
inlineprivate

First order spline

Definition at line 135 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
double itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const Dispatch< 2 > &  ,
const double u 
) const
inlineprivate

Second order spline.

Definition at line 145 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
double itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const Dispatch< 3 > &  ,
const double u 
) const
inlineprivate

Third order spline.

Definition at line 162 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
double itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const DispatchBase &  ,
const double  
) const
inlineprivate

Unimplemented spline order.

Definition at line 180 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
void itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const Dispatch< 0 > &  ,
const double u,
WeightArrayType weights 
) const
inlineprivate

B-spline functions for all points in the support.Zeroth order spline.

Definition at line 193 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
void itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const Dispatch< 1 > &  ,
const double u,
WeightArrayType weights 
) const
inlineprivate

First order spline

Definition at line 202 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
void itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const Dispatch< 2 > &  ,
const double u,
WeightArrayType weights 
) const
inlineprivate

Second order spline.

Definition at line 211 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
void itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const Dispatch< 3 > &  ,
const double u,
WeightArrayType weights 
) const
inlineprivate

Third order spline.

Definition at line 223 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
double itk::BSplineKernelFunction2< VSplineOrder >::Evaluate ( const DispatchBase &  ,
const double ,
WeightArrayType  
) const
inlineprivate

Unimplemented spline order.

Definition at line 237 of file itkBSplineKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
virtual const char* itk::BSplineKernelFunction2< VSplineOrder >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<unsigned int VSplineOrder = 3>
itk::BSplineKernelFunction2< VSplineOrder >::itkStaticConstMacro ( SplineOrder  ,
unsigned  int,
VSplineOrder   
)

Enum of for spline order.

template<unsigned int VSplineOrder = 3>
static Pointer itk::BSplineKernelFunction2< VSplineOrder >::New ( )
static

Method for creation through the object factory.

template<unsigned int VSplineOrder = 3>
void itk::BSplineKernelFunction2< VSplineOrder >::operator= ( const Self )
private
template<unsigned int VSplineOrder = 3>
void itk::BSplineKernelFunction2< VSplineOrder >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
inlineprotected

Definition at line 102 of file itkBSplineKernelFunction2.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo