|
Re: Store images into an array of images [message #52816 is a reply to message #52764] |
Fri, 02 March 2007 09:02  |
aleks.franca@gmail.co
Messages: 33 Registered: March 2007
|
Member |
|
|
On 2 mar, 13:38, "Jean H." <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
> Aleks,
>
> Dialog_pickfile() returns the path + filename of your file... it doesn't
> open it. With this information, you can use READ_TIFF (or other,
> depending on the format of your data) to get the data and then to
> display it!
>
> Jean
>
>> Thak you very much, Jean. It helped me a lot, but I have other
>> problem. I just started working with IDL, so my questions are a little
>> silly.
>> My problem know is that I can't visualize it using TV. I'm doing
>> something like...
>
>> ; this is a test
>> ;
>> 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] ; this is only for testing. I wanted to visualize the
>> image in this point
>> ;
>> ;
>> Help me on that, please.
Thank you very much. I appreciate your help
Aleksander
|
|
|
Re: Store images into an array of images [message #52819 is a reply to message #52764] |
Fri, 02 March 2007 08:38  |
Jean H.
Messages: 472 Registered: July 2006
|
Senior Member |
|
|
Aleks,
Dialog_pickfile() returns the path + filename of your file... it doesn't
open it. With this information, you can use READ_TIFF (or other,
depending on the format of your data) to get the data and then to
display it!
Jean
> Thak you very much, Jean. It helped me a lot, but I have other
> problem. I just started working with IDL, so my questions are a little
> silly.
> My problem know is that I can't visualize it using TV. I'm doing
> something like...
>
> ; this is a test
> ;
> 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] ; this is only for testing. I wanted to visualize the
> image in this point
> ;
> ;
> Help me on that, please.
>
|
|
|