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

Home » Public Forums » archive » Re: Problems with ERODE and DILATE functions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problems with ERODE and DILATE functions [message #73621 is a reply to message #73620] Tue, 16 November 2010 07:27 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Oriol Güell Riera writes:

> I have a problem with the "erode" and "dilate" functions. I have a
> program which tracks ellipses, and it uses these functions to improve
> the images. However, if I try to run the program without using "erode"
> and "dilate", the program crashes, it can't keep tracking the ellipses
> (I have got a stack of images and the program stops tracking at some
> point of the tracking). I don't know why it happens because if I
> rewrite the functions to the routine, the program finishes the
> tracking. The main problem is that "erode" and "dilate" modify
> sometimes my images, they separate my ellipses sometimes, so I have to
> erase the "erode" and "dilate" functions from the prorgam. In
> principle, these functions should not interfere if I put them out of
> the routine, but actually they do.

Your program is not doing what you *think* it is doing
quite yet. I would spend some time reviewing all your
assumptions and making sure they are true. About 99
percent of the time when you "don't know why it happens",
it is because of programmer error. :-)

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLPong, a Pong game in IDL.
Next Topic: Extracting info from the ASCII file with IDL

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

Current Time: Fri Oct 10 17:20:46 PDT 2025

Total time taken to generate the page: 1.35935 seconds