STIR
6.2.0
|
Implementation of the basic components and declarations for B-Splines Interpolation. More...
#include "stir/common.h"
#include "stir/numerics/BSplines_weights.inl"
#include "stir/numerics/BSplines_coef.inl"
Go to the source code of this file.
Namespaces | |
stir | |
Namespace for the STIR library (and some/most of its applications) | |
stir::BSpline | |
Namespace for functions and classes for B-Spline interpolation in the STIR library. | |
Typedefs | |
typedef double | stir::BSpline::pos_type |
The type used for relative positions between the grid points. | |
Enumerations | |
enum | stir::BSpline::BSplineType { near_n, linear, quadratic, cubic, quartic, quintic, oMoms } |
enum providing constants to define the type of B-Spline used for interpolation | |
Functions | |
template<class RandIterOut , class IterT , class constantsT > | |
void | stir::BSpline::BSplines_coef (RandIterOut c_begin_iterator, RandIterOut c_end_iterator, IterT input_begin_iterator, IterT input_end_iterator, const constantsT z1, const constantsT z2, const constantsT lambda) |
compute BSpline coefficients that gives the BSpline that interpolates the given data | |
template<typename pos_type > | |
pos_type | stir::BSpline::BSplines_1st_der_weight (const pos_type relative_position, const BSplineType spline_type) |
return value of the first derivative of the spline | |
template<typename pos_type > | |
pos_type | stir::BSpline::BSplines_weights (const pos_type relative_position, const BSplineType spline_type) |
return spline value | |
Implementation of the basic components and declarations for B-Splines Interpolation.