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 #52825 is a reply to message #52824] Fri, 02 March 2007 07:27 Go to previous messageGo to previous message
aleks.franca@gmail.co is currently offline  aleks.franca@gmail.co
Messages: 33
Registered: March 2007
Member
On 2 mar, 12:11, David Fanning <n...@dfanning.com> wrote:
> aleks.fra...@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.")

I already got it. Thank you very much.
[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 12:35:55 PDT 2025

Total time taken to generate the page: 1.99885 seconds