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.0)
#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, double factor)
template<class T , class TU >
imZeroOrderDecimation (int width, int height, T *map, double xl, double yl, double box_width, double box_height, TU Dummy)
template<class T , class TU >
imBilinearDecimation (int width, int height, T *map, double xl, double yl, double box_width, double box_height, TU Dummy)
template<class T >
imZeroOrderInterpolation (int width, int height, T *map, double xl, double yl)
template<class T >
imBilinearInterpolation (int width, int height, T *map, double xl, double yl)
template<class T , class TU >
imBicubicInterpolation (int width, int height, T *map, double xl, double 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