Math Utilities. More...
Go to the source code of 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) |
int | imResample (int x, float factor) |
template<class T , class TU > | |
T | imZeroOrderDecimation (int width, int height, T *map, float xl, float yl, float box_width, float box_height, TU Dummy) |
template<class T , class TU > | |
T | imBilinearDecimation (int width, int height, T *map, float xl, float yl, float box_width, float box_height, TU Dummy) |
template<class T > | |
T | imZeroOrderInterpolation (int width, int height, T *map, float xl, float yl) |
template<class T > | |
T | imBilinearInterpolation (int width, int height, T *map, float xl, float yl) |
template<class T , class TU > | |
T | 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) |
See Copyright Notice in im_lib.h