Defines | Functions

im_math.h File Reference

Math Utilities. More...

Include dependency graph for im_math.h:
This graph shows which files directly or indirectly include this file:

Defines

#define C0   (-c3 + 2.0f*c2 - c)
#define C1   ( c3 - 2.0f*c2 + 1.0f)
#define C2   (-c3 + c2 + c)
#define C3   ( c3 - c2)

Functions

int imRound (float x)
int imRound (double x)
template<class T >
imAbs (const T &v)
int imResampleInt (int x, float factor)
template<class T , class TU >
imZeroOrderDecimation (int width, int height, T *map, float xl, float yl, float box_width, float box_height, TU Dummy)
template<class T , class TU >
imBilinearDecimation (int width, int height, T *map, float xl, float yl, float box_width, float box_height, TU Dummy)
template<class T >
imZeroOrderInterpolation (int width, int height, T *map, float xl, float yl)
template<class T >
imBilinearInterpolation (int width, int height, T *map, float xl, float yl)
template<class T , class TU >
imBicubicInterpolation (int width, int height, T *map, float xl, float yl, TU Dummy)
template<class T >
void imMinMax (const T *map, int count, T &min, T &max, int absolute=0)
template<class T >
void imMinMaxType (const T *map, int count, T &min, T &max, int absolute=0)

Detailed Description

See Copyright Notice in im_lib.h