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

Home » Public Forums » archive » morph_distance
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
morph_distance [message #31606] Wed, 31 July 2002 15:28 Go to next message
McDelia is currently offline  McDelia
Messages: 1
Registered: July 2002
Junior Member
Hi,
When morph_distance is employed on images that have distances >256, IDL
crashes. Has anyone else had this problem? If so, is there a work-around
I can not rebin my image to a smaller image). Does anyone have a version
that returns an int image instead? Also, can anyone tell me where the
error logs are kept?

Thanks, Delia
Re: morph_distance [message #31718 is a reply to message #31606] Fri, 02 August 2002 15:52 Go to previous messageGo to next message
Ted Cary is currently offline  Ted Cary
Messages: 53
Registered: October 2001
Member
Hi,

I have not seen this problem. In my experience, MORPH_DISTANCE does not
crash when creating distance maps with distances of greater than 256, which
is what I think you are asking. On my machine, MORPH_DISTANCE outputs arrays
of type INT or UINT unless NEIGHBOR_SAMPLING is set to 3. Could you
clarify the problem or post the code that crashes?

There is an !ERROR _STATE system variable which logs the most recent error.

TC

McDelia wrote:

> Hi,
> When morph_distance is employed on images that have distances >256, IDL
> crashes. Has anyone else had this problem? If so, is there a work-around
> I can not rebin my image to a smaller image). Does anyone have a version
> that returns an int image instead? Also, can anyone tell me where the
> error logs are kept?
>
> Thanks, Delia
Re: morph_distance [message #31812 is a reply to message #31606] Mon, 19 August 2002 01:14 Go to previous message
Karsten Rodenacker is currently offline  Karsten Rodenacker
Messages: 98
Registered: July 1997
Member
Hi,
I found a similar problem. If you try
help,morph_distance(bytarr(128),neigh=3) idl crashes.
With singular points try first a dilation to get reliable distances
(reliable means greater than 1).


McDelia schrieb:
>
> Hi,
> When morph_distance is employed on images that have distances >256, IDL
> crashes. Has anyone else had this problem? If so, is there a work-around
> I can not rebin my image to a smaller image). Does anyone have a version
> that returns an int image instead? Also, can anyone tell me where the
> error logs are kept?
>
> Thanks, Delia

--
Karsten Rodenacker ()
------------------------------------------------------------ -------------:-)
GSF - Forschungszentrum Institute of Biomathematics and Biometry
D-85758 Oberschleissheim Postfach 11 29
Tel: +49 89 31873401 | FAX: ...3369 | rodena@gsf.de |
Karsten@Rodenacker.de
http://www.gsf.de/ibb/homepages/rodenacker
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: contouring into continents only
Next Topic: Re: UNCOMPRESS files on PCs

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

Current Time: Wed Oct 08 14:55:57 PDT 2025

Total time taken to generate the page: 0.00336 seconds