Re: Disappearing image [message #28902] |
Thu, 17 January 2002 06:03 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Akhila (idlfreak@yahoo.com) writes:
> I have a image segmented and for further analysis i thresholded the
> image. The image is now in binary format. I have to segment the saved
> binary image for further analysis. I can see the image in a small
> window when the function DIALOG_READ_IMAGE is used. But when i click
> on "OPEN", the image is not displayed. I tried to open the image using
> MS-Image Composer, i'm not able to open it there to. All i see is a
> BLACK background.
I think it is likely that you have fallen prey, as
I always seem to do, to DIALOG_READ_IMAGE's less than
intuitive interface. The function doesn't actually
return the image data. That has to be retrieved via
the Image keyword. Duh!
You might prefer my SelectImage program, which also
shows you a preview image and information about the
image, but returns the image data as the result of
the function:
http://www.dfanning.com/programs/selectimage.pro
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|