Classes | Typedefs | Functions
misc.h File Reference
#include <cmath>
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rgb

Typedefs

typedef unsigned char uchar

Functions

template<class T >
abs (const T &x)
template<class 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 >
square (const T &x)
int vlib_round (float x)
int vlib_round (double x)

Typedef Documentation

typedef unsigned char uchar

Definition at line 30 of file misc.h.


Function Documentation

template<class T >
T abs ( const T &  x) [inline]

Definition at line 39 of file misc.h.

template<class T >
T bound ( const T &  x,
const T &  min,
const T &  max 
) [inline]

Definition at line 48 of file misc.h.

template<class T >
bool check_bound ( const T &  x,
const T &  min,
const T &  max 
) [inline]

Definition at line 53 of file misc.h.

double gaussian ( double  val,
double  sigma 
) [inline]

Definition at line 61 of file misc.h.

bool operator== ( const rgb a,
const rgb b 
) [inline]

Definition at line 34 of file misc.h.

template<class T >
int sign ( const T &  x) [inline]

Definition at line 42 of file misc.h.

template<class T >
T square ( const T &  x) [inline]

Definition at line 45 of file misc.h.

int vlib_round ( float  x) [inline]

Definition at line 57 of file misc.h.

int vlib_round ( double  x) [inline]

Definition at line 59 of file misc.h.



iri_leaf_fitting
Author(s): Sergi Foix
autogenerated on Fri Dec 6 2013 20:28:17