|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Transformation by cubic convolution interpolation.
Uses the cubic convolution interpolation kernel. See https://en.wikipedia.org/wiki/Bicubic_interpolation .
The parameter cubic should be left as the default -0.5 in most cases, which gives the bicubic spline interpolator. See https://en.wikipedia.org/wiki/Cubic_Hermite_spline.
| _arithT | is the type in which to do all calculations. Should be a floating point type. |
"[test doc]"
Definition at line 91 of file imageTransforms.hpp.
#include <improc/imageTransforms.hpp>
Public Types | |
| typedef _arithT | arithT |
| The type in which all calculations are performed. | |
Public Member Functions | |
| cubicConvolTransform () | |
| Default c'tor. | |
| cubicConvolTransform (arithT c) | |
| Construct setting the kernel parameter. | |
| cubicConvolTransform (const cubicConvolTransform &t) | |
| Copy c'tor. | |
| arithT | cubicConvolKernel (arithT d) |
| Calculate the kernel value for a given residual. | |
| template<typename arrT, typename arithT> | |
| void | operator() (arrT &kern, arithT x, arithT y) |
Public Attributes | |
| arithT | cubic { -0.5 } |
| The kernel parameter. The default value -0.5 gives the bicubic spline interpolator. | |
| typedef _arithT mx::improc::cubicConvolTransform< _arithT >::arithT |
The type in which all calculations are performed.
Definition at line 93 of file imageTransforms.hpp.
|
inline |
Default c'tor.
This will provide the bicubic spline interpolator
Definition at line 104 of file imageTransforms.hpp.
|
inlineexplicit |
Construct setting the kernel parameter.
| [in] | c | [optiona] The kernel parameter. The default value -0.5 gives the bicubic spline interpolator. |
Definition at line 109 of file imageTransforms.hpp.
|
inline |
Copy c'tor.
Definition at line 115 of file imageTransforms.hpp.
|
inline |
Calculate the kernel value for a given residual.
Definition at line 121 of file imageTransforms.hpp.
Referenced by mx::improc::cubicConvolTransform< float >::operator()().
|
inline |
Definition at line 138 of file imageTransforms.hpp.
| arithT mx::improc::cubicConvolTransform< _arithT >::cubic { -0.5 } |
The kernel parameter. The default value -0.5 gives the bicubic spline interpolator.
Definition at line 98 of file imageTransforms.hpp.
Referenced by mx::improc::cubicConvolTransform< float >::cubicConvolTransform().