Developer documentation
Version 3.0.3-105-gd3941f44
MR::Interp Namespace Reference

Classes

class  Base
 This class defines the interface for classes that perform image interpolation. More...
 
class  LinearInterp
 
class  LinearInterp< ImageType, LinearInterpProcessingType::Derivative >
 
class  LinearInterp< ImageType, LinearInterpProcessingType::Value >
 
class  LinearInterp< ImageType, LinearInterpProcessingType::ValueAndDerivative >
 
class  LinearInterpBase
 
class  Masked
 Implicit masking for interpolator class. More...
 
class  Nearest
 This class provides access to the voxel intensities of an Image, using nearest-neighbour interpolation. More...
 
class  Sinc
 This class provides access to the voxel intensities of an image, using sinc interpolation. More...
 
class  SplineInterp
 
class  SplineInterp< ImageType, SplineType, Math::SplineProcessingType::Derivative >
 
class  SplineInterp< ImageType, SplineType, Math::SplineProcessingType::Value >
 
class  SplineInterp< ImageType, SplineType, Math::SplineProcessingType::ValueAndDerivative >
 
class  SplineInterpBase
 This class provides access to the voxel intensities of an image using cubic spline interpolation. More...
 
struct  value_type_of
 This class provides access to the voxel intensities of a data set, using tri-linear interpolation. More...
 
struct  value_type_of< std::complex< X > >
 

Typedefs

template<typename ImageType >
using Cubic = SplineInterp< ImageType, Math::HermiteSpline< typename ImageType::value_type >, Math::SplineProcessingType::Value >
 
template<typename ImageType >
using CubicUniform = SplineInterp< ImageType, Math::UniformBSpline< typename ImageType::value_type >, Math::SplineProcessingType::Value >
 
template<typename ImageType >
using Linear = LinearInterp< ImageType, LinearInterpProcessingType::Value >
 

Enumerations

enum  LinearInterpProcessingType { Value = 1 , Derivative = 2 , ValueAndDerivative = Value | Derivative }
 

Functions

template<class ImageType , typename... Args>
Cubic< ImageType > make_cubic (const ImageType &parent, Args &&... args)
 
template<class ImageType , typename... Args>
Linear< ImageType > make_linear (const ImageType &parent, Args &&... args)
 
template<class ImageType , typename... Args>
Nearest< ImageType > make_nearest (const ImageType &parent, Args &&... args)
 
template<class ImageType , typename... Args>
Sinc< ImageType > make_sinc (const ImageType &parent, Args &&... args)
 

Typedef Documentation

◆ Cubic

template<typename ImageType >
using MR::Interp::Cubic = typedef SplineInterp<ImageType, Math::HermiteSpline<typename ImageType::value_type>, Math::SplineProcessingType::Value>

Definition at line 522 of file cubic.h.

◆ CubicUniform

template<typename ImageType >
using MR::Interp::CubicUniform = typedef SplineInterp<ImageType, Math::UniformBSpline<typename ImageType::value_type>, Math::SplineProcessingType::Value>

Definition at line 525 of file cubic.h.

◆ Linear

template<typename ImageType >
using MR::Interp::Linear = typedef LinearInterp<ImageType, LinearInterpProcessingType::Value>

Definition at line 586 of file linear.h.

Enumeration Type Documentation

◆ LinearInterpProcessingType

Enumerator
Value 
Derivative 
ValueAndDerivative 

Definition at line 85 of file linear.h.

Function Documentation

◆ make_cubic()

template<class ImageType , typename... Args>
Cubic< ImageType > MR::Interp::make_cubic ( const ImageType &  parent,
Args &&...  args 
)
inline

Definition at line 529 of file cubic.h.

◆ make_linear()

template<class ImageType , typename... Args>
Linear< ImageType > MR::Interp::make_linear ( const ImageType &  parent,
Args &&...  args 
)
inline

Definition at line 589 of file linear.h.

◆ make_nearest()

template<class ImageType , typename... Args>
Nearest< ImageType > MR::Interp::make_nearest ( const ImageType &  parent,
Args &&...  args 
)
inline

Definition at line 133 of file nearest.h.

◆ make_sinc()

template<class ImageType , typename... Args>
Sinc< ImageType > MR::Interp::make_sinc ( const ImageType &  parent,
Args &&...  args 
)
inline

Definition at line 170 of file sinc.h.