Hi Steve,
after figuring out "dc", your command worked great. A difference of
GUI-filtered image and command-line-line filtered image gives zero matrix.
As many times before, thank you very much for help.
Martin
PS: I wonder, if a susan_smooth could have a option like, if bt=-1 than bt is
determined by avwstat. It would be very usefull particularly in the cases
like my own.
On Tuesday 04 February 2003 17:35, you wrote:
> Hi - the TCL GUI calculates the "robust" intensity range using
> avwstats <image> -r
> and then divides this by 10 to get the threshold fed to susan_smooth.
>
> so for example, if you are writing a bourne-shell script, you would do
> something like (eg to set dt=5):
>
> A=input
> t=`avwstats $A -r | awk '{print "10 k " $2 " " $1 " - 10 / p"}' | dc -`
> susan_smooth $A $t ${A}_susan 5 3 1 0
>
> hope this works ok!
> Steve.
>
|