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

Home » Public Forums » archive » dilate
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
dilate [message #8313] Wed, 26 February 1997 00:00 Go to next message
Achim Hein is currently offline  Achim Hein
Messages: 42
Registered: February 1996
Member
Some days ago, we spoke about ERODE and DILATE-Routines. To offer our
routines, we have to export them to 'C' - so the dilating routine too.
While testing the DILATE routine, we find a little difference between
the IDL/WAVE and the C-routines.

As I understand it till now it seems to be a problem in IDL or - there
is truly the possibility - I do not understand it right.

First of all, the dilation looks if only one pixel of an interesting
area (field) is equal to the structuring element before setting the
resulting pixel (middle of the structuring element) to one. The
resulting image has the same size as the incoming array.

So let us look the following example:

the field is given by:
..............
0 0 0 1 1 ... second row
0 0 0 1 1 ... first row

dilated with the structuring element:

0 1 0
1 1 1
0 1 1

I expect the result like this:
...
0 0 1 1 ... second row
0 0 1 1 ... first row

But IDL gives:

...
0 0 1 1 1 ... second row
0 0 0 1 1 ... first row

Can anybody explain this? Borderproblems?

Thanks

Achim
--
_______________________________________________

Dipl.-Ing. A. Hein
PB2 / ZESS - Uni-GH-Siegen
Paul-Bonatz Str. 9-11
57068 Siegen
Phone: 0271/740-3362
Fax: 0271/740-2336
Mail: Hein@nv.et-inf.uni-siegen.de
_______________________________________________

Please have a look at our Web-Sites:

http://www.nv.et-inf.uni-siegen.de/pb2/www_pb2
_______________________________________________
Re: dilate [message #70599 is a reply to message #8313] Thu, 22 April 2010 04:53 Go to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Thu, 22 Apr 2010 03:09:13 -0700 (PDT), bindhu js
<bindhujs@gmail.com> wrote:

> How dilation can be done through IDL

Try IDL's DILATE function.
Re: dilate [message #70602 is a reply to message #8313] Thu, 22 April 2010 03:54 Go to previous message
MC is currently offline  MC
Messages: 50
Registered: September 1996
Member
On Apr 22, 10:09 pm, bindhu js <bindh...@gmail.com> wrote:
> How dilation can be done through IDL

RTFM
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Unsigned Integer Math Problem
Next Topic: GridData Conundrum

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

Current Time: Wed Oct 08 11:34:27 PDT 2025

Total time taken to generate the page: 0.00857 seconds