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 #include "../../Workers/Puma2/ImageMask.h"
00015
00016 #include <vector>
00017
00023 class KeyPointHelper
00024 {
00025
00026 public:
00027
00032 static void bBoxFilter( std::vector< KeyPoint > keyPointsIn, std::vector< KeyPoint >& keyPointsOut,
00033 Box2D<> boundingBox );
00034
00039 static void maskFilter( std::vector< KeyPoint > keyPointsIn, std::vector< KeyPoint >& keyPointsOut,
00040 ImageMask& mask );
00041
00042 static void getStrongest( std::vector< KeyPoint > keyPointsIn, std::vector< KeyPoint >& keyPointsOut, unsigned numKeyPoints );
00043
00044 static void sortByStrength( std::vector< KeyPoint > keyPointsIn, std::vector< KeyPoint >& keyPointsOut );
00045
00047 static void imageBorderFilter( std::vector< KeyPoint > keyPointsIn, std::vector< KeyPoint >& keyPointsOut, int imgWidth, int imgHeight );
00048
00049 };
00050
00051 #endif