#include <include/spice/composite.hpp>
template<typename T>
bilinear class
Bilinear interpolation between pixels adjacent to x and y.
| Template parameters | |
|---|---|
| T | type of pixel values |
Contents
Constructors, destructors, conversion operators
Public functions
- auto operator()(float x, float y) -> color<T>
- Get the interpolated value at the provided coordinates.
Function documentation
template<typenameT>
color<T> spice:: interpolation:: bilinear<T>:: operator()(float x,
float y)
Get the interpolated value at the provided coordinates.
| Parameters | |
|---|---|
| x | |
| y | |
| Returns | color<T> |