#!/bin/csh
# tophat -- tophat transform of a gray-level image
# (original image minus the function-set opening of the image)

set argc = ($*)

if ( "$#argc" < "1" ) then
   echo "usage:  tophat < RasFileIn  > RasFileOut  SE_spec"
   exit 
endif

morph -m t -i g -s g -o s -k $* -z

