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 #73620 is a reply to message #73619] Tue, 16 November 2010 07:38 Go to previous messageGo to previous message
Oriol Güell Riera is currently offline  Oriol Güell Riera
Messages: 7
Registered: September 2010
Junior Member
On 16 nov, 16:27, David Fanning <n...@dfanning.com> wrote:
> 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.")

The problem is that it works fine for small stacks of images but not
for large ones, the pc crashes.
Thanks,
Oriol
[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: Wed Oct 08 19:34:45 PDT 2025

Total time taken to generate the page: 0.00438 seconds