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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: How do I visualize images .tiff stored in an array of pointers? [message #52815] Fri, 02 March 2007 09:10
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
aleks.franca@gmail.com writes:

> My problem is that I'm a starter in IDL language, so every little
> thing is a big problem for me.
> Thank you for your patient.

It's no problem being a beginner. Just be sure you
are doing your homework and realize everyone here is
*suppose* to be doing something productive with their
time besides answering questions. You really only have
to ask once. If someone knows the answer, or has time
to respond, they will.

In this case, I think we were giving you time to
discover for yourself what was wrong. When someone
jumps on the newsgroup like this, and starts asking
obvious questions, and seems in a big hurry for the
answer, there is a tendency to think we are doing
someone's homework assignment for them. We are not
here for that. But I think you will find we tolerate
all kinds of real questions cheerfully.

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.")
Re: How do I visualize images .tiff stored in an array of pointers? [message #52817 is a reply to message #52815] Fri, 02 March 2007 08:59 Go to previous message
aleks.franca@gmail.co is currently offline  aleks.franca@gmail.co
Messages: 33
Registered: March 2007
Member
On 2 mar, 12:32, David Fanning <n...@dfanning.com> wrote:
> aleks.fra...@gmail.com writes:
>> I already got it. Thank you very much.
>
> I think the delay in answering your (multiple) questions
> was because we thought it entirely likely that you had. :-)
>
> 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.")

My problem is that I'm a starter in IDL language, so every little
thing is a big problem for me.
Thank you for your patient.

Aleksander.
Re: How do I visualize images .tiff stored in an array of pointers? [message #52824 is a reply to message #52817] Fri, 02 March 2007 07:32 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
aleks.franca@gmail.com writes:

> I already got it. Thank you very much.

I think the delay in answering your (multiple) questions
was because we thought it entirely likely that you had. :-)

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.")
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 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.
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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sat Oct 11 12:36:26 PDT 2025

Total time taken to generate the page: 0.24085 seconds