#include <limits>#include "patchtagger.h"#include <highgui.h>#include <iostream>#include <math.h>#include "kmeantree.h"

Go to the source code of this file.
Defines | |
| #define | M_2PI 6.283185307179586476925286766559f |
| #define | M_PI 3.141592653589793238462643383279f |
| #define | atd(dbinx, dbiny, dbint) *(dpt + (dbint)*binto + (dbiny)*binyo + (dbinx)*binxo) |
Functions | |
| static unsigned | rand_range (unsigned max) |
| static void | normalize_histogram (float *L_begin, float *L_end) |
| Normalizes in norm L_2 a descriptor. | |
| #define atd | ( | dbinx, | |||
| dbiny, | |||||
| dbint | ) | *(dpt + (dbint)*binto + (dbiny)*binyo + (dbinx)*binxo) |
Referenced by patch_tagger::compute_sift_descriptor().
| #define M_2PI 6.283185307179586476925286766559f |
Definition at line 29 of file patchtagger.cpp.
Referenced by patch_tagger::cmp_descriptor(), patch_tagger::compute_sift_descriptor(), and patch_tagger::project().
| #define M_PI 3.141592653589793238462643383279f |
Definition at line 32 of file patchtagger.cpp.
| static void normalize_histogram | ( | float * | L_begin, | |
| float * | L_end | |||
| ) | [static] |
Normalizes in norm L_2 a descriptor.
Definition at line 361 of file patchtagger.cpp.
Referenced by patch_tagger::compute_sift_descriptor().
| static unsigned rand_range | ( | unsigned | max | ) | [static] |
Definition at line 88 of file patchtagger.cpp.
1.5.9