00001 00007 #ifndef EMOPTIONS_HPP 00008 #define EMOPTIONS_HPP 00009 00010 using namespace std; 00011 using namespace cv; 00012 00023 class EMOptions 00024 { 00025 public: 00030 int K; 00037 DytexRegOptions regopt; 00042 double termvalue; 00047 double termvalBest; 00052 int maxiter; 00053 00058 enum Verbose_mode{QUITE,COMPACT,VERBOSE}; 00063 Verbose_mode verbose; 00070 DytexSplitParams emptySplitOpt; 00077 DytexSplitParams splitOpt; 00078 00079 public: 00080 //initialize EM options 00081 EMOptions(int K,DytexRegOptions regopt,double termvalue,Verbose_mode verbose); 00082 }; 00083 00084 #endif
1.6.1