IDL5.5 XROI problem... [message #30260] |
Thu, 11 April 2002 19:38 |
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.
|
|
|