morph_distance [message #31606] |
Wed, 31 July 2002 15:28  |
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   |
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  |
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
|
|
|