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 #73618 is a reply to message #73617] Tue, 16 November 2010 08:02 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:56, David Fanning <n...@dfanning.com> wrote:
> Oriol Güell Riera writes:
>> The problem is that it works fine for small stacks of images but not
>> for large ones, the pc crashes.
>
> Yes, and I presume you think it should work for large
> stacks of images. That's the assumption I think I would
> focus the investigation on. You assume large stacks
> are similar to small stacks in all ways except size.
> Are they? Does your program evolve over time to do
> something you don't expect it to? Larger stacks
> mean longer running times. These are just two of
> the hundred or so theories I could come up with if
> I had five minutes. You are going to have to play
> detective this morning. Don't you watch CSI? It's
> going to be FUN! :-)
>
> 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.")

It seems I will have to do become Sherlock Holmes, because when I use
erode and dilate for the large stack it works fine, the problem is
that it detects more particles because erode and dilate separate the
pixels. Due to this, I erase erode and dilate, so I think that the
only modification in the program is that the pixels are not going to
get modified, but the rest of the program is exactly the same. The
thing that makes me go mad is that the program works with erode and
dilate and it doesn't work when I remove them. It is strange, it
should work without modifying the image.
I'll keep investigating.
Thank you again David,
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: Fri Oct 10 11:05:15 PDT 2025

Total time taken to generate the page: 1.19900 seconds