Classes | Typedefs | Functions | Variables
distance_transform Namespace Reference

Classes

class  image
class  pnm_error
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)
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 >
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)

Variables

const double BLUE_WEIGHT = 0.114
const short BUF_SIZE = 256
const double GREEN_WEIGHT = 0.584
const double INF = 1E20
const double RED_WEIGHT = 0.299

Typedef Documentation

typedef unsigned char distance_transform::uchar

Definition at line 27 of file misc.h.


Function Documentation

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

Definition at line 36 of file misc.h.

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

Definition at line 45 of file misc.h.

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

Definition at line 50 of file misc.h.

static float* distance_transform::dt ( float *  f,
int  n 
) [static]

Definition at line 33 of file dt.h.

static void distance_transform::dt ( image< float > *  im) [static]

Definition at line 66 of file dt.h.

static image<float>* distance_transform::dt ( image< uchar > *  im,
uchar  on = 1 
) [static]

Definition at line 99 of file dt.h.

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

Definition at line 58 of file misc.h.

static image<uchar>* distance_transform::imageFLOATtoUCHAR ( image< float > *  input,
float  min,
float  max 
) [static]

Definition at line 92 of file imconv.h.

static image<uchar>* distance_transform::imageFLOATtoUCHAR ( image< float > *  input) [static]

Definition at line 111 of file imconv.h.

static image<rgb>* distance_transform::imageGRAYtoRGB ( image< uchar > *  input) [static]

Definition at line 51 of file imconv.h.

static image<float>* distance_transform::imageINTtoFLOAT ( image< int > *  input) [static]

Definition at line 79 of file imconv.h.

static image<uchar>* distance_transform::imageLONGtoUCHAR ( image< long > *  input,
long  min,
long  max 
) [static]

Definition at line 130 of file imconv.h.

static image<uchar>* distance_transform::imageLONGtoUCHAR ( image< long > *  input) [static]

Definition at line 148 of file imconv.h.

static image<uchar>* distance_transform::imageRGBtoGRAY ( image< rgb > *  input) [static]

Definition at line 35 of file imconv.h.

static image<uchar>* distance_transform::imageSHORTtoUCHAR ( image< short > *  input,
short  min,
short  max 
) [static]

Definition at line 154 of file imconv.h.

static image<uchar>* distance_transform::imageSHORTtoUCHAR ( image< short > *  input) [static]

Definition at line 173 of file imconv.h.

static image<float>* distance_transform::imageUCHARtoFLOAT ( image< uchar > *  input) [static]

Definition at line 66 of file imconv.h.

static image<long>* distance_transform::imageUCHARtoLONG ( image< uchar > *  input) [static]

Definition at line 117 of file imconv.h.

template<class T >
void distance_transform::load_image ( image< T > **  im,
const char *  name 
)

Definition at line 185 of file pnmfile.h.

static image<uchar>* distance_transform::loadPBM ( const char *  name) [static]

Definition at line 84 of file pnmfile.h.

static image<uchar>* distance_transform::loadPGM ( const char *  name) [static]

Definition at line 116 of file pnmfile.h.

static image<rgb>* distance_transform::loadPPM ( const char *  name) [static]

Definition at line 150 of file pnmfile.h.

template<class T >
void distance_transform::min_max ( image< T > *  im,
T *  ret_min,
T *  ret_max 
)

Definition at line 31 of file imutil.h.

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

Definition at line 31 of file misc.h.

static void distance_transform::pnm_read ( std::ifstream &  file,
char *  buf 
) [static]

Definition at line 68 of file pnmfile.h.

static void distance_transform::read_packed ( unsigned char *  data,
int  size,
std::ifstream &  f 
) [static]

Definition at line 38 of file pnmfile.h.

template<class T >
void distance_transform::save_image ( image< T > *  im,
const char *  name 
)

Definition at line 205 of file pnmfile.h.

static void distance_transform::savePBM ( image< uchar > *  im,
const char *  name 
) [static]

Definition at line 106 of file pnmfile.h.

static void distance_transform::savePGM ( image< uchar > *  im,
const char *  name 
) [static]

Definition at line 141 of file pnmfile.h.

static void distance_transform::savePPM ( image< rgb > *  im,
const char *  name 
) [static]

Definition at line 175 of file pnmfile.h.

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

Definition at line 39 of file misc.h.

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

Definition at line 42 of file misc.h.

template<class T >
image<uchar>* distance_transform::threshold ( image< T > *  src,
int  t 
)

Definition at line 53 of file imutil.h.

int distance_transform::vlib_round ( float  x) [inline]

Definition at line 54 of file misc.h.

int distance_transform::vlib_round ( double  x) [inline]

Definition at line 56 of file misc.h.

static void distance_transform::write_packed ( unsigned char *  data,
int  size,
std::ofstream &  f 
) [static]

Definition at line 52 of file pnmfile.h.


Variable Documentation

const double distance_transform::BLUE_WEIGHT = 0.114

Definition at line 33 of file imconv.h.

const short distance_transform::BUF_SIZE = 256

Definition at line 34 of file pnmfile.h.

const double distance_transform::GREEN_WEIGHT = 0.584

Definition at line 32 of file imconv.h.

const double distance_transform::INF = 1E20

Definition at line 30 of file dt.h.

const double distance_transform::RED_WEIGHT = 0.299

Definition at line 31 of file imconv.h.



grid_map_sdf
Author(s): Takahiro Miki , Péter Fankhauser
autogenerated on Mon Oct 9 2017 03:09:34