Ü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 |
|
|
Berechnet Abstand des Punktes vom Koordinatenursprung |
|
||||||||||||||||||||||||
|
|
|
||||||||||||
|
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. |
|
||||||||||||||||||||
|
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 | +----+----+ |
|
||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
Converts a 2-dimensional double array back into an IplImage |
|
||||||||||||
|
Berechnet aus den Real- und Imaginär-Ergebnisbildern der Fourier-Vorwärtstransformation ein Betragsbild |
|
||||||||||||||||
|
Converts a 2-dimensional double array back into two IplImages |
|
||||||||||||||||||||
|
Multiplies complex arrays a and b elementwise, stores result in a |
|
||||||||||||||||||||
|
Multiplies complex arrays a and b elementwise, stores result in a |
|
||||||||||||||||||||||||||||
|
in image ff, with dimensions width*height |
|
||||||||||||||||||||||||
|
Findet das globale Maximum im Bild in ff |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Holt ein Pixel aus einem IplImage. Version für Bilder vom Typ float, 32 bit, single plane. |
|
||||||||||||||||
|
Holt ein Pixel aus einem IplImage. Version für Bilder vom Typ unsigned int, 8 bit, single plane, |
|
||||||||||||||||
|
Holt ein Pixel aus einem IplImage. Version für Bilder vom Typ unsigned int, 8 bit, 3 planes. |
|
||||||||||||||||
|
chromatic color taken from http://www.efg2.com/Lab/Graphics/Colors/HSV.htm 0 <= h <= 360, 0 <= s <= 255, 0 <= v <= 255 |
|
||||||||||||||||||||
|
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 |
|
|
|
|
|
Normalisiert geg. Winkel so, daß er zwischen 0 und 2*PI liegt |
|
|
Normalisiert gegebenen Winkel so, daß er zwischen 0 und PI liegt |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Gibt ein myrect in einen Stream aus. |
|
||||||||||||
|
Gibt einen mypoint in einen Stream aus. |
|
||||||||||||
|
|
|
||||||||||||
|
Ausgabe der Parameter dieses Objektes in einen Stream |
|
||||||||||||
|
Gibt eine HSVRange in einen Stream aus. |
|
|
|
|
||||||||||||||||||||
|
Setzt ein Pixel in einem IplImage. Version für Bilder vom Typ float, 32 bit, single plane |
|
||||||||||||||||||||
|
Setzt ein Pixel in einem IplImage. Version für Bilder vom Typ unsigned int, 8 bit, single plane, |
|
||||||||||||||||||||
|
Setzt ein Pixel in einem IplImage. Version für Bilder vom Typ unsigned int, 8 bit, 3 planes. |
|
||||||||||||||||||||
|
|
|
|
||||||||||||
|
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) |
|
||||||||||||||||||||||||||||||||||||||||
|
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 |
|
|
|
|
||||||||||||||||||||
|
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 |
|
||||||||||||||||||||
|
|
|
|
|
|
|
0 = fatal 1 = warnings 2 = info 3 = flood |
|
|
|
|
|
|
|
|
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. |
|
|
|
1.3.2