Blender V5.0
sample.h File Reference

Go to the source code of this file.

Namespaces

namespace  libmv

Functions

template<typename T>
T libmv::SampleNearest (const Array3D< T > &image, float y, float x, int v=0)
 Nearest neighbor interpolation.
void libmv::LinearInitAxis (float x, int size, int *x1, int *x2, float *dx)
template<typename T>
T libmv::SampleLinear (const Array3D< T > &image, float y, float x, int v=0)
 Linear interpolation.
template<typename T>
void libmv::SampleLinear (const Array3D< T > &image, float y, float x, T *sample)
void libmv::DownsampleChannelsBy2 (const Array3Df &in, Array3Df *out)
void libmv::SamplePattern (const FloatImage &image, double x, double y, int half_width, int channels, FloatImage *sampled)