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

Home » Public Forums » archive » Re: Trying to read very big image in IDL
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: Trying to read very big image in IDL [message #68921] Tue, 08 December 2009 16:30 Go to previous message
Chris[6] is currently offline  Chris[6]
Messages: 84
Registered: July 2008
Member
On Dec 8, 11:02 am, Alexander Sousa <antina...@gmail.com> wrote:
> Hello everyone, i've found much of the information found here quite
> useful, which is why i require of your help for the following (sorry
> if my english is somewhat poor):
> -I'm trying to read an awfully large image (14402 cols, 9602 rows, 2
> bands, floating-point data), stored in tiff format, the problem is:
> when i try to read it using the READ_TIFF IDL throws an error saying
> it can't allocate memory to make such array... I can easily export the
> image to different data types, so feel free to advice a format
> migration; i'd be very grateful if you provided me with an efficient
> way to achieve this task.
>
> Thank you, Alexander

The SUB_RECT keyword in READ_TIFF will allow you to extract a subimage
within your large file. There's a chance that the image is too big to
fit in ram (by my calculation, it's around 1 GB). If this is the case,
then your only choice is to process the image in chunks using sub_rect

chris
[Message index]
 
Read Message
Read Message
Previous Topic: Arithmetic Errors Windows 64-bit Object Graphics
Next Topic: Vectorize procedure

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

Current Time: Sun Oct 12 12:07:38 PDT 2025

Total time taken to generate the page: 1.35986 seconds