|
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) |
|
static float * | dt (float *f, int n) |
|
static void | dt (image< float > *im) |
|
static image< float > * | dt (image< uchar > *im, uchar on=1) |
|
double | gaussian (double val, double sigma) |
|
static image< uchar > * | imageFLOATtoUCHAR (image< float > *input, float min, float max) |
|
static image< uchar > * | imageFLOATtoUCHAR (image< float > *input) |
|
static image< rgb > * | imageGRAYtoRGB (image< uchar > *input) |
|
static image< float > * | imageINTtoFLOAT (image< int > *input) |
|
static image< uchar > * | imageLONGtoUCHAR (image< long > *input, long min, long max) |
|
static image< uchar > * | imageLONGtoUCHAR (image< long > *input) |
|
static image< uchar > * | imageRGBtoGRAY (image< rgb > *input) |
|
static image< uchar > * | imageSHORTtoUCHAR (image< short > *input, short min, short max) |
|
static image< uchar > * | imageSHORTtoUCHAR (image< short > *input) |
|
static image< float > * | imageUCHARtoFLOAT (image< uchar > *input) |
|
static image< long > * | imageUCHARtoLONG (image< uchar > *input) |
|
template<class T > |
void | load_image (image< T > **im, const char *name) |
|
static image< uchar > * | loadPBM (const char *name) |
|
static image< uchar > * | loadPGM (const char *name) |
|
static image< rgb > * | loadPPM (const char *name) |
|
template<class T > |
void | min_max (image< T > *im, T *ret_min, T *ret_max) |
|
bool | operator== (const rgb &a, const rgb &b) |
|
static void | pnm_read (std::ifstream &file, char *buf) |
|
static void | read_packed (unsigned char *data, int size, std::ifstream &f) |
|
template<class T > |
void | save_image (image< T > *im, const char *name) |
|
static void | savePBM (image< uchar > *im, const char *name) |
|
static void | savePGM (image< uchar > *im, const char *name) |
|
static void | savePPM (image< rgb > *im, const char *name) |
|
template<class T > |
int | sign (const T &x) |
|
template<class T > |
T | square (const T &x) |
|
template<class T > |
image< uchar > * | threshold (image< T > *src, int t) |
|
int | vlib_round (float x) |
|
int | vlib_round (double x) |
|
static void | write_packed (unsigned char *data, int size, std::ofstream &f) |
|