15constexpr float PI = boost::math::constants::pi<float>();
27 x = -
PI / 2.0 * (
pos + 1.0);
56 x = -
PI / 3.0 * (
pos + 2.0);
93 x = -
PI / 4.0 * (
pos + 3.0);
242 auto data = &
source->getData()[0];
286 for (
int i = 0;
i < 8;
i++) {
304 for (
int i = 0;
i < 8;
i++) {
#define INTERP_MAXKERNELWIDTH
std::shared_ptr< EngineParameter > dx
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
std::shared_ptr< EngineParameter > dy
@ INTERP_NEARESTNEIGHBOUR
static std::size_t height(const ImageInterfaceTypePtr &image)
static ImageInterfaceType::PixelType & at(ImageInterfaceTypePtr &image, std::size_t x, std::size_t y)
static std::size_t width(const ImageInterfaceTypePtr &image)
static ImageInterfaceTypePtr factory(std::size_t width, std::size_t height)
static void addImageToImage(ImageType &image1, const ImageType &image2, double scale, double x, double y)