libvot  0.1.3
A C++11 multithread library for image retrieval
Functions
libvot_feature.cpp File Reference

libvot feature generater (exe) More...

#include <iostream>
#include <vector>
#include <thread>
#include <mutex>
#include "gflags/gflags.h"
#include "libvot_config.h"
#include "utils/io_utils.h"
#include "utils/global_params.h"
#include "utils/data_types.h"
#include "feature/opencv_libvot_api.h"
#include "feature/vlfeat_libvot_api.h"
#include <vl/generic.h>
#include <vl/sift.h>

Functions

 DEFINE_string (output_folder,"","feature output folder, the same as the input folder if not specified")
 
 DEFINE_int32 (feature_type, 0,"feature type, 0 for opencv sift, 1 for vlfeat sift")
 
 DEFINE_int32 (thread_num,-1,"thread num")
 
 DEFINE_double (edge_thresh, 10,"edge threshold for vlfeat parameter")
 
 DEFINE_double (peak_thresh, 2.5,"peak threshold for vlfeat parameter")
 
void MultiVlfeatSiftExtract (std::vector< std::string > *image_filenames, std::vector< std::string > *feat_filenames, tw::VlFeatParam *vlfeat_param, int first_index, int num_images, std::mutex *cout_mutex)
 
int main (int argc, char **argv)
 

Detailed Description

libvot feature generater (exe)

Function Documentation

DEFINE_double ( edge_thresh  ,
10  ,
"edge threshold for vlfeat parameter"   
)
DEFINE_double ( peak_thresh  ,
2.  5,
"peak threshold for vlfeat parameter"   
)
DEFINE_int32 ( feature_type  ,
,
"feature  type,
0 for opencv  sift,
1 for vlfeat sift"   
)
DEFINE_int32 ( thread_num  ,
1,
"thread num"   
)
DEFINE_string ( output_folder  ,
""  ,
"feature output  folder,
the same as the input folder if not specified"   
)
int main ( int  argc,
char **  argv 
)
void MultiVlfeatSiftExtract ( std::vector< std::string > *  image_filenames,
std::vector< std::string > *  feat_filenames,
tw::VlFeatParam vlfeat_param,
int  first_index,
int  num_images,
std::mutex *  cout_mutex 
)