00001 #ifndef Impala_Core_Keypoint_Detector_h 00002 #define Impala_Core_Keypoint_Detector_h 00003 #include "Core/Table/TableTem.h" 00004 #include "Core/Column/ColumnTem.h" 00005 00006 namespace Impala{ 00007 namespace Core{ 00008 namespace KeyPoint{ 00009 00010 typedef enum { 00011 DOG = 1 00012 } DetectorType; 00013 00014 typedef Table::TableTem<Column::ColumnTem<Real64>,//sigma 00015 Column::ColumnTem<Real64>,//x coord () 00016 Column::ColumnTem<Real64>,//y coord 00017 Column::ColumnTem<Real64>,//octave 00018 Column::ColumnTem<Real64>,//level 00019 Column::ColumnTem<Real64> //orientation 00020 > KeyPointTableType; 00021 00022 class Detector{ 00023 public: 00024 KeyPointTableType* mKeyPoints; 00025 00026 public: 00027 Detector(){} 00028 virtual void FindKeyPoints() = 0; 00029 virtual KeyPointTableType* GetKeyPoints(){ 00030 return mKeyPoints; 00031 }; 00032 00033 }; 00034 00035 }}} 00036 00037 #endif