#include <iostream>#include <highgui.h>#include <fstream>#include "vobj_tracker_view.h"#include <QDir>#include <QInputDialog>#include <map>#include <polyora/timer.h>#include <math.h>#include <QTextEdit>
Go to the source code of this file.
Defines | |
| #define | M_2PI 6.283185307179586476925286766559f |
| #define | M_PI 3.141592653589793238462643383279f |
Functions | |
| void | gl_hash_mark (unsigned code, float x, float y, float orient=0, float r=5) |
| static bool | toggle (unsigned &flags, unsigned bit) |
| void | draw_keypoint (pyr_keypoint *k) |
| static void | HSVtoRGB (float *r, float *g, float *b, float h, float s, float v) |
| static void | gl_hash_color (unsigned key) |
| static void | setupHomography (const float H[3][3]) |
Variables | |
| const int | fps_stat_bin_size = 20 |
| static const char * | help |
| #define M_2PI 6.283185307179586476925286766559f |
Definition at line 33 of file vobj_tracker_view.cpp.
| #define M_PI 3.141592653589793238462643383279f |
Definition at line 36 of file vobj_tracker_view.cpp.
| void draw_keypoint | ( | pyr_keypoint * | k | ) |
Definition at line 389 of file vobj_tracker_view.cpp.
References pyr_keypoint::cid, pyr_keypoint::descriptor, gl_hash_mark(), patch_tagger::descriptor::orientation, pyr_keypoint::scale, point2d::u, and point2d::v.
| static void gl_hash_color | ( | unsigned | key | ) | [static] |
| void gl_hash_mark | ( | unsigned | code, | |
| float | x, | |||
| float | y, | |||
| float | orient = 0, |
|||
| float | r = 5 | |||
| ) |
| static void HSVtoRGB | ( | float * | r, | |
| float * | g, | |||
| float * | b, | |||
| float | h, | |||
| float | s, | |||
| float | v | |||
| ) | [static] |
| static void setupHomography | ( | const float | H[3][3] | ) | [static] |
Definition at line 644 of file vobj_tracker_view.cpp.
| static bool toggle | ( | unsigned & | flags, | |
| unsigned | bit | |||
| ) | [inline, static] |
Definition at line 220 of file vobj_tracker_view.cpp.
Referenced by vobj_tracker_view::keyPressEvent().
| const int fps_stat_bin_size = 20 |
Definition at line 41 of file vobj_tracker_view.cpp.
const char* help [static] |
Initial value:
"Key mapping:\n" "--- Database editing ---\n" "h - add current view as a new planar object\n" "backspace - delete visible object(s) from DB\n" "i - toggle incremental learning\n" "\n--- Video/Processing control ---\n" "tab - pause/resume video input\n" "space - pause/resume processing\n" "\n--- Display ---\n" "f: toggle fullscreen display\n" "1: Display key points\n" "2: Display tracks\n" "3: Show matched points\n" "4: Show augmented reality result\n" "g: toggle augmented reality display\n" "c: toggles gray/color display\n" "d: toggles image darkening for better constrast\n" "m: show/hide matches\n" "\n--- Miscellaneous ---\n" "s: save a screen shot as 'shot0000.png'\n" "q: quit the program\n" "z: reset view\n"
Definition at line 222 of file vobj_tracker_view.cpp.
1.5.9