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

Home » Public Forums » archive » Re: Envi Users out there?
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
Re: Envi Users out there? [message #8986] Fri, 16 May 1997 00:00
i0l1 is currently offline  i0l1
Messages: 2
Registered: May 1997
Junior Member
David Fanning (davidf@dfanning.com) wrote:
: William Wei Liong Young writes:

: > I was wondering if there were any ENVI users out there who might be able to
: > give me some advice (ENVI is a tool developed on top of IDL).
: >

: s = SIZE(originalImage)
: tiffImage = Make_Array(s(1), s(2), /Byte, Value=255) ; Make it white
: tiffImage(roi) = originalImage(roi)
: TVLCT, r, g, b, /Get
: Tiff_Write, 'myfile.tif', tiffImage, Red=r, Green=g, Blue=b

Thanks very much for the tip David, I am attempting to do something similar.
I made a plain white Tiff file using:

tiffImage=Make_Array(500,350,/Byte,Value=255)
TVLCT,r,g,b,/Get
Tiff_Write, 'white.tif', tiffImage, Red=r, Green=g, Blue=b

Then I wanted to read in this file through ENVI, and then using ENVI load in
the *.roi file on top of the white tif file. However, when I load "white.tif"
with ENVI the image appears black. Any clues as to why?

Thanks again,
Will
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RSI and P6 flag erratum
Next Topic: Visualizing a 3D volume

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

Current Time: Wed Oct 08 16:01:14 PDT 2025

Total time taken to generate the page: 0.00658 seconds