00001 #ifndef UMatrix_H 00002 #define UMatrix_H 00003 00004 #include "defs.h" 00005 #include "Mapcode.h" 00006 00020 class UMatrix { 00021 public: 00023 TMatrix umatrix( const Mapcode* mapcode, int mode, bool normalized ); 00024 00025 00026 private: 00027 Value_Type calc_min( TVecValue a ); 00028 00029 Value_Type calc_max( TVecValue a ); 00030 00031 Value_Type calc_median( TVecValue a ); 00032 00033 Value_Type calc_mean( TVecValue a ); 00034 00035 Value_Type calc_uvalue( TVecValue a, int mode ); 00036 00037 TMatrix hexa_umatrix( const Mapcode * mapcode, int mode, bool normalized ); 00038 00039 TMatrix rect_umatrix( const Mapcode * mapcode, int mode, bool normalized ); 00040 00041 TMatrix normalizeU( TMatrix U, int uy, int ux ); 00042 00043 }; 00044 00045 00046 #endif