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

Home » Public Forums » archive » ENVI: how to avoid stretching in image displays?
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: ENVI: how to avoid stretching in image displays? [message #40511 is a reply to message #40478] Mon, 16 August 2004 08:49 Go to previous messageGo to previous message
adam_e_oconnor is currently offline  adam_e_oconnor
Messages: 2
Registered: August 2003
Junior Member
ENVI's default stretch is 2% Linear, which explains the observed
behavior. You can view this setting by selecting "File > Preferences"
from the main ENVI menu and selecting the "Display Defaults" tab. If
you want to permanently turn off ENVI's automatic stretching you
actually should select "Linear Range" and enter "0" in the minimum box
on the left and "255" in the maximum box on the right. That way byte
values ranging from 0 --> 104 are actually displayed as 0 --> 104.
Simply changing the "% Linear" setting to "0.0" will eliminate the 2%
saturation, but there is still a linear stretch applied such that 0
--> 104 will be displayed as 0 --> 255, which is not what you want in
this case. You can confirm that your data values are being accurately
displayed by using the "Tools > Cursor Location/Value..." utility from
the menu system within any display window. The "Scrn: R: G: B:"
values should match the "Data:" value. Keep in mind that after you
make changes to the Preferences you must re-display any images that
are already open in order for the changes to take effect.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL with SRTM/hgt data
Next Topic: mpfit of parametric data?

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

Current Time: Fri Oct 10 08:23:49 PDT 2025

Total time taken to generate the page: 1.04077 seconds