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

Home » Public Forums » archive » IDL5.5 XROI problem...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL5.5 XROI problem... [message #30260] Thu, 11 April 2002 19:38
qi_p is currently offline  qi_p
Messages: 1
Registered: April 2002
Junior Member
Hi,

My name is Qi(Chee), This is my first time posting here. I have a very
strange problem when I use IDL XROI program. I wrote a short program
as follows:

pro test1
image =READ_DICOM('E:\EllingtonK\46.dcm');whatever image
XROI, image, $
r,g,b,REGIONS_IN=region1,$
REGIONS_OUT=region2, ROI_SELECT_COLOR=roi_select_color,$
ROI_COLOR=roi_color, REJECTED=rejected, ROI_GEOMETRY=Geo1, $
STATISTICS=Stat1,/BLOCK
OBJ_DESTROY, rejected
print, Geo1
print,Stat1
end

When I run the program it will stop when the XROI interface appears.
Then I draw a ROI and close the program. Everything is fine. But if I
draw more than one ROIs IDL will corrupt.

The error message says: the instruction at “0x04fe5317”
referenced memory at “0x01bff25c”. The memory could not be
“read”.

If I delete "STATISTICS=Stat1" and leave "ROI_GEOMETRY=Geo1" there and
run the program again, it will be always OK. So it means that
"STATISTICS" function of XROI can't take more than one ROI but
ROI_GEOMETRY can. I do not know if it is the same case for anybody
else, or it is because of my IDL. I am using IDL5.5 on Windows NT4.0
Sp6.

Thanks a lot for your help.
[Message index]
 
Read Message
Previous Topic: Rotation of 3D image in Object Graphics
Next Topic: Re: TVRD, Decomposed = ? and 24bit display

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

Current Time: Sat Oct 11 09:44:23 PDT 2025

Total time taken to generate the page: 0.00854 seconds