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

Home » Public Forums » archive » creating wrong TIFF file by ENVI_OUTPUT_TO_EXTERNAL_FORMAT
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
creating wrong TIFF file by ENVI_OUTPUT_TO_EXTERNAL_FORMAT [message #52465] Thu, 08 February 2007 08:59
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
I have trouble with ENVI_OUTPUT_TO_EXTERNAL_FORMAT

I created TIFF file but it's wrong image. It hold same dims, bands as
my pansharpening image. But image become so strange. I load it in
TrueColors in ENVI. It's become much BLUE color, and seems right part
of image
become the left part.

here is code

ENVI_DOIT,'ENVI_GS_SHARPEN_DOIT',FID=fid_src_mul, $
DIMS=mul_dims, $
POS=pos_mul, $
METHOD=0, $
OUT_NAME=full_file_name+'.IMG',$
INTERP=0,$
HIRES_FID=fid_Src_Pan, $
HIRES_DIMS=pan_dims,$
R_FID=pansharp_fid
;Creating TIFF
pos_mul=INDGEN(number_bands)
ENVI_FILE_QUERY,pansharp_fid,DIMS=pan_dims,NB=number_bands
ENVI_OUTPUT_TO_EXTERNAL_FORMAT,FID=pansharp_fid,$
DIMS=pan_dims, $
POS=pos_mul,$
/TIFF,$
OUT_NAME=full_file_name+'.TIF'
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: What are the errors in the FFT?
Next Topic: Arrays of Structures

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

Current Time: Wed Oct 08 17:37:02 PDT 2025

Total time taken to generate the page: 0.00565 seconds