- int ix, iy;
-
- im_in = new ImageFile ();
- im_in->fileRead (in_file);
- int nx = im_in->nx();
- int ny = im_in->ny();
- im_out = new ImageFile (nx, ny);
-
- ImageFileArray vIn = im_in->getArray();
- ImageFileArray vOut = im_out->getArray();
+ ImageFile im_in;
+ im_in.fileRead (in_file);
+ int nx = im_in.nx();
+ int ny = im_in.ny();
+ ImageFile im_out (nx, ny);