#include <SplineInterpolation.hpp>
Inheritance diagram for SplineInterpolator3D< Im3DValue >:
Public Member Functions | |
void | SetBackground (const Im3DValue &bg) |
void | SamplesToCoefficients (ImageType &ima) |
In-place conversion of image to coefficients. | |
virtual Im3DValue | Value (const ImageType &ima, const float x, const float y, const float z) |
compute value at non integer position using B-spline interpolation | |
ImageType * | GetCoeffImage () |
virtual void | Reset (const ImageType *_srcImage) |
Certains interpolators (ie. Spline) need to do precomputations on original image. | |
SplineInterpolator3D (int _splineDegree, InterpolationBoundaryType _boundary=BOUNDARY_MIRROR) | |
Public Attributes | |
int | DBGvaluect |
int | DBGvaluefastct |
Private Types | |
typedef Image3Dlinear< Im3DValue > | ImageType |
Private Member Functions | |
void | ConvertToInterpolationCoefficients (vector< Im3DValue > &c, vector< Scalar > &z, Scalar Tolerance) |
Im3DValue | InitialCausalCoefficient (vector< Im3DValue > &c, Scalar z, Scalar Tolerance) |
Im3DValue | InitialAntiCausalCoefficient (vector< Im3DValue > &c, Scalar z) |
virtual Im3DValue | ValueFast (const ImageType &ima, const float x, const float y, const float z) |
compute value using B-spline interpolation, far from borders | |
void | ComputeInterpolationWeights (Scalar *xWeight, Scalar *yWeight, Scalar *zWeight, float x, float y, float z, int x0, int y0, int z0) |
Private Attributes | |
const ImageType * | srcImage |
ImageType * | coeffImage |
int | splineDegree |
Im3DValue * | background |
InterpolationBoundaryType | boundary |
Friends | |
class | AdaptativeSuperSampler |
B-spline interpolation is a 2 step method, first compute a coefficient image then interpolate the coefficient image
Definition at line 45 of file SplineInterpolation.hpp.
|
Certains interpolators (ie. Spline) need to do precomputations on original image. Call this with originale image to do those precomputations, Call it with null, to clean up. Reimplemented from Interpolator3D< Im3DValue >. Definition at line 69 of file SplineInterpolation.hpp. References SplineInterpolator3D< Im3DValue >::SamplesToCoefficients(). |