STIR 6.4.0
BSplinesDetail.inl File Reference

Implementation of the B-Splines Interpolation. More...

#include "stir/assign.h"

Go to the source code of this file.

Namespaces

namespace  stir
 Namespace for the STIR library (and some/most of its applications)
 
namespace  stir::BSpline
 Namespace for functions and classes for B-Spline interpolation in the STIR library.
 

Macros

#define __stir_numerics_BSplinesDetail_inl_
 
#define NNN
 
#define DECR_P   , --p
 
#define DECR_P   , --p
 

Functions

template<typename out_elemT, typename in_elemT, typename constantsT>
void stir::BSpline::detail::set_coef (Array< 1, out_elemT > &coeffs, const Array< 1, in_elemT > &input, const BasicCoordinate< 1, constantsT > &z1s, const BasicCoordinate< 1, constantsT > &z2s, const BasicCoordinate< 1, constantsT > &lambdas)
 
template<int num_dimensions, typename out_elemT, typename in_elemT, typename constantsT>
void stir::BSpline::detail::set_coef (Array< num_dimensions, out_elemT > &coeffs, const Array< num_dimensions, in_elemT > &input, const BasicCoordinate< num_dimensions, constantsT > &z1s, const BasicCoordinate< num_dimensions, constantsT > &z2s, const BasicCoordinate< num_dimensions, constantsT > &lambdas)
 
template<int num_dimensions, int num_dimensions2, typename T, typename FunctionT, typename SplineFunctionT>
SplineFunctionT::result_type stir::BSpline::detail::spline_convolution (const Array< num_dimensions, T > &coeffs, const BasicCoordinate< num_dimensions2, pos_type > &relative_positions, const BasicCoordinate< num_dimensions2, BSplineType > &spline_types, FunctionT f, SplineFunctionT g)
 
template<int num_dimensions2, typename T, typename FunctionT>
stir::BSpline::detail::spline_convolution (const Array< 1, T > &coeffs, const BasicCoordinate< num_dimensions2, pos_type > &relative_positions, const BasicCoordinate< num_dimensions2, BSplineType > &spline_types, FunctionT f)
 

Detailed Description

Implementation of the B-Splines Interpolation.

Author
Kris Thielemans
Charalampos Tsoumpas