polyora/patchtagger.cpp File Reference

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

Include dependency graph for patchtagger.cpp:

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 Documentation

#define atd ( dbinx,
dbiny,
dbint   )     *(dpt + (dbint)*binto + (dbiny)*binyo + (dbinx)*binxo)

#define M_2PI   6.283185307179586476925286766559f

#define M_PI   3.141592653589793238462643383279f

Definition at line 32 of file patchtagger.cpp.


Function Documentation

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.


Generated on Tue Mar 30 15:53:23 2010 for Polyora by  doxygen 1.5.9