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

#include <itkBSplineSecondOrderDerivativeKernelFunction2.h>

Detailed Description

template<unsigned int VSplineOrder = 3>
class itk::BSplineSecondOrderDerivativeKernelFunction2< 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 43 of file itkBSplineSecondOrderDerivativeKernelFunction2.h.

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

Data Structures

struct  Dispatch
 
struct  DispatchBase
 

Public Types

typedef SmartPointer< SelfPointer
 
typedef BSplineSecondOrderDerivativeKernelFunction2 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

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

Private Member Functions

 BSplineSecondOrderDerivativeKernelFunction2 (const Self &)
 
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::BSplineSecondOrderDerivativeKernelFunction2< VSplineOrder >::Pointer
template<unsigned int VSplineOrder = 3>
typedef BSplineSecondOrderDerivativeKernelFunction2 itk::BSplineSecondOrderDerivativeKernelFunction2< VSplineOrder >::Self

Standard class typedefs.

Definition at line 48 of file itkBSplineSecondOrderDerivativeKernelFunction2.h.

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

Constructor & Destructor Documentation

template<unsigned int VSplineOrder = 3>
itk::BSplineSecondOrderDerivativeKernelFunction2< VSplineOrder >::BSplineSecondOrderDerivativeKernelFunction2 ( )
inlineprotected
template<unsigned int VSplineOrder = 3>
itk::BSplineSecondOrderDerivativeKernelFunction2< VSplineOrder >::~BSplineSecondOrderDerivativeKernelFunction2 ( )
inlineprotected
template<unsigned int VSplineOrder = 3>
itk::BSplineSecondOrderDerivativeKernelFunction2< VSplineOrder >::BSplineSecondOrderDerivativeKernelFunction2 ( const Self )
private

Member Function Documentation

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

Evaluate the function. Evaluate the function.

Definition at line 68 of file itkBSplineSecondOrderDerivativeKernelFunction2.h.

template<unsigned int VSplineOrder = 3>
double itk::BSplineSecondOrderDerivativeKernelFunction2< VSplineOrder >::Evaluate ( const Dispatch< 2 > &  ,
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 * inline double Evaluate ( const Dispatch<1>&, const double& u) const {

double absValue = vnl_math_abs( u );

if ( absValue < 1.0 ) { return -vnl_math_sgn( u ); } else if ( absValue == 1.0 ) { return -vnl_math_sgn( u ) / 2.0; } else { return 0.0; }

} Second order spline.

Definition at line 139 of file itkBSplineSecondOrderDerivativeKernelFunction2.h.

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

Third order spline.

Definition at line 168 of file itkBSplineSecondOrderDerivativeKernelFunction2.h.

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

Unimplemented spline order

Definition at line 189 of file itkBSplineSecondOrderDerivativeKernelFunction2.h.

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

Run-time type information (and related methods).

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

Enum of for spline order.

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

Method for creation through the object factory.

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


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