23 #ifndef Interpolator_h 24 #define Interpolator_h 75 double NearestNeighbor(
const double isamp,
const double iline,
79 double BiLinear(
const double isamp,
const double iline,
83 double CubicConvolution(
const double isamp,
const double iline,
95 double Interpolate(
const double isamp,
const double iline,
double HotSample()
Returns the sample coordinate of the center pixel in the buffer for the interpolator.
Definition: Interpolator.cpp:281
interpType
The interpolator type, including: None, Nearest Neighbor, BiLinear or Cubic Convultion.
Definition: Interpolator.h:57
double Interpolate(const double isamp, const double iline, const double buf[])
Performs an interpolation on the data according to the parameters set in the constructor.
Definition: Interpolator.cpp:72
Interpolator()
Constructs an empty Interpolator object.
Definition: Interpolator.cpp:33
void SetType(const interpType &type)
Sets the type of interpolation.
Definition: Interpolator.cpp:101
Definition: Interpolator.h:59
double HotLine()
Returns the line coordinate of the center pixel in the buffer for the interpolator.
Definition: Interpolator.cpp:313
Definition: Interpolator.h:58
int Samples()
Returns the number of samples needed by the interpolator.
Definition: Interpolator.cpp:224
~Interpolator()
Destroys the Interpolator object.
Definition: Interpolator.cpp:50
int Lines()
Returns the number of lines needed by the interpolator.
Definition: Interpolator.cpp:252
Pixel interpolator.
Definition: Interpolator.h:51
Definition: Interpolator.h:60
Definition: Interpolator.h:61
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31