#!/bin/csh -f

set name=$1 
set imgCED=/home/starbird/project/imgCED

imgPnmToFlt < $name.ppm | imgFltToPgm > $name.pgm

imgPnmToFlt < $name.pgm | imgSmooth 1 | imgCanny | imgFltToPgm > $name.canny.pgm
imgPpmToFlt3 < $name.ppm | imgSmooth 1 | $imgCED | imgFltToPgm > $name.CED.pgm

imgPnmToFlt < $name.canny.pgm | imgEdgeSynth > $name.canny.pbm
imgPnmToFlt < $name.CED.pgm | imgEdgeSynth > $name.CED.pbm
