Simple implementation of nearest neighbour sampling. More...
#include <sampler.h>
Public Member Functions | |
NearestNeighbourSampler (EdgeMode h, EdgeMode v) | |
virtual void | SampleImage (const Image *image, float x, float y, const float *bg, float *result) const |
Simple implementation of nearest neighbour sampling.