Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef HoughIndexCalculator_H
00012 #define HoughIndexCalculator_H
00013
00014 #include "../KeyPointExtraction/KeyPoint.h"
00015
00021 class HoughIndexCalculator
00022 {
00023 public:
00024 static void calculateScaleIndex(double scaleQuotient, int& scaleIndexFloor, int& scaleIndexCeil);
00025 static void calculateOrientationIndex(double turnAngle, int& orientationFloor, int& orientationCeil);
00026 static void calculatePositionIndex(KeyPoint sceneKeyPoint, KeyPoint objectKeyPoint, Point2D center, int w, int h, int& xDistanceFloor, int& xDistanceCeil, int& yDistanceFloor, int& yDistanceCeil);
00027
00028 };
00029
00030 #endif