Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef KeyPointHelper_H
00009 #define KeyPointHelper_H
00010
00011 #include "KeyPoint.h"
00012
00013 #include "Workers/Math/Box2D.h"
00014
00015 #include "ImageMaskCV.h"
00016
00017 #include <vector>
00018
00024 class KeyPointHelper
00025 {
00026
00027 public:
00028
00033 static void bBoxFilter( std::vector< KeyPoint > keyPointsIn, std::vector< KeyPoint >& keyPointsOut,
00034 Box2D<> boundingBox );
00035
00040 static void maskFilter( std::vector< KeyPoint > keyPointsIn, std::vector< KeyPoint >& keyPointsOut,
00041 ImageMaskCV &mask );
00042
00043 static void getStrongest( std::vector< KeyPoint > keyPointsIn, std::vector< KeyPoint >& keyPointsOut, unsigned numKeyPoints );
00044
00045 static void sortByStrength( std::vector< KeyPoint > keyPointsIn, std::vector< KeyPoint >& keyPointsOut );
00046
00048 static void imageBorderFilter( std::vector< KeyPoint > keyPointsIn, std::vector< KeyPoint >& keyPointsOut, int imgWidth, int imgHeight );
00049
00050 };
00051
00052 #endif