libvot  0.1.3
A C++11 multithread library for image retrieval
vlfeat_libvot_api.h
Go to the documentation of this file.
1 
7 #ifndef VLFEAT_LIBVOT_API_H
8 #define VLFEAT_LIBVOT_API_H
9 
10 extern "C" {
11 #include <vl/generic.h>
12 #include <vl/sift.h>
13 }
14 #include "utils/data_types.h"
15 #include <string>
16 
17 namespace tw {
21 struct VlFeatParam {
22  VlFeatParam () : edge_thresh(-1), peak_thresh(-1), magnif(-1) {}
23  double edge_thresh;
24  double peak_thresh;
25  double magnif;
26 };
27 
31 struct Vlfeature {
32  float x;
33  float y;
34  float scale;
35  float orientation;
36  float descr[128];
37 };
38 
39 int RunVlFeature(unsigned char *data, int image_width, int image_height, int num_channel,
40  SiftData &sift_data, VlFeatParam const & vlfeat_param);
41 } // end of namespace tw
42 
43 #endif
a struct containing the data of vlfeat features
Definition: vlfeat_libvot_api.h:31
VlFeatParam()
Definition: vlfeat_libvot_api.h:22
float x
Definition: vlfeat_libvot_api.h:32
float descr[128]
Definition: vlfeat_libvot_api.h:36
double edge_thresh
Definition: vlfeat_libvot_api.h:23
float y
Definition: vlfeat_libvot_api.h:33
int RunVlFeature(unsigned char *data, int image_width, int image_height, int num_channel, SiftData &sift_data, VlFeatParam const &vlfeat_param)
Definition: vlfeat_libvot_api.cpp:161
float scale
Definition: vlfeat_libvot_api.h:34
double peak_thresh
Definition: vlfeat_libvot_api.h:24
Sift data structure used in libvot.
Definition: data_types.h:22
float orientation
Definition: vlfeat_libvot_api.h:35
namespace tw is mostly related to some utility functions developed by the repository owner...
Definition: opencv_libvot_api.cpp:12
double magnif
Definition: vlfeat_libvot_api.h:25
a parameter struct used in calling vlfeat sift function
Definition: vlfeat_libvot_api.h:21
internal data types (structs and classes) used in libvot