STIR 6.5.0
Classes and functions for B-spline interpolation.
Collaboration diagram for Classes and functions for B-spline interpolation.:

Files

file  /home/kris/devel/STIRdistrib/STIR/src/include/stir/numerics/BSplines.h
 Implementation of the basic components and declarations for B-Splines Interpolation.
file  /home/kris/devel/STIRdistrib/STIR/src/include/stir/numerics/BSplines1DRegularGrid.h
 Implementation of the B-Splines Interpolation.
file  /home/kris/devel/STIRdistrib/STIR/src/include/stir/numerics/BSplines1DRegularGrid.inl
 Implementation of the B-Splines Interpolation.
file  /home/kris/devel/STIRdistrib/STIR/src/include/stir/numerics/BSplines_coef.inl
 Implementation of the (cubic) B-Splines Interpolation.
file  /home/kris/devel/STIRdistrib/STIR/src/include/stir/numerics/BSplines_weights.inl
 Implementation of the B-Splines Interpolation.
file  /home/kris/devel/STIRdistrib/STIR/src/include/stir/numerics/BSplinesRegularGrid.h
 Implementation of the n-dimensional B-Splines Interpolation.

Classes

class  stir::BSpline::BSplines1DRegularGrid< out_elemT, in_elemT, constantsT >
 Temporary class for 1D B-splines. More...
class  stir::BSpline::BSplinesRegularGrid< num_dimensions, out_elemT, in_elemT, constantsT >
 A class for n-dimensional BSpline interpolation when the input samples are on a regular grid. More...

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

Detailed Description

Function Documentation

◆ BSplines_1st_der_weight()

template<typename pos_type>
pos_type stir::BSpline::BSplines_1st_der_weight ( const pos_type relative_position,
const BSplineType spline_type )
inline

return value of the first derivative of the spline

References BSplines_1st_der_weight().

Referenced by BSplines_1st_der_weight(), and stir::BSpline::BSplines_Tests::run_tests().

◆ BSplines_weights()

template<typename pos_type>
pos_type stir::BSpline::BSplines_weights ( const pos_type relative_position,
const BSplineType spline_type )
inline

return spline value

References BSplines_weights().

Referenced by BSplines_weights(), and stir::BSpline::BSplines_Tests::run_tests().