#!/bin/csh
# isodel -- delete isolated pixels in a binary image
# a gray level image can be pre-thresholded using the -t option

set argc = ($*)

if ( "$#argc" < "1" ) then
   echo "usage:  isodel  < RasFileIn  > RasFileOut  [-t lll [uuu]]"
   exit 
endif

morph -m p -i b -s b -o s -k isod8.tfm $*

