include/spice/composite.hpp file

Image merging operations and various utilities.

Contents

Namespaces

namespace spice
namespace spice::interpolation
Interpolation operations on images.
namespace spice::blend_function
blend operations

Classes

template<typename T>
class spice::interpolation::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 spice::interpolation::nearest_neighbor_round
Nearest neighbour interpolation between pixels adjacent to x and y by rounding x and y.
template<typename T>
class spice::interpolation::bilinear
Bilinear interpolation between pixels adjacent to x and y.
template<typename T>
class spice::interpolation::bicubic
Bicubic interpolation between pixels adjacent to x and y.
template<typename T>
class spice::blend_function::overlay
Overlay the foreground over the background.