Re: IDL's built-in function DILATE and ERODE doesn't work as described in help [message #50716 is a reply to message #50714] |
Wed, 11 October 2006 19:40   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Gongqin Shen writes:
> For example, if you have the data as a = [0, 1, 1, 0] and kernel as k
> = [1, 1], according to the help provided by IDL, the result of running
> the code:
> result = DILATE(a, k)
> will be [0, 1, 1, 0], however, IDL's output is [1, 1, 1, 0].
> ERODE performs in a similar way. Does that mean the help is actually
> broken?
I think it means DILATE and ERODE are broken, but you
are sure to hear from Karsten Rodenacker about this. He
has been sending pleas to the folks at ITTVIS for years,
all without effect. Maybe the two of you could gang up
on them. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|