SLIP
1.4
|
Functions | |
BSpline interpolation | |
template<class Array > | |
void | BSplinePoles (const std::size_t degree, Array &Poles) |
BSpline Poles computations based on http://bigwww.epfl.ch/thevenaz/interpolation/. More... | |
template<typename InputIterator > | |
double | BSplineInitialCausalCoefficient (InputIterator infirst, InputIterator inlast, double z, double Tolerance) |
BSpline computation of causal coefficients based on http://bigwww.epfl.ch/thevenaz/interpolation/. More... | |
template<typename InputIterator > | |
double | BSplineInitialAntiCausalCoefficient (InputIterator outlast, const double z) |
BSpline computation of anticausal coefficients based on http://bigwww.epfl.ch/thevenaz/interpolation/. More... | |
template<typename InputIterator , typename OutputIterator , typename InputIterator2 > | |
void | BSplineComputeInterpolationCoefficients (InputIterator infirst, InputIterator inlast, OutputIterator outfirst, InputIterator2 Poles_first, InputIterator2 Poles_last, double Tolerance=std::numeric_limits< double >::epsilon()) |
BSpline computation of coefficients based on http://bigwww.epfl.ch/thevenaz/interpolation/. More... | |
template<typename InputIterator , typename OutputIterator , class Array > | |
void | BSplineComputeInterpolationCoefficients (InputIterator infirst, InputIterator inlast, OutputIterator outfirst, const Array &Poles, double Tolerance) |
BSpline computation of coefficients based on http://bigwww.epfl.ch/thevenaz/interpolation/. More... | |
template<typename RandomAccessIterator > | |
void | BSplineComputeInterpolationIndexes (const std::size_t spline_degree, double x, RandomAccessIterator index_first, RandomAccessIterator index_last) |
Computes the bspline interpolations indices. based on http://bigwww.epfl.ch/thevenaz/interpolation/. More... | |
template<typename RandomAccessIterator , typename Array > | |
void | BSplineComputeInterpolationWeights (const std::size_t spline_degree, double x, RandomAccessIterator index_first, RandomAccessIterator index_last, Array &Weights) |
Computes the bspline interpolations weights. based on http://bigwww.epfl.ch/thevenaz/interpolation/. More... | |
template<class RandomAccessIterator > | |
double | BSplineInterpolatedValue (RandomAccessIterator coef_first, RandomAccessIterator coef_last, double x, std::size_t SplineDegree) |
BSpline interpolation from the interpolation coefficients. based on http://bigwww.epfl.ch/thevenaz/interpolation/. More... | |
template<typename RandomAccessIterator2d1 , typename RandomAccessIterator2d2 > | |
void | BSplineSamplesToCoefficients2d (RandomAccessIterator2d1 in_up, RandomAccessIterator2d1 in_bot, const std::size_t degree, RandomAccessIterator2d2 out_up, RandomAccessIterator2d2 out_bot, const double tolerance=std::numeric_limits< double >::epsilon()) |
Convert a 2d samples range to a 2d bspline coefficients range. More... | |
template<class Matrix1 , class Matrix2 > | |
void | BSplineSamplesToCoefficients (const std::size_t degree, const Matrix1 &input, Matrix2 &output) |
BSpline computation of coefficients for 2D container based on http://bigwww.epfl.ch/thevenaz/interpolation/. More... | |
template<typename RandomAccessIterator3d1 , typename RandomAccessIterator3d2 > | |
void | BSplineSamplesToCoefficients3d (RandomAccessIterator3d1 in_fup, RandomAccessIterator3d1 in_bbot, const std::size_t degree, RandomAccessIterator3d2 out_fup, RandomAccessIterator3d2 out_bbot, const double tolerance=std::numeric_limits< double >::epsilon()) |
Convert a 3d samples range to a 3d bspline coefficients range. More... | |
template<typename RandomAccessIterator2d > | |
double | BSplineInterpolatedValue (RandomAccessIterator2d Bcoeff_up, RandomAccessIterator2d Bcoeff_bot, double x, double y, std::size_t SplineDegree) |
Computes the 2d BSpline interpolation from 2d bspline interpolation coefficients. More... | |
template<class Matrix1 > | |
double | BSplineInterpolatedValue (Matrix1 &Bcoeff, double x, double y, std::size_t SplineDegree) |
Computes the 2d BSpline interpolation from 2d bspline interpolation coefficients. More... | |
template<class Container3d > | |
double | BSplineInterpolatedValue (Container3d &Bcoeff, double x, double y, double z, std::size_t SplineDegree) |
Computes the 3d BSpline interpolation from 3d bspline interpolation coefficients. More... | |
template<typename RandomAccessIterator3d > | |
double | BSplineInterpolatedValue (RandomAccessIterator3d Bcoeff_fup, RandomAccessIterator3d Bcoeff_bbot, double x, double y, double z, std::size_t SplineDegree) |
Computes the 3d BSpline interpolation from 3d bspline interpolation coefficients. More... | |
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 > | |
void | bspline_resampling_1d (RandomAccessIterator1 in_first, RandomAccessIterator1 in_last, const std::size_t spline_degree, RandomAccessIterator2 out_first, RandomAccessIterator2 out_last) |
Resample a range using bspline interpolation. More... | |
template<typename RandomAccessIterator2d1 , typename RandomAccessIterator2d2 > | |
void | bspline_resampling_2d (RandomAccessIterator2d1 in_up, RandomAccessIterator2d1 in_bot, const std::size_t spline_degree, RandomAccessIterator2d2 out_up, RandomAccessIterator2d2 out_bot) |
Resample a 2d range using bspline interpolation. More... | |
template<typename RandomAccessIterator3d1 , typename RandomAccessIterator3d2 > | |
void | bspline_resampling_3d (RandomAccessIterator3d1 in_fup, RandomAccessIterator3d1 in_bbot, const std::size_t spline_degree, RandomAccessIterator3d2 out_fup, RandomAccessIterator3d2 out_bbot) |
Resample a 3d range using bspline interpolation. More... | |
template<class GrayScaleImage > | |
void | BSplineGeometricTransformation (const GrayScaleImage &InputImage, GrayScaleImage &OutputImage, const int SplineDegree=3, const double OriginX=0.0, const double OriginY=0.0, const double Angle=0.0, const double ShiftX=0.0, const double ShiftY=0.0, const bool Masking=true) |
BSpline computation of a geometric transformation. based on http://bigwww.epfl.ch/thevenaz/interpolation/. More... | |
void slipalgo::bspline_resampling_1d | ( | RandomAccessIterator1 | in_first, |
RandomAccessIterator1 | in_last, | ||
const std::size_t | spline_degree, | ||
RandomAccessIterator2 | out_first, | ||
RandomAccessIterator2 | out_last | ||
) |
Resample a range using bspline interpolation.
in_first | RandomAccessIterator to the input range. |
in_last | RandomAccessIterator to the input range. |
degree | bspline degree (between 2 and 9) |
out_first | RandomAccessIterator to the output range. |
out_last | RandomAccessIterator to the output range. |
Definition at line 1436 of file bspline_interpolation.hpp.
void slipalgo::bspline_resampling_2d | ( | RandomAccessIterator2d1 | in_up, |
RandomAccessIterator2d1 | in_bot, | ||
const std::size_t | spline_degree, | ||
RandomAccessIterator2d2 | out_up, | ||
RandomAccessIterator2d2 | out_bot | ||
) |
Resample a 2d range using bspline interpolation.
in_up | RandomAccessIterator2d to the input range. |
in_bot | RandomAccessIterator2d to the input range. |
degree | bspline degree (between 2 and 9) |
out_up | RandomAccessIterator2d to the output range. |
out_bot | RandomAccessIterator2d to the output range. |
Definition at line 1498 of file bspline_interpolation.hpp.
void slipalgo::bspline_resampling_3d | ( | RandomAccessIterator3d1 | in_fup, |
RandomAccessIterator3d1 | in_bbot, | ||
const std::size_t | spline_degree, | ||
RandomAccessIterator3d2 | out_fup, | ||
RandomAccessIterator3d2 | out_bbot | ||
) |
Resample a 3d range using bspline interpolation.
in_fup | RandomAccessIterator3d to the input range. |
in_bbot | RandomAccessIterator3d to the input range. |
degree | bspline degree (between 2 and 9) |
out_fup | RandomAccessIterator3d to the output range. |
out_bbot | RandomAccessIterator3d to the output range. |
Definition at line 1588 of file bspline_interpolation.hpp.
|
inline |
BSpline computation of coefficients based on http://bigwww.epfl.ch/thevenaz/interpolation/.
infirst | begin iterator on datas |
inlast | past-to-end iterator on datas |
outfirst | begin iterator on results |
Poles_first | begin iterator on Poles. |
Poles_last | past-to-end iterator on Poles. |
Tolerance | tolerance used : admissible relative error |
Definition at line 285 of file bspline_interpolation.hpp.
|
inline |
BSpline computation of coefficients based on http://bigwww.epfl.ch/thevenaz/interpolation/.
infirst | begin iterator on datas |
inlast | past-to-end iterator on datas |
outfirst | begin iterator on results |
Poles | Poles array |
Tolerance | tolerance used : admissible relative error |
Definition at line 366 of file bspline_interpolation.hpp.
|
inline |
Computes the bspline interpolations indices. based on http://bigwww.epfl.ch/thevenaz/interpolation/.
spline_degree | bspline degree. |
x | coordinate to interpolate. |
index_first | RandomAccessIterator to the index range. |
index_last | RandomAccessIterator to the index range. |
Definition at line 392 of file bspline_interpolation.hpp.
|
inline |
Computes the bspline interpolations weights. based on http://bigwww.epfl.ch/thevenaz/interpolation/.
spline_degree | bspline degree. |
x | coordinate to interpolate. |
index_first | RandomAccessIterator to the index range. |
index_last | RandomAccessIterator to the index range. |
Weights | Array containing the bspline interpolation weights. |
Definition at line 432 of file bspline_interpolation.hpp.
|
inline |
BSpline computation of a geometric transformation. based on http://bigwww.epfl.ch/thevenaz/interpolation/.
InputImage | Input Image |
OutputImage | Output Image |
SplineDegree | Spline degree |
OriginX | Origin of the x |
OriginY | Origin of the y |
Angle | Rotation angle |
ShiftX | Shift for x |
ShiftY | Shift for y |
Masking | Masking uncover areas |
Definition at line 1677 of file bspline_interpolation.hpp.
|
inline |
BSpline computation of anticausal coefficients based on http://bigwww.epfl.ch/thevenaz/interpolation/.
outlast | past-to-end iterator on datas |
z | actual pole |
Definition at line 246 of file bspline_interpolation.hpp.
|
inline |
BSpline computation of causal coefficients based on http://bigwww.epfl.ch/thevenaz/interpolation/.
infirst | begin iterator on datas |
inlast | past-to-end iterator on datas |
z | actual pole |
Tolerance | tolerance used |
Definition at line 185 of file bspline_interpolation.hpp.
|
inline |
BSpline interpolation from the interpolation coefficients. based on http://bigwww.epfl.ch/thevenaz/interpolation/.
coef_first | RandomAccessIterator to the bspline interpolation range. |
coef_last | RandomAccessIterator to the bspline interpolation range. |
x | coordinate to interpolate. |
SplineDegree | bspline degree. |
Definition at line 657 of file bspline_interpolation.hpp.
|
inline |
Computes the 2d BSpline interpolation from 2d bspline interpolation coefficients.
Bcoeff_up | RandomAccessIterator2d to the 2d bspline interpolation coefficients input range. |
Bcoeff_bot | RandomAccessIterator2d to the 2d bspline interpolation coefficients input range. |
x | x interpolation coordinate. |
y | y interpolation coordinate. |
SplineDegree | bspline degree (between 2 and 9) |
Definition at line 913 of file bspline_interpolation.hpp.
|
inline |
Computes the 2d BSpline interpolation from 2d bspline interpolation coefficients.
Bcoeff | Matrix of the 2d BSpline coefficients. |
x | x interpolation coordinate. |
y | y interpolation coordinate. |
SplineDegree | bspline degree (between 2 and 9) |
Definition at line 1043 of file bspline_interpolation.hpp.
|
inline |
Computes the 3d BSpline interpolation from 3d bspline interpolation coefficients.
Bcoeff | 3d bspline interpolation coefficients. |
x | x interpolation coordinate. |
y | y interpolation coordinate. |
z | z interpolation coordinate. |
SplineDegree | bspline degree (between 2 and 9) |
Definition at line 1181 of file bspline_interpolation.hpp.
|
inline |
Computes the 3d BSpline interpolation from 3d bspline interpolation coefficients.
Bcoeff_fup | RandomAccessIterator3d to the 3d bspline interpolation coefficients input range. |
Bcoeff_bbot | RandomAccessIterator3d to the 3d bspline interpolation coefficients input range. |
x | x interpolation coordinate. |
y | y interpolation coordinate. |
z | z interpolation coordinate. |
SplineDegree | bspline degree (between 2 and 9) |
Definition at line 1298 of file bspline_interpolation.hpp.
|
inline |
BSpline Poles computations based on http://bigwww.epfl.ch/thevenaz/interpolation/.
degree | spline degree (between 2 and 9) |
Poles | array of computed poles |
Definition at line 110 of file bspline_interpolation.hpp.
|
inline |
BSpline computation of coefficients for 2D container based on http://bigwww.epfl.ch/thevenaz/interpolation/.
degree | spline degree (between 2 and 9) |
input | 2D container of input datas |
output | 2D container of output datas (coefficients) |
Definition at line 799 of file bspline_interpolation.hpp.
|
inline |
Convert a 2d samples range to a 2d bspline coefficients range.
in_up | RandomAccessIterator2d to the input range. |
in_bot | RandomAccessIterator2d to the input range. |
degree | bspline degree (between 2 and 9) |
out_up | RandomAccessIterator2d to the coefficients range. |
out_bot | RandomAccessIterator2d to the coefficients range. |
Definition at line 738 of file bspline_interpolation.hpp.
|
inline |
Convert a 3d samples range to a 3d bspline coefficients range.
in_fup | RandomAccessIterator3d to the input range. |
in_bbot | RandomAccessIterator3d to the input range. |
degree | bspline degree (between 2 and 9) |
out_fup | RandomAccessIterator3d to the output range. |
out_bbot | RandomAccessIterator3d to the output range. |
Definition at line 847 of file bspline_interpolation.hpp.