9 #ifndef CFeatureExtraction_H
10 #define CFeatureExtraction_H
137 TORBOptions() : n_levels(8), min_distance(0), scale_factor(1.2f),extract_patch(false) {}
157 TSURFOptions() : rotation_invariant(true),hessianThreshold(600), nOctaves(2), nLayersPerOctave(4) { }
185 } PolarImagesOptions;
194 } LogPolarImagesOptions;
218 const unsigned int init_ID = 0,
219 const unsigned int nDesiredFeatures = 0,
238 void computeDescriptors(
243 #if 0 // Delete? see comments in .cpp
255 unsigned int nDesiredFeats = 0)
const;
280 static void detectFeatures_SSE2_FASTER9(
283 const int threshold = 20,
284 bool append_to_list =
false,
286 std::vector<size_t> * out_feats_index_by_row = NULL );
290 static void detectFeatures_SSE2_FASTER10(
293 const int threshold = 20,
294 bool append_to_list =
false,
296 std::vector<size_t> * out_feats_index_by_row = NULL );
300 static void detectFeatures_SSE2_FASTER12(
303 const int threshold = 20,
304 bool append_to_list =
false,
306 std::vector<size_t> * out_feats_index_by_row = NULL );
363 #if 0 // Delete? see comments in .cpp
369 void selectGoodFeaturesKLT(
372 unsigned int init_ID = 0,
373 unsigned int nDesiredFeatures = 0)
const;
381 void extractFeaturesKLT(
384 unsigned int init_ID = 0,
385 unsigned int nDesiredFeatures = 0,
397 void extractFeaturesBCD(
400 unsigned int init_ID = 0,
401 unsigned int nDesiredFeatures = 0,
413 void extractFeaturesSIFT(
416 unsigned int init_ID = 0,
417 unsigned int nDesiredFeatures = 0,
428 void extractFeaturesORB(
431 const unsigned int init_ID = 0,
432 const unsigned int nDesiredFeatures = 0,
444 void extractFeaturesSURF(
447 unsigned int init_ID = 0,
448 unsigned int nDesiredFeatures = 0,
459 void extractFeaturesFAST(
462 unsigned int init_ID = 0,
463 unsigned int nDesiredFeatures = 0,
468 void extractFeaturesFASTER_N(
472 unsigned int init_ID = 0,
473 unsigned int nDesiredFeatures = 0,
485 void* my_scale_space_extrema(
487 int octvs,
int intvls,
double contr_thr,
int curv_thr,
488 void* storage )
const;
493 void my_adjust_for_img_dbl(
void* features )
const;
504 void getTimesExtrema(
void* dog_pyr,
int octvs,
int intvls,
float row,
float col,
unsigned int &nMin,
unsigned int &nMax )
const;
513 double getLaplacianValue(
void* dog_pyr,
int octvs,
int intvls,
float row,
float col )
const;
520 void insertCvSeqInCFeatureList(
void* features,
CFeatureList &list,
unsigned int init_ID = 0 )
const;