comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL's built-in function DILATE and ERODE doesn't work as described in help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL's built-in function DILATE and ERODE doesn't work as described in help [message #50717] Wed, 11 October 2006 19:33 Go to previous message
gqshen2008@gmail.com is currently offline  gqshen2008@gmail.com
Messages: 9
Registered: October 2005
Junior Member
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?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL's built-in function DILATE and ERODE doesn't work as described in help
Next Topic: Re: sorting string arrays - non alphabetic and user defined order

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:35:23 PDT 2025

Total time taken to generate the page: 0.00569 seconds