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

Home » Public Forums » archive » Read _ tiff with Sub_Rect Keyword
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
Read _ tiff with Sub_Rect Keyword [message #44929] Wed, 20 July 2005 23:43 Go to next message
raval.chintan is currently offline  raval.chintan
Messages: 54
Registered: May 2005
Member
Hi...

I have a geo tiff file which containing the 14000 X 14000 Pixels
(Samples and Lines), I am reading it through the read_tiff function.
Over here i want to show that image on to the 500 X 500 window Means
by buffer for image will contain dimension [3,500,500]. For that I am
reading with the help of read_tiff function with the sub_rect keyword.
Where i m reading the pixels based on the ratio of 14000/500, but it is
taking to much time. While the same thing in ENVI it is taking less
time to read the image and display it. So is there any other method for
read that image fast. for that i have to write my own code in IDL to
read the tiff file?

Regards,
Chintan Raval
Re: Read _ tiff with Sub_Rect Keyword [message #44978 is a reply to message #44929] Wed, 27 July 2005 23:27 Go to previous message
raval.chintan is currently offline  raval.chintan
Messages: 54
Registered: May 2005
Member
Hi Chris,

Thank you for your valuable suggestion that makes my program much
faster.
I am a coming from C++ programming backgroud. So i m new to IDL.
While learning IDL i came to know that LOOPS are making program much
slower,so instead of loops one should use the direct array operation
that are provided by IDL,
I have even checked out with some examples, that loops will make your
program slower.
But i m thinking that while processing with array internally it is
using loops, but in much faster way, i tried to find this answer, but
i do not get success. I have some compiler designing concept and
autometa theory concept. So if you have some idea then i would like to
know about it.

With regards,
Chintan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Read _ tiff with Sub_Rect Keyword
Next Topic: Re: Installing IDL 6.1 on debian linux

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

Current Time: Fri Oct 10 12:17:34 PDT 2025

Total time taken to generate the page: 0.95430 seconds