#include #include class Image { public: int rows, columns; unsigned char **pixel; void Initialize(int h, int w) { rows=h; columns=w; pixel=new unsigned char*[rows]; for(int i=0;i< rows;i++) { pixel[i]=new unsigned char[columns]; } } void Read(char *filename) { int i,j; ifstream in(filename, ios::binary); for(i=0;i