stdalgorithm.hpp File Reference

#include "imgclass.hpp"
#include "kube-gustavson-fft.hpp"
#include "matrixutil.hpp"
#include "minmaxheap.hpp"
#include <vector>
#include <cmath>

Include dependency graph for stdalgorithm.hpp:

base refererrect $imgclass_8hpp.html 370,149 458,173rect $matrixutil_8hpp.html 535,199 621,222rect $kube-gustavson-fft_8hpp.html 343,346 485,370rect $minmaxheap_8hpp.html 358,248 470,272rect $vc6compat_8h.html 535,246 621,270

This graph shows which files directly or indirectly include this file:

base refererrect $xgrayimg_8hpp.html 352,7 610,31rect $xgray__tcl_8hpp.html 352,55 610,78rect $stdalgorithm_8cpp.html 344,102 618,126

Go to the source code of this file.

Classes

class  Parabelzentrum
struct  minborder
struct  maxborder
struct  valleyborder
struct  countfunc
struct  hydrosum
struct  azimuth_average
struct  minmaxpos< T >
struct  getmax< T >
struct  getmin< T >
class  bildcomplex
struct  vec2d
struct  mean_avg
struct  surface
class  Voronoischnitt

Defines

#define LOCALMIN(y1, x1, y2, x2)   if ((hub(y,x)<=hub(y1,x1)) && (hub(y,x) <= hub(y2,x2))) return true

Typedefs

typedef imgbase
< 512, 512, COMPLEX
bildcomplex_base
typedef std::pair< float, float > Point
typedef std::vector< Pointcell

Functions

template<typename TBild, typename TFunctor, typename TBorder>
void execute_hubbel (const TBild &hubbelbild, region_t &region, int x, int y, const TBorder &border, TFunctor &fun)
template<typename TFunctor>
void execute_region (const region_t &region, TFunctor &fun)
double abs (const vec2d &v)
template<typename TFunctor>
void line_iterate (const vec2d &P1, const vec2d &P2, TFunctor &fun)
bool pnpoly (int npol, float *xp, float *yp, float x, float y)


Define Documentation

#define LOCALMIN ( y1,
x1,
y2,
x2   )     if ((hub(y,x)<=hub(y1,x1)) && (hub(y,x) <= hub(y2,x2))) return true


Typedef Documentation

typedef imgbase<512, 512, COMPLEX> bildcomplex_base

Definition at line 214 of file stdalgorithm.hpp.

typedef std::vector<Point> cell

Definition at line 234 of file stdalgorithm.hpp.

typedef std::pair<float, float> Point

Definition at line 232 of file stdalgorithm.hpp.


Function Documentation

double abs ( const vec2d v  )  [inline]

Definition at line 270 of file stdalgorithm.hpp.

References vec2d::x, and vec2d::y.

template<typename TBild, typename TFunctor, typename TBorder>
void execute_hubbel ( const TBild &  hubbelbild,
region_t region,
int  x,
int  y,
const TBorder &  border,
TFunctor &  fun 
) [inline]

Definition at line 69 of file stdalgorithm.hpp.

References Parabelzentrum::xmax, and Parabelzentrum::xmin.

template<typename TFunctor>
void execute_region ( const region_t region,
TFunctor &  fun 
) [inline]

Definition at line 135 of file stdalgorithm.hpp.

References MAP, Parabelzentrum::x(), and Parabelzentrum::y().

template<typename TFunctor>
void line_iterate ( const vec2d P1,
const vec2d P2,
TFunctor &  fun 
) [inline]

Definition at line 276 of file stdalgorithm.hpp.

References abs(), vec2d::x, and vec2d::y.

bool pnpoly ( int  npol,
float *  xp,
float *  yp,
float  x,
float  y 
)

Definition at line 249 of file stdalgorithm.cpp.

Referenced by Voronoischnitt::contains().


Generated on Fri Jul 24 12:49:17 2009 for Xgrayimg Library by  doxygen 1.5.5