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::BSplineDerivativeKernelFunction2< VSplineOrder > Class Template Reference

#include <itkBSplineDerivativeKernelFunction2.h>

Detailed Description

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

Derivative of a B-spline kernel used for density estimation and nonparametric regression.

This class encapsulates the derivative of a 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 1 to 4
See also
KernelFunction

Definition at line 59 of file itkBSplineDerivativeKernelFunction2.h.

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

Data Structures

struct  Dispatch
 
struct  DispatchBase
 

Public Types

typedef SmartPointer< SelfPointer
 
typedef BSplineDerivativeKernelFunction2 Self
 
typedef KernelFunctionBase< doubleSuperclass
 

Public Member Functions

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

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

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

Private Member Functions

 BSplineDerivativeKernelFunction2 (const Self &)
 
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 operator= (const Self &)
 

Member Typedef Documentation

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

Definition at line 66 of file itkBSplineDerivativeKernelFunction2.h.

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

Standard class typedefs.

Definition at line 64 of file itkBSplineDerivativeKernelFunction2.h.

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

Definition at line 65 of file itkBSplineDerivativeKernelFunction2.h.

Constructor & Destructor Documentation

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

Definition at line 86 of file itkBSplineDerivativeKernelFunction2.h.

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

Definition at line 87 of file itkBSplineDerivativeKernelFunction2.h.

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

Member Function Documentation

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

Evaluate the function.

Definition at line 78 of file itkBSplineDerivativeKernelFunction2.h.

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

Zeroth order spline. inline double Evaluate (const Dispatch<0>&, const double & u) const {

double absValue = vnl_math_abs( u );

if ( absValue < 0.5 ) { return 1.0; } else if ( absValue == 0.5 ) { return 0.5; } else { return 0.0; }

} First order spline

Definition at line 128 of file itkBSplineDerivativeKernelFunction2.h.

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

Second order spline.

Definition at line 150 of file itkBSplineDerivativeKernelFunction2.h.

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

Third order spline.

Definition at line 171 of file itkBSplineDerivativeKernelFunction2.h.

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

Unimplemented spline order

Definition at line 211 of file itkBSplineDerivativeKernelFunction2.h.

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

Run-time type information (and related methods).

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

Enum of for spline order.

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

Method for creation through the object factory.

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

Definition at line 89 of file itkBSplineDerivativeKernelFunction2.h.



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