#!/bin/csh
# bclose -- binary closing of a binary image
# a gray level image can be pre-thresholded using the -t option

set argc = ($*)

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

morph -m c -i b -s g -o s -k $*


