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

Home » Public Forums » archive » LABEL_REGION
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
LABEL_REGION [message #5576] Tue, 09 January 1996 00:00 Go to previous message
Hermann Mannstein is currently offline  Hermann Mannstein
Messages: 22
Registered: September 1995
Junior Member
Hello,

LABEL_REGION (IDL 4.01) has a nasty behaviour :

IDL> d=361
IDL> a=(indgen(d,d) mod 2)^2
IDL> b=a*rotate(a,1) ; produce a dot-pattern
IDL> a=label_region(b)
Bus error(coredump)

if the number of regions exceeds 2^15(or something like this),
it ends the IDL-session ungracefully. With d=363 I got a
-- Memory fault(coredump) (on a SGI), with d=361 a
Segmentation fault(coredump). Is there a version around,
which allows for more regions - i. e. switches to long integer if
necessary? or at least catches the error?

Thanks in advance

Regards,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
Hermann Mannstein Tel.: +49 8153 28-2503
Institut fuer Physik der Atmosphaere or -2558
DLR - Oberpfaffenhofen Fax.: +49 8153 28-1841
Postfach 1116 \ mailto:H.Mannstein@dlr.de
D-82230 Wessling \ 0 http://www.op.dlr.de/~pa64
Germany ________\/|________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`--------\--------'~ ~~~~~~~~~~~~~~~~~~~~
\
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Array-making speed
Next Topic: arrow object

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

Current Time: Wed Oct 08 17:39:23 PDT 2025

Total time taken to generate the page: 0.00465 seconds