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 42 of file misc.h.

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

Definition at line 51 of file misc.h.

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

Definition at line 56 of file misc.h.

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

Definition at line 64 of file misc.h.

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

Definition at line 37 of file misc.h.

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

Definition at line 45 of file misc.h.

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

Definition at line 48 of file misc.h.

int vlib_round ( float  x) [inline]

Definition at line 60 of file misc.h.

int vlib_round ( double  x) [inline]

Definition at line 62 of file misc.h.



cpl_superpixels
Author(s): Tucker Hermans
autogenerated on Wed Nov 27 2013 11:38:57