Base class for image sampling utilities. More...
#include <sampler.h>
Public Types | |
enum | EdgeMode { BACKGROUND, CLAMP, REFLECT, WRAP } |
Public Member Functions | |
ImageSampler (EdgeMode h, EdgeMode v) | |
virtual void | SampleImage (const Image *image, float x, float y, const float *bg, float *result) const =0 |
void | GetEdgeMode (EdgeMode &h, EdgeMode &v) const |
Protected Member Functions | |
const float * | GetPixel (const Image *image, float x, float y) const |
const float * | GetPixel (const Image *image, int32_t x, int32_t y) const |
Base class for image sampling utilities.