spectral::ImageSampler Class Reference

Base class for image sampling utilities. More...

#include <sampler.h>

Inheritance diagram for spectral::ImageSampler:
spectral::LanczosSampler spectral::NearestNeighbourSampler

List of all members.

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

Detailed Description

Base class for image sampling utilities.


The documentation for this class was generated from the following files:
 All Classes Functions Variables
Generated on Sat Jan 8 12:12:51 2011 by  doxygen 1.6.3