24#ifndef _SEIMPLEMENTATION_IMAGE_IMAGEINTERFACETRAITS_H_
25#define _SEIMPLEMENTATION_IMAGE_IMAGEINTERFACETRAITS_H_
27#define INTERP_MAXKERNELWIDTH 8
29#include <boost/math/constants/constants.hpp>
41#define sincosf __sincosf
58 using iterator = std::vector<ImageInterfaceType::PixelType>::iterator;
65 return image->getWidth();
69 return image->getHeight();
73 return image->at(x, y);
77 return image->at(x, y);
81 return image->getData().begin();
85 return image->getData().end();
89 double scale_factor,
double x,
double y);
std::shared_ptr< ImageInterfaceType > ImageInterfaceTypePtr
@ INTERP_NEARESTNEIGHBOUR
std::shared_ptr< WriteableInterfaceType > WriteableInterfaceTypePtr
SourceXtractor::VectorImage< SourceXtractor::SeFloat > ImageInterfaceType
SourceXtractor::WriteableImage< SourceXtractor::SeFloat > WriteableInterfaceType
static iterator begin(ImageType &image)
static iterator end(ImageType &image)
static std::size_t height(ImageType &image)
static ImageType factory(std::size_t width, std::size_t height)
static std::size_t width(ImageType &image)
static void addImageToImage(ImageType &image1, const ImageType &image2, double scale, double x, double y)
static double & at(ImageType &image, std::size_t x, std::size_t y)