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

Home » Public Forums » archive » Re: How do I visualize images .tiff stored in an array of pointers?
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: How do I visualize images .tiff stored in an array of pointers? [message #52826 is a reply to message #52825] Fri, 02 March 2007 07:11 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
aleks.franca@gmail.com writes:

> I can't visualize it using TV. I'm doing
> something like...
>
> ;
> nbOfImages = 2
>
> filter = ['*.tif']
> arr_img = ptrarr(NbOfImages)
>
> for i = 0, NbOfImages-1 do begin
> arr_img[i] = ptr_new(dialog_pickfile(path = 'C:\RSI\IDL63\examples
> \data', filter = filter))
> endfor
>
> tv, *arr_img[0] ; My problem is here. this is only for testing. I
> wanted to visualize the
> ;image in this point
> ;
> ;
> Help me on that, please.

I think you want to distinguish between the name of
an image file, which is what you have stored in your
arr_img array, and image data, which is something
entirely different. You will have to actually read
the image file to obtain the image data. Once you
have the data, the TV command will work a lot better. :-)

You will find the HELP command useful as you try
to debug your programs and understand the errors they
generate.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Store images into an array of images
Next Topic: Inexplicable tvrd() behavior

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

Current Time: Sun Oct 12 13:09:29 PDT 2025

Total time taken to generate the page: 1.20194 seconds