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

Home » Public Forums » archive » Re: Crashing ROI's
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: Crashing ROI's [message #82042 is a reply to message #82031] Sun, 11 November 2012 06:34 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Fab writes:

> The following program makes IDL crash with a fatal error on my machine
> ({ x86_64 linux unix linux 7.1.1 Aug 21 2009 64 64})
>
> Does it also crash on yours? Mine crashes with maxrois=1050
>
> pro rois_crash
>
> x = [10, 20, 20, 10, 10]
> y = [10, 20, 20, 10, 10]
>
> for n=1, 100 do begin
> maxrois = n * 50
> print, maxrois
> roi = OBJ_NEW('IDLanROIGroup')
> for i=0, maxrois do roi->Add, OBJ_NEW('IDLanROI', x, y)
> mask = roi->ComputeMask(DIMENSIONS=[41,41])
> OBJ_DESTROY, roi
> endfor
>
> end
>
> Any suggestion on how to overcome this problem is welcome. Reducing the
> number of ROI's is ok, but not effective...

Don't know when mine crashes, but it definitely takes
IDL down completely! Windows 8.2.1 on Windows 7.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Beginner: Oplot line t^(-5/3)
Next Topic: correlation of single pixels

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

Current Time: Fri Oct 10 17:10:11 PDT 2025

Total time taken to generate the page: 0.08555 seconds