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

Home » Public Forums » archive » Re: save image from ENVI to TIFF file
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: save image from ENVI to TIFF file [message #52195 is a reply to message #52194] Mon, 15 January 2007 02:39 Go to previous messageGo to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
here is my last variant for EXTERNAL_FORMAT and new variant for
WRITE_TIFF as recommended

;ENVI_OUTPUT_TO_EXTERNAL_FORMAT,OUT_NAME=full_file_name+'_MY _.TIFF',DIMS=pan_dims,$
; POS=pos_mul,/TIFF,FID=pansharp_fid

image=MAKE_ARRAY(number_bands,pan_dims[2],pan_dims[4],/BYTE)

FOR I=0,number_bands-1 DO BEGIN
image[I,*,*]=ENVI_GET_DATA(DIMS=pan_dims,POS=I,FID=fid_Src_m ul)
;image[I,*,*]=ENVI_GET_IMAGE(BAND_POS=I,DIMS=pan_dims)
ENDFOR
WRITE_TIFF,full_file_name+'_MY_.TIFF',image
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to highlight procedure and function names in idlwave-mode?
Next Topic: Re: accessing image data from Windows-clipboard

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

Current Time: Sat Oct 11 03:00:21 PDT 2025

Total time taken to generate the page: 1.75938 seconds