Math Utilities. More...


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 > | |
| T | imAbs (const T &v) |
| int | imResampleInt (int x, double factor) |
| template<class T , class TU > | |
| T | imZeroOrderDecimation (int width, int height, T *map, double xl, double yl, double box_width, double box_height, TU Dummy) |
| template<class T , class TU > | |
| T | imBilinearDecimation (int width, int height, T *map, double xl, double yl, double box_width, double box_height, TU Dummy) |
| template<class T > | |
| T | imZeroOrderInterpolation (int width, int height, T *map, double xl, double yl) |
| template<class T > | |
| T | imBilinearInterpolation (int width, int height, T *map, double xl, double yl) |
| template<class T , class TU > | |
| T | 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) |
See Copyright Notice in im_lib.h
1.7.1