00001 #ifndef _DLLBP_H_ 00002 #define _DLLBP_H_ 00003 00004 extern "C" 00005 { 00006 #include "LBP.h" 00007 } 00008 #include <vector> 00009 #include "DLImage.h" 00010 00011 using namespace std; 00012 00017 class DLLBP 00018 { 00019 public: 00020 00024 DLLBP(); 00025 00029 virtual ~DLLBP(); 00030 00036 vector<double> getNormalizedHistogram( DLImage im ); 00037 00043 vector<int> getHistogram( DLImage im ); 00044 00050 bool saveHist( string filename ); 00051 00052 protected: 00053 00055 vector<int> hist; 00056 }; 00057 00058 #endif