//--------------------------------------------------- // t r e e . h //--------------------------------------------------- class tree { public: tree () { nos_row =0; nos_column=0; table = new (unsigned char*) [1];} tree ( int row, int column); ~tree(); void re_initialize ( int row, int column); void writetree ( int level, char * base_name ); unsigned char ** table; int nos_row; int nos_column; }; void haar_on_tree ( tree &low, tree & high); void haar_on_five ( unsigned char *mix, unsigned char *hor, unsigned char *ver, unsigned char *dia, unsigned char *avg ); void writetree_Colour ( tree &R, tree &G, tree &B, int level, char * base_name );