#! /bin/csh -f # Last edited on 2001-10-27 16:01:28 by stolfi # # convert ceram-1.png iab-ceram-1.ppm # # cat iab-ceram-1.ppm \ # | pnmrotate -4 \ # > iab-ceram-1-r.ppm # # cat iab-ceram-1-r.ppm \ # | pnmcut 30 83 290 392 \ # > iab-ceram-1-c.ppm cat iab-ceram-1-c.ppm \ | ppmtopgm \ | pnmdepth 255 \ > iab-ceram-1-c.pgm # Generate a smoothed version of the image: # cat iab-ceram-1-c.pgm \ # | pnmsmooth | pnmsmooth | pnmsmooth | pnmsmooth | pnmsmooth \ # > iab-ceram-1-c-s.pgm # cat iab-ceram-1-c-s.pgm \ # | pnmsmooth | pnmsmooth | pnmsmooth | pnmsmooth | pnmsmooth \ # > iab-ceram-1-c-ss.pgm # cat iab-ceram-1-c-ss.pgm \ # | pnmsmooth | pnmsmooth | pnmsmooth | pnmsmooth | pnmsmooth \ # > iab-ceram-1-c-sss.pgm # cat iab-ceram-1-c-sss.pgm \ # | pnmsmooth | pnmsmooth | pnmsmooth | pnmsmooth | pnmsmooth \ # > iab-ceram-1-c-ssss.pgm # # pnmxarith -mix 1.0 -0.6 iab-ceram-1-c.pgm iab-ceram-1-c-ssss.pgm \ # > iab-ceram-1-sharp.pgm # cat iab-ceram-1-sharp.pgm \ | pgmnorm -bvalue 0 -wvalue 104 \ | pnmscale 2 \ | pnmdepth 255 \ > iab-ceram-1-norm.pgm