X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05 Jan 2009 02:48 PM by  anon
ENVI programming - display window
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
05 Jan 2009 02:48 PM
    I am new to ENVI programming and am trying to run a program from the display window. For example, if I wanted to stretch an image, how would I indicate that I wanted the image that is opened in the current display window. I have been successful in adding the program to the display menu bar. Thanks! Christina

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    05 Jan 2009 03:02 PM
    You would use the routine, ENVI_GET_DISPLAY_NUMBERS, to get a list of the open displays (DN) and apply your stretch to this display.  You can also query the display using ENVI_DISP_QUERY and display an image using ENVI_DISPLAY_BANDS.
    You are not authorized to post a reply.