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

Home » Public Forums » archive » Re: How to programmatically access the Available Band List
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: How to programmatically access the Available Band List [message #65924] Thu, 02 April 2009 04:16 Go to previous message
Leonardo R. Sbaraini is currently offline  Leonardo R. Sbaraini
Messages: 26
Registered: October 2007
Junior Member
Hello Master!
Yeah, this line works but the file displaygroup.grp loads
automatically the 3 images. (when loaded by the user obviously).

See below its creation:

openw, fu, 'displaygroup.grp', /GET_LUN

printf, fu, '<ENVI Display Group Information>'
printf, fu, 'display data file = {'
printf, fu, '"' + strEnviFileRed + '",'
printf, fu, '"' + strEnviFileGreen + '",'
printf, fu, '"' + strEnviFileBlue + '"}'

printf, fu, 'display data bands = {1,1,1}'
printf, fu, 'display window style = 0'
printf, fu, ';'
printf, fu, 'image window location = {5,25,0}'
printf, fu, 'image window border = {0,0,0,0}'
printf, fu, 'image window border color = 0'
printf, fu, 'image window size = {400,400}'
printf, fu, 'image window upper left location = {0,0}'
printf, fu, 'image window current pixel = {10,10}'
printf, fu, 'image window menubar = 1'
printf, fu, 'image window scroll bars = 0'
printf, fu, ';'
printf, fu, 'zoom window location = {300,500,0}'
printf, fu, 'zoom window size = {200,200}'
printf, fu, 'zoom window factor = 4'
printf, fu, 'zoom window menubar = 0'
printf, fu, 'zoom window scroll bars = 0'
printf, fu, 'zoom window interpolation = 0'
printf, fu, ';'
printf, fu, 'scroll window location = {10,500,0}'
printf, fu, 'scroll window size = {256,124}'
printf, fu, 'scroll window menubar = 0'
printf, fu, 'scroll window factor = 112.97265625'
printf, fu, 'scroll image subset = {1,7101,1,3451}'
close, fu
free_lun, fu

The file must be loaded by menu ENVI/File/Restore Display Group :)

Thanks for answering, cya around !
[ ]'s
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Non-negative matrix factorization
Next Topic: Indexing arrays with arrays

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

Current Time: Thu Oct 09 12:56:59 PDT 2025

Total time taken to generate the page: 3.27810 seconds