spice::interpolation namespace

Interpolation operations on images.

Contents

Classes

template<typename T>
class bicubic
Bicubic interpolation between pixels adjacent to x and y.
template<typename T>
class bilinear
Bilinear interpolation between pixels adjacent to x and y.
template<typename T>
class nearest_neighbor
Nearest neighbour interpolation between pixels adjacent to x and y by returning the value of the pixel to the top-left of x and y.
template<typename T>
class nearest_neighbor_round
Nearest neighbour interpolation between pixels adjacent to x and y by rounding x and y.