Blender  V3.3
Namespaces | Functions
libmv/libmv/image/sample.h File Reference
#include "libmv/image/image.h"

Go to the source code of this file.

Namespaces

 libmv
 

Functions

template<typename T >
T libmv::SampleNearest (const Array3D< T > &image, float y, float x, int v=0)
 Nearest neighbor interpolation. More...
 
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. More...
 
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)