Hauptseite | Liste aller Namensbereiche | Klassenhierarchie | Alphabetische Liste | Übersicht | Auflistung der Dateien | Elemente eines Namensbereiches | Datenstruktur-Elemente | Datei-Elemente

seemicro Namensbereichsreferenz


Übersicht

struct  CannyModule
class  CannyOutput
struct  CorrelationModule
class  CorrelationOutput
class  EinzeichnenOutput
class  fileResource
struct  FindLEDSModule
class  FindLEDSOutput
struct  GraphOutput
struct  GrayModule
class  Homeo2Serial
struct  HSVColorChooser
struct  HSVRange
struct  ImageFile
class  ImageOutput
struct  ImageSource
class  LogOutput
struct  maximum
class  Micro
struct  MicroAdam
struct  MicroController
struct  MicroEva
struct  mypoint
struct  myrect
struct  OutputModule
struct  PolarCorrelationModule
struct  polarLine
struct  PolarModule
class  PolarOutput
class  PreviewOutput
class  RecognitionModule
struct  SearchAnglesAdam
struct  SearchRadiusModule
class  SearchRadiusOutput
struct  videoDevice

Funktionen

std::ostream & operator<< (std::ostream &s, const HSVRange &r)
uchar getInterpolated8u_1 (IplImage *img, float xf, float yf)
float normalizePI (const float angle)
void alphaBetaFromPoint (const mypoint p, const float radius, const float theta, float &alpha, float &beta)
char * palette2string (int palette)
string types2string (int type)
CvScalar toColorScalar (double v, int(*above_threshold)(double))
void IplImage2fftw_real (IplImage *img, double *ff, int ffwidth, int ffheight)
void doubles2IplImage (double scale, IplImage *img, double *ff, int ffwidth, int ffheight, int(*above_threshold)(double))
void fftw_complex2IplImages (fftw_complex *ff, IplImage *outR, IplImage *outI)
void fftw_complex2IplImageMagnitude (fftw_complex *ff, IplImage *magnitude)
void fftw_complex_multiply (fftw_complex *a, fftw_complex *b, int w, int h)
void fftw_complex_multiply_conjugate (fftw_complex *a, fftw_complex *b, int w, int h)
double try_mark_region (double *ff, int width, int height, int(*above_threshold)(double), int x, int y, int *x_max, int *y_max, double scale)
int find_maxima (struct maximum *maxima, int width, int height, double *ff, int(*above_threshold)(double), int max_maxima)
void findMaxPoint (int width, int height, double *ff, double min_threshold, maximum *max)
void rgb2hsv (int rgbIn, unsigned short *piOutHue, unsigned short *piOutSaturation, unsigned short *piOutValue)
int hsv2rgb (int h, unsigned char s, unsigned char v)
int LIMIT (int x)
int YuvToRgb (int yuv)
void yuv420p_unpack_2_rgb24 (const unsigned char *src, char *dst, int width, int height)
void yuv420p_unpack_shrink_halfsize (char *src, char *dest, int width, int height)
void convertYuvToRgb (char *image, int width, int height)
std::ostream & operator<< (std::ostream &s, const Micro &m)
std::ostream & operator<< (std::ostream &s, const MicroAdam &m)
void circular_shift (IplImage *src, IplImage *dst, int dx, int dy)
mypoint operator+ (const mypoint &p1, const mypoint &p2)
mypoint operator- (const mypoint &p1, const mypoint &p2)
std::ostream & operator<< (std::ostream &s, const mypoint &p)
double abs (const mypoint &p)
std::ostream & operator<< (std::ostream &s, const myrect &r)
double sqr (const double x)
uchar getPixel8u_1 (const IplImage *img, const int x, const int y)
void putPixel8u_1 (const IplImage *img, const int x, const int y, const uchar c)
int getPixel8u_3 (const IplImage *img, const int x, const int y)
void putPixel8u_3 (const IplImage *img, const int x, const int y, const int color)
double getPixel32f_1 (const IplImage *img, const int x, const int y)
void putPixel32f_1 (const IplImage *img, const int x, const int y, const double color)
float normalize2PI (const float angle)
float anglediff (float a1, float a2)
void cvPutTextSenkrecht (IplImage *img, const char *text, CvPoint p, CvFont *font, int color, int backgroundColor=0)
std::ostream & operator<< (std::ostream &s, const polarLine &l)

Variablen

const uchar MAXMARKS = 100
int DEBUGLEVEL = 0
const int MAX_MAX_MAXIMA = 30
const int MAXPL = 40
const int MAX_FRAMES4RATE = 10


Dokumentation der Funktionen

double abs const mypoint &  p  ) 
 

Berechnet Abstand des Punktes vom Koordinatenursprung

void alphaBetaFromPoint const mypoint  p,
const float  radius,
const float  theta,
float &  alpha,
float &  beta
 

float anglediff float  a1,
float  a2
[inline]
 

Berechnet absolute Differenz zwischen zwei Winkeln, vor allem wenn a1 ~ 2PI und a2 ~ 0. 0 <= return value <= M_PI. Unabhängig von OpenCV, aber hat auch in kein anderes Modul gepaßt.

void circular_shift IplImage *  src,
IplImage *  dst,
int  dx,
int  dy
 

Führt eine zirkuläre Verschiebeoperation eines Bildes um (dx, dy) Pixel aus. Was an einem Rand hinausgeschoben wird, wird am gegenüberliegenden Rand wieder ins Bild eingeblendet - daher die Bezeichnung "zirkulär". src & dst dürfen dasselbe Bild beinhalten - dann wird temporär ein weiteres IplImage angelegt.

src2 is split into 4 regions:

dx +----+----+ | 1 | 2 | +----+----+ | 3 | 4 | dy +----+----+

those regions are copied into dst: dx +----+----+ | 4 | 3 | dy +----+----+ | 2 | 1 | +----+----+

void convertYuvToRgb char *  image,
int  width,
int  height
 

void cvPutTextSenkrecht IplImage *  img,
const char *  text,
CvPoint  p,
CvFont *  font,
int  color,
int  backgroundColor = 0
[inline]
 

void doubles2IplImage double  scale,
IplImage *  img,
double *  ff,
int  ffwidth = 0,
int  ffheight = 0,
int(*  above_threshold)(double) = NULL
 

Converts a 2-dimensional double array back into an IplImage

void fftw_complex2IplImageMagnitude fftw_complex *  ff,
IplImage *  magnitude
 

Berechnet aus den Real- und Imaginär-Ergebnisbildern der Fourier-Vorwärtstransformation ein Betragsbild

void fftw_complex2IplImages fftw_complex *  ff,
IplImage *  outR,
IplImage *  outI
 

Converts a 2-dimensional double array back into two IplImages

void fftw_complex_multiply fftw_complex *  a,
fftw_complex *  b,
int  w,
int  h
 

Multiplies complex arrays a and b elementwise, stores result in a

void fftw_complex_multiply_conjugate fftw_complex *  a,
fftw_complex *  b,
int  w,
int  h
 

Multiplies complex arrays a and b elementwise, stores result in a

int find_maxima struct maximum *  maxima,
int  width,
int  height,
double *  ff,
int(*  above_threshold)(double),
int  max_maxima = 1
 

in image ff, with dimensions width*height

void findMaxPoint int  width,
int  height,
double *  ff,
double  threshold_value,
maximum *  max
 

Findet das globale Maximum im Bild in ff

uchar getInterpolated8u_1 IplImage *  img,
float  xf,
float  yf
[inline]
 

double getPixel32f_1 const IplImage *  img,
const int  x,
const int  y
[inline]
 

Holt ein Pixel aus einem IplImage. Version für Bilder vom Typ float, 32 bit, single plane.

uchar getPixel8u_1 const IplImage *  img,
const int  x,
const int  y
[inline]
 

Holt ein Pixel aus einem IplImage. Version für Bilder vom Typ unsigned int, 8 bit, single plane,

int getPixel8u_3 const IplImage *  img,
const int  x,
const int  y
[inline]
 

Holt ein Pixel aus einem IplImage. Version für Bilder vom Typ unsigned int, 8 bit, 3 planes.

int hsv2rgb int  h,
unsigned char  s,
unsigned char  v
 

chromatic color taken from http://www.efg2.com/Lab/Graphics/Colors/HSV.htm 0 <= h <= 360, 0 <= s <= 255, 0 <= v <= 255

void IplImage2fftw_real IplImage *  img,
double *  ff,
int  ffwidth = 0,
int  ffheight = 0
 

Converts IplImage to a 2-dimensional double array for use with fftw * can embed smaller image in bigger array * can embed smaller array in larger image * call with 2 args if size(ff) is same as size(img) * Image pixel values should be 0<=pixel<=255

int LIMIT int  x  ) 
 

float normalize2PI const float  angle  )  [inline]
 

Normalisiert geg. Winkel so, daß er zwischen 0 und 2*PI liegt

float normalizePI const float  angle  ) 
 

Normalisiert gegebenen Winkel so, daß er zwischen 0 und PI liegt

mypoint operator+ const mypoint &  p1,
const mypoint &  p2
 

mypoint operator- const mypoint &  p1,
const mypoint &  p2
 

std::ostream& operator<< std::ostream &  s,
const polarLine &  l
 

std::ostream& operator<< std::ostream &  s,
const myrect &  r
 

Gibt ein myrect in einen Stream aus.

std::ostream& operator<< std::ostream &  s,
const mypoint &  p
 

Gibt einen mypoint in einen Stream aus.

std::ostream& operator<< std::ostream &  s,
const MicroAdam &  m
 

std::ostream& operator<< std::ostream &  s,
const Micro &  m
 

Ausgabe der Parameter dieses Objektes in einen Stream

std::ostream& operator<< std::ostream &  s,
const HSVRange &  r
 

Gibt eine HSVRange in einen Stream aus.

char* palette2string int  palette  ) 
 

void putPixel32f_1 const IplImage *  img,
const int  x,
const int  y,
const double  color
[inline]
 

Setzt ein Pixel in einem IplImage. Version für Bilder vom Typ float, 32 bit, single plane

void putPixel8u_1 const IplImage *  img,
const int  x,
const int  y,
const uchar  c
[inline]
 

Setzt ein Pixel in einem IplImage. Version für Bilder vom Typ unsigned int, 8 bit, single plane,

void putPixel8u_3 const IplImage *  img,
const int  x,
const int  y,
const int  color
[inline]
 

Setzt ein Pixel in einem IplImage. Version für Bilder vom Typ unsigned int, 8 bit, 3 planes.

void rgb2hsv int  rgbIn,
unsigned short *  piOutHue,
unsigned short *  piOutSaturation,
unsigned short *  piOutValue
 

von http://www.buena.com/articles/hsvspace.pdf

double sqr const double  x  )  [inline]
 

CvScalar toColorScalar double  v,
int(*  above_threshold)(double) = NULL
 

Converts double value into coded color: gray = normal, ie 0<=pixel<=255; red = out of range, ie. fabs(pixel>255); green = v>255 and above_threshold(v)

double try_mark_region double *  ff,
int  width,
int  height,
int(*  above_threshold)(double),
int  x,
int  y,
int *  x_max,
int *  y_max,
double  scale
 

Returns maximum value & location of 4-connected region: deletes checked values from input image, searches recursively;

TODO: hand over less arguments during recursion!!! ff: fftw image (not complex) with width*height dimensions

string types2string int  type  ) 
 

void yuv420p_unpack_2_rgb24 const unsigned char *  src,
char *  dst,
int  width,
int  height
 

Wandelt das Bild im planaren YUV-Format in ein ausgepacktes nicht-planares "YUV444"(?)-Format, gleichzeitig erfolgt auch yuv2rgb-Konvertierung. Credits to Rene Liebscher :) Siehe auch file:///home/micha/studium/diplom/v4l/v4l2doc/v4l2.html#PIXFMT-YVU420

void yuv420p_unpack_shrink_halfsize char *  src,
char *  dest,
int  width,
int  height
 

int YuvToRgb int  yuv  ) 
 


Variablen-Dokumentation

int seemicro::DEBUGLEVEL = 0
 

0 = fatal 1 = warnings 2 = info 3 = flood

const int seemicro::MAX_FRAMES4RATE = 10
 

const int seemicro::MAX_MAX_MAXIMA = 30
 

const uchar seemicro::MAXMARKS = 100
 

Maximale Anzahl an zu vergebenden Markierungen 5 sollten zwar für 5 LEDs reichen, aber es gibt aj so viel Spam heutzutage, insbesondere weil die LEDs teilweise nur grau statt grün leuchten.

const int seemicro::MAXPL = 40
 


Erzeugt am Sun Oct 3 12:53:33 2004 für seemicro von doxygen 1.3.2