00001
00002
00003 #ifndef GFM_COMPUTEGROUPSMATCH_C_WRAPPER_H
00004 #define GFM_COMPUTEGROUPSMATCH_C_WRAPPER_H
00005
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009
00010
00011 void JafarGfmHarrisDetector_create(float scale_factor,
00012 float derivationSigma,
00013 float convolutionSigma,
00014 int cornerness,
00015 float threshold,
00016 char fixnumber,
00017 int desirednum);
00018
00019 void JafarGfmGroupsMatcher_create(unsigned int halfWidthWindowSearch,
00020 unsigned int halfHeightWindowSearch,
00021 unsigned int groupsize,
00022 unsigned int minimalgroupsize,
00023 double distance,
00024 double closeness,
00025 double distinguability,
00026 double rotationTolerance,
00027 double scaleTolerance,
00028 double distanceTolerance,
00029 double rotationDifferenceWithMedian,
00030 double thresholdofenoughtgroup);
00031
00032 void JafarGfmEngine_create(int width, int height, int reduction);
00033
00034 void JafarGfmEngine_computeMatch(unsigned char const* charImageRef,
00035 unsigned char const* charImageMatch,
00036 double** points_ref,
00037 double** points_match,
00038 int* num_matchs);
00039
00040 void JafarGfmEngine_destroy();
00041
00042
00043
00044
00045 #ifdef __cplusplus
00046 }
00047 #endif
00048
00049 #endif // GFM_COMPUTEGROUPSMATCH_C_WRAPPER_H