00001 00002 // represents the covariance matrix for a given color region 00003 // the layout of the matrix is as follows: 00004 // v1 v2 v3 00005 // v4 v5 v6 00006 // v7 v8 v9 00007 00008 00009 #ifndef COLOR_COVARIANCE_H_ 00010 #define COLOR_COVARIANCE_H_ 00011 00012 class Color_covariance { 00013 00014 public: 00015 Color_covariance(); 00016 Color_covariance(double i[], int num); 00017 ~Color_covariance(); 00018 00019 private: 00020 int num_cov; 00021 double *v; 00022 00023 }; 00024 00025 #endif