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

Home » Public Forums » archive » Re: Programmatically subset one image using ENVI routines.
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: Programmatically subset one image using ENVI routines. [message #49672 is a reply to message #49664] Tue, 08 August 2006 09:40 Go to previous messageGo to previous message
Jeff N. is currently offline  Jeff N.
Messages: 120
Registered: April 2005
Senior Member
Perhaps you should post the error message it gives you, that would be
helpful. Or, if it doesn't give you an error, but the results are not
what you expect, explain how the results are different.

Jeff


txominhermos@gmail.com wrote:
> Hi mates, I have a big image, so I just can use ENVI routines to avoid
> the RAM memory saturation. I would like to subset an image with a given
> pixel coordinates.
>
> I would like to output the image to TIFF, so I have tried to do it
> directly:
>
>
>
> ENVI_OUTPUT_TO_EXTERNAL_FORMAT, dims = [-1, min_s, max_s-min_s+1,
> min_l, max_l-min_l+1], /TIFF, FID=fid,$
> pos=pos, out_name='c:\cir.tif'
>
>
> where min_s, max_s, min_l, max_l are the pixels which are limits to
> perform the subset.
>
> I thought that I had to indicate the limits in DIMS, but it seems not
> to work.
>
> Do you know how to do it? I don't mind use ENVI_WRITE_ENVI_FILE if it
> is not possible with ENVI_OUTPUT_TO_EXTERNAL_FORMAT.
>
>
> Thanks for your attention
>
>
>
> -txomin
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: SHMMAP and structures
Next Topic: Interactive mode in IDL

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

Current Time: Fri Oct 10 19:23:29 PDT 2025

Total time taken to generate the page: 0.79736 seconds