#include <cmath>
Go to the source code of this file.
Classes | |
struct | rgb |
Typedefs | |
typedef unsigned char | uchar |
Functions | |
template<class T > | |
T | abs (const T &x) |
template<class T > | |
T | bound (const T &x, const T &min, const T &max) |
template<class T > | |
bool | check_bound (const T &x, const T &min, const T &max) |
double | gaussian (double val, double sigma) |
bool | operator== (const rgb &a, const rgb &b) |
template<class T > | |
int | sign (const T &x) |
template<class T > | |
T | square (const T &x) |
int | vlib_round (float x) |
int | vlib_round (double x) |
T bound | ( | const T & | x, |
const T & | min, | ||
const T & | max | ||
) | [inline] |
bool check_bound | ( | const T & | x, |
const T & | min, | ||
const T & | max | ||
) | [inline] |
int vlib_round | ( | float | x | ) | [inline] |
int vlib_round | ( | double | x | ) | [inline] |