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

Home » Public Forums » archive » Re: Dilating at image boundaries
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
Re: Dilating at image boundaries [message #46058] Thu, 03 November 2005 08:59 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Peter Albert writes:

> So the problem seems to be the structuring element extending outside
> the vector. Is this a bug or a feature? I don't know.

I guess it depends on whether you are selling the software
or trying to build something with it. :-)

For the programmer it certainly is a pain in the neck.

Typically, you have to add a "border" of pixels around your
image before you do the operation, then remove the border
when you are finished. A quick read of the Dimensional
Juggling Tutorial and the Array Concatenation Tutorial
will give you some clues on how to add the border efficiently.

Cheers,

David
---
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Dilating at image boundaries [message #46192 is a reply to message #46058] Fri, 04 November 2005 01:20 Go to previous message
peter.albert@gmx.de is currently offline  peter.albert@gmx.de
Messages: 108
Registered: July 2005
Senior Member
Hi David,

that sounds reasonable. And well, shouldn't one read all those
tutorials regularly from time to time? :-) So this is a good reason for
doing it again...

Cheers,

Peter
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Keyword_Set function
Next Topic: Re: Printinf Latitudes & Longitudes in a MAP using IDL

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

Current Time: Wed Oct 08 15:15:39 PDT 2025

Total time taken to generate the page: 0.21435 seconds