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

Home » Public Forums » archive » 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
Programmatically subset one image using ENVI routines. [message #49684] Tue, 08 August 2006 05:09
txominhermos is currently offline  txominhermos
Messages: 25
Registered: October 2005
Junior Member
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
Previous Topic: routine in ENVI to pass from EVF to ROI????
Next Topic: Problems with plotting in histogram mode

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

Current Time: Fri Oct 10 09:00:52 PDT 2025

Total time taken to generate the page: 1.03395 seconds